The find command finds and lists files or folders with specified properties. In this case, they need to be a file (-type f), exactly 1033 bytes in size, and not an exectutable (! means not).
For each of these files, the command after -exec is executed. In this command, {} stands for the filename. You can run the command for every file. However, in this case, the + indicates that one single command is to be built from the filenames. So if the find command yields mytext1.txt, mytext2.txt and mytext3.txt, the resulting command would be
file mytext1.txt mytext2.txt mytext3.txt | grep ASCII

The file command determines the file type of the file, whether it is a text file, or a binary file, or an executable, etc. So the type of each of these is determined, and only the lines containing ASCII are returned by the grep command.
Please see man find, man file and man grep for an explanation of each of the commands in this oneliner.


Netplan error in network definition expected mapping

removing dhcp4 setting fixed the issue...who knows!

maybe because if you enable the dhcp you have to set it to "true" and if you disable you have to set to "no"? I really hope not!!

debug info completely useless


how to install linux leaveing my data intact

Based on this post: http://www.everydaylinuxuser.com/2013/09/install-ubuntu-linux-alongside-windows.html

Just boot your computer with Latest version of Ubuntu (current is 14.04 LTS), follow the install instruction.

At partition screen, choose Something else and install Ubuntu to free partition.


How can I remove duplicate versions of files starting with `._` created when moving files from PC to Mac?

You can remove files with rm, but as you already guessed that command has its risks. To prevent disasters there's the safe-rm package, so I recommend to install this first with:

sudo apt install safe-rm

It will automatically prevent you from removing anything important to the system.

Now to list every file beginning with ._ in the current directory do:

ls -1 ._*

To remove all files beginning with ._ in the current directory asking for every single one do:

rm -i ._*

To remove all files beginning with ._ in the current directory without asking – Caution! – do:

rm ._*

To do this recursively you can use the extglob functionality which needs to be enabled using shopt -s extglob (once per terminal window where you want to use it). After that you can do

rm -i **/._*

and it will remove every ._ file in the current directory as well as its subdirectories (and ask for every single one, you guessed it).

The asterisk * is a special character to the shell and simply matches any string, so ._* matches any file beginning with ._. The globstar pattern ** followed by a / matches directories and subdirectories and needs the extglob option, which is not enabled by default.


Ubutu 18.04 mkvirtualenv distutils.sysconfig problem

The one concern I have is that you appear to be running a version of python newer than what is shipped which could be causing the issues, but for a stock install the following steps should get it working for you.
Make sure you have installed the virtual tools
sudo apt install virtualenv virtualenvwrapper

Source the wrapper script
source '/usr/share/virtualenvwrapper/virtualenvwrapper.sh'

mkvirtualenv should work now.


Battery drain when HP laptop is shut down from Ubuntu, but not from Windows

Another user with an HP Pavilion was loosing 10% battery overnight. Apparently there was no BIOS configuration for Wake-on-LAN and they had to use this method:

$ sudo lshw -class network | grep logical
       logical name: enp59s0
       logical name: wlp60s0

The logical name starting with e is for Ethernet which means "LAN". The logical name starting with w is for WiFi which is of no concern.

Then take the Ethernet/LAN logical name and pass it to the ethtool command:

$ sudo ethtool enp59s0
Settings for enp59s0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Advertised pause frame use: Symmetric
    Advertised auto-negotiation: Yes
    Speed: 1000Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    MDI-X: Unknown
    Current message level: 0x000060e4 (24804)
                   link ifup rx_err tx_err hw wol
    Link detected: yes

In my case "Wake on LAN" is not turned on but if yours shows:

    Wake-on: g

That means "Wake-on-LAN" is turned on and like the OP is loosing `0% battery per night you are loosing the 5% per day.

To turn off "Wake-on-LAN" the OP used:

sudo ethtool -s enp59s0 wol d

Remember to substitute enp59s0 with your logical name from step 1. above.
wol stands for "Wake-on-LAN".
The d stands for disable.

ArchLinux has an extensive write-up about Wake-on-LAN.

Why would you use "Wake-on-LAN"?

Some servers will want to wake up client PCs overnight and install new programs on them overnight or update files.

USB turned off in Windows, left on in Ubuntu

A user on Tom's Hardware reports that when Windows shuts down all USB powered devices power off. However when Ubuntu 16.04 shuts down USB powered devices stay powered on.

To confirm if this is happening in your case, attach a USB powered device such as a Cell phone or mouse to all USB ports and see if they are powered when Ubuntu shuts down the computer.

Less likely scenerios

Wake on USB
Wake on Wireless LAN

Review shutdown log

I've experience during suspend the system doesn't finish the process. When the system resumes it completes the process. You should check your /var/log/syslog or /var/log/syslog.1 to ensure everything shutdown properly and was powered off. You can also check journalctl -b-1 to look at end of previous boot. Use journalctl -b to look at start of current boot.

Background: systemd suspends system but upon resume kernel then enters sleep and wake-up


Can't access bios, boot from usb, no grub, after installing Ubuntu 18.04 LTS

The Grub menu appears when press & hold the shift key on boot

Keep hitting Shift until you see "Grub Loading Message"
After the message, hold the Shift down until the menu appears.

Windows 10 does not shutdown but hybrid-shutdown and, then, F1 and F12 keys to Bios have no effect. Real shutdown of Win10 is available with shift+click on shutdown button

See here how to disable this Windows 10 'feature' :
https://www.tenforums.com/tutorials/4189-turn-off-fast-startup-windows-10-a.html


Errors with iptables/ipset (operation not permitted) while trying to block Chinese IPs

Did you run the script with privileges? Operation not permitted is usually a need for more privileges. It is a Kernel error so you either need to be root or have kernel permissions to do this. (I forget the name of the kernel permission that would be required)

sudo /etc/block-china.sh

or

su -c 'sh /etc/block-china.sh'


How to know if graphics card is supported on Unity?

According to this Romanian Website, you should be good!

EDIT: Model number on the laptop itself is slightly different, but the graphics card is the same model so laptop model shouldn't make any difference.

EDIT 2: So, it was clarified that this is a certified (pre-installed) rather than a certified installation, meaning there could have been modifications done the standard Ubuntu image, such as custom drivers. So, you should be okay, but as the comments on the original question indicated, it would be best to try with a LiveUSB first because one of those modifications could have been a custom driver for the graphics.


Grub2 detecting two Windows 7 (loader) entries

A quick solution if sda is a external drive

I don't know whether your /dev/sda hard drive is an internal or an external drive. If it is an external drive, Unplug the external drive before running update-grub2 command. This should help quickly.

Solution:

Mount the /dev/sda1 drive. (I assume you can do that very easily). Then in that drive look for a folder named Boot and a file named bootmgr. Remove both the folder and file. Then run update-grub2 command again.

You might want to install grub2 again. As I see your Ubuntu installation is at /dev/sdb, the commands will be

sudo grub-install /dev/sdb
sudo update-grub

What was the cause of the problem:

Grub2 looks for the Windows boot files for detecting Windows entries. Though you removed Windows 7, the Windows 7 boot files aren't removed (which are "Boot" folder and "bootmgr" file). And as Windows 7 boot files are there, grub2 simply assumes that, there are Windows 7 installation also. Hence the dual entry.


How to use Firefox from 18.04 repositories in Ubuntu 20.04?

In /etc/apt/sources.list.d/ add bionic sources, so it will be easier to remove it. To do this, create the file /etc/apt/sources.list.d/bionic.list with the following contents.
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse

create /etc/apt/preferences.d/bionic.pref
#preference for firefox from bionic

Explanation: Allow installing firefox from bionic
Package: firefox
Pin: release a=bionic-updates
Pin-Priority: 1101

Explanation: Avoid other packages from the bionic repo.
Package: *
Pin: release a=bionic
Pin-Priority: 1

Proceed with
sudo apt update

first simulation, because I don't no if some ppa's included in your system.
apt -s full-upgrade
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be DOWNGRADED:
  firefox
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Inst firefox [84.0+build3-0ubuntu0.20.04.1] (84.0+build3-0ubuntu0.18.04.1 Ubuntu:18.04/bionic [amd64])
Conf firefox (84.0+build3-0ubuntu0.18.04.1 Ubuntu:18.04/bionic [amd64])

Then run sudo apt full-upgrade
to install firefox from Ubuntu 18.04.


The package you're looking for is notify-osd.

Installation:

Open a terminal (Ctrl+Alt+T).
Run the following command:

sudo apt-get install notify-osd

Usage:

You can run it using notify-send.

For example, to make a notification:

notify-send <message>

where <message> is the message you'd like in the notification.

So, if you write notify-send "Hello World", the output would be something like

There are plenty of other options which you can read on the man page.

  -u,  --urgency=LEVEL  Specifies  the  urgency   level   (low, normal, critical).

  -t, --expire-time=TIME
                Specifies  the  timeout  in  milliseconds at which to expire the
                notification.

  -i --icon=ICON[,ICON...]
                Specifies an icon filename or stock icon to display.

P.S.: If you'd like to modify the notifications, here is an answer that does just that.


You need the Gnome package as well. So the magical incantation is this:

sudo apt-get install network-manager-vpnc-gnome

Then you can simply add a VPN connection by launching the configuration of Network Manager and importing a .pcf file with the settings. Or by using a drop-down dialog in the settings of Network Manager and adding the required information. Easy as pie...


How can contacts and calendars be synchronised?

It is possible to sync your Official Aquaris Ubuntu Edition with e.g. Owncloud using CardDAV. This is what I did (see wiki.ubuntuusers.de for source):

First I added the certificate of my site to the folder /usr/share/ca-certificates and updates the ca-cert database, since it is self-signed:

sudo mount /dev/loop0 / -o remount,rw
sudo cp /home/phablet/Downloads/server.crt /usr/share/ca-certificates

Add a star to the new certificate while running the configuration

sudo dpkg-reconfigure ca-certificates

Add the syncevolution configuration:

syncevolution --keyring=no --configure --template webdav username=<USERNAME> password=<PASSWORD> syncurl="in-its.de/owncloud" target-config@owncloud
syncevolution --configure --template SyncEvolution_Client sync=none syncURL=local://@owncloud username= password= peerIsClient=1 owncloud
syncevolution --configure database=https://<SERVER>/owncloud/remote.php/carddav/addressbooks/<USERNAME>/contacts backend=carddav target-config@owncloud contacts
syncevolution --configure sync=two-way backend=contacts database="Persönlich" owncloud contacts

Run sync:

syncevolution --sync slow owncloud contacts

That made all my Owncloud contacts available on my Ubuntu Phone.

And CalDAV works similar:

syncevolution --configure database=https://<SERVER>/owncloud/remote.php/caldav/calendars/<USERNAME>/personal backend=caldav target-config@owncloud calendar
syncevolution --configure sync=two-way backend=events database="Persönlich" owncloud calendar

And then sync it:

syncevolution --sync slow owncloud calendar

So CalDAV and CardDAV are working!


The Snap verison of GIMP doesn't "see" recent files

I used to have the same problem with a flatpak version, which I solved by replacing the ~/.local/share directory in the flatpak filesystem by a softlink to my real ~/.local/share. The "recent files" list is actually in ~/.local/share/recently-used.xbel but you cannot link only the file because it is updated by copy/erase/rename and a link to the file wouldn't survive long.
I eventually ditched the flatpak version because it had other restrictions I could not live with (no access to removable media, and at the time, no access to the real /tmp (had its own... so I could not use Gimp from other apps that share files by putting them in /tmp (screen captures, etc...)).


OpenConnect not shown as an option in Network Manager in 20.04

Even though this is a little older, the answer in case someone needs it:
Something in the system update borked things up, you need a clean install
Remove:
sudo apt update
sudo apt-get --purge remove openconnect network-manager-openconnect network-manager-openconnect-gnome
sudo apt autoremove

Reinstall:
sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome


On kubuntu (KDE) all desktop icons can be moved, but not configured. They show a black lock across

I'll only address the desktop icon issue here.

Let's say you drag a .desktop file from /usr/share/applications to your Desktop surface. When you release the mouse, you'll see a small window with the following options (among others):

Copy Here
Link Here

If you choose Copy Here, the text for the resulting icon will be normal and there won't be what you refer to as a "lock" sign. But there maybe an exclamation mark indicating that you need to right-click on the icon and change its permission to Executable. Now, if you double-click the icon, the respective application will launch. Such a desktop icon can be further edited.

If you choose Link Here, your desktop icon will have italic text, the lock symbol and can't be edited. But you won't need to change any permissions. This is because what you've done is to create a symbolic link. And in Kubuntu, symbolic links are shown in italics.


It seems that you have a problem with your system's fonts. Try reinstalling the font. You can see a guide to this here.

You can also try this:

sudo apt-get install msttcorefonts
sudo fc-cache -fv

This post seems very similar to yours (I would say is duplicated).

Best regards,


Owner - thunar with user permissions shows owner is root and with root shows owner is user - why?

I ran into the same problem today, using Ubuntu Studio 18 and Thunar 1.6.15, but what I found out is that Thunar 1.6.15 seems to be affected by a bug in glib. This bug is said to be fixed in glib-2.55 (see here).

However, to my understanding it seems that the fixed glib is not implemented in Thunar 1.6.15, but in v. 1.8.3, which is not available in Studio 18.

There is a way to install this via the experimental ppa at your own risk (see here).

The only way to solve the problem in Thunar 1.6.15 is to use killall Thunar (see here).


It looks like you have removed the Window List Applet:

If the panel is still there, right click on it and select Add to Panel, then choose Window List and click add.
If the panel is gone completely, click the upper one and select New Panel first.

The default widgets on the bottom panel are, in order: Show Desktop, Window List, Workspace Switcher and Rubbish Bin.


How to install the printer driver for Canon image running 2520 in Ubuntu 13.10

Download 2.70 driver: http://support-au.canon.com.au/contents/AU/EN/0100270808.html
Uncompress the Linux_UFRII_PrinterDriver_V270_uk_EN.tar.gz
Open a terminal, enter the commands (for example for 64-bit system):

cd path/64-bit_Driver
sudo su
dpkg -i cndrvcups-common_2.70-1_amd64.deb
dpkg -i cndrvcups-ufr2-uk_2.70-1_amd64.deb
/etc/init.d/cups restart
/usr/sbin/lpadmin -p CANON-iR2520 -m CNCUPSIR2520ZK.ppd -v lpd://192.168.0.8/CANON-iR2520 -E

Please read the README-ufr2-2.7xUK.txt for different printer models.

/etc/init.d/cups restart

Open a browser at //localhost:631, and add the printer.


How can I make and distribute an Ubuntu screensaver?

A screensaver in Linux is a pretty simple thing made up of two key parts:

A graphical application that renders the images.
A .desktop file pointing to that application.

I'm not sure what end-result you're trying to achieve so I'll start in reverse. The .desktop files for existing screensavers live in /usr/share/applications/screensavers/. Here's ubuntu_theme.desktop for an example of what you're aiming for:

[Desktop Entry]
Name=Floating Ubuntu
Comment=Ubuntu logo floating around the screen
Exec=floaters /usr/share/pixmaps/ubuntu-screensaver.svg
TryExec=floaters
StartupNotify=false
Terminal=false
Type=Application
Categories=GNOME;Screensaver
OnlyShowIn=GNOME

If you want to float a different image around, you could just clone the launcher, and replace /usr/share/pixmaps/ubuntu-screensaver.svg with your own image (use SVGs where possible as they scale a lot better).

If you want to write your own binary for a completely custom screensaver, you should probably start here: http://www.dis.uniroma1.it/~liberato/screensaver/

It uses very simple X graphics to do some pretty simple things. You can pimp it out with OpenGL but it's important you get the basics laid out first.

Once you're done, packaging is its whole set of problems but for a very simple package, you can quickly bang a package out following something like this: https://help.ubuntu.com/community/PythonRecipes/DebianPackage

But if you're serious about distributing this to lots of people you probably want to start with a PPA (a private repository). You can read about PPAs, building source packages, the build process, etc on LaunchPad's help system.


Canon printer on a Windows share not working

Upon further research, Canon do in fact do their own drivers for both the printer and the scanner of the MG5250, so I decided to give that route a go.

Admittedly, it's not the same route to the printer (i.e via a windows share) but instead directly via wi-fi on the network. Something I opted not to do initially due to poor performance issues under windows.

I got drivers and instructions from
http://software.canon-europe.com/products/0010889.asp

Performance seems ok. Both scanner and printer working now.God bless Canon, if only more manufacturers supported Linux!


How do I get rid of the groups in the contact list in Empathy?

Open the terminal and type:

sudo apt-get install dconf-tools

Then:

dconf-editor

Browse according to this list:

org

gnome

empathy

ui

Unpick show-groups.


Filenames cause wrong order when using mencoder to create a video from a sequence of pictures

Via

mencoder mf://video{000001..100000}.jpeg -mf fps=50 -ovc copy -oac copy output.avi

But there could be an error, if the list is too long, eg video{00000000..10000000}.jpg

argument list too long: touch

Therefore it's better to create a sorted list

find . -type f -name 'video*.jpeg' | sort -V > list

and use the list

mencoder mf://@list -mf fps=50 -ovc copy -oac copy output.avi


You should have 2 connections from your server to the switch.  One for ILO and the other like Eth0  In your boot up Ilo config screen, you should see the ip address that it has been assigned.  ILO is totally separate from the software side of the server.  I am thinking that you need to install a ethernet cable to your eth0 connection and retry.
My Ilo uses port 443 passthrough BTW.


Connect raspberry pi 4 with ubuntu server to wifi

It works updating /etc/netplan/50-cloud-init.yaml
Adding those lines to network
wifis:
    wlan0:
        optional: true
        access-points:
            "SSID-NAME":
                password: "WIFI-PASSORD"
        dhcp4: true

Then
$ sudo netplan --debug try
$ sudo netplan --debug generate
$ sudo netplan --debug apply

and finally reboot
$ sudo reboot


Give subpartition more space Ubuntu Server

If the volume group is already defined as being 2.7TB in size, you can extend the logical volume and allocate everything with just four commands. Here’s how:

Open Terminal, if it’s not already open
Extend) the logical volume by telling the LVM that the physical partition size has changed:
sudo pvresize /dev/sda3

Find the actual path of the LVM logical volume:
sudo lvdisplay

Instruct the LVM to extend the logical volume to use all of the new partition size:
sudo lvextend -l +100%FREE /dev/ubuntu--vg/ubuntu--lv

Note: Be sure to change the path to match the proper one from point 2.
Resize the file system to use all of that new space:
sudo resize2fs /dev/ubuntu--vg/ubuntu--lv

This should give you a 2.7TB ext4-formatted partition


As @kulfy and @steeldriver said, move the program into main file system and run

chmod +x FILENAME

and as I said I did not come up with this, @kulfy and @steeldriver did.


Cant boot Ubuntu 14.04 after dual boot with fedora 23

Fedora 15 still uses grub legacy for boot, and it overwrites Ubuntu's Grub 2 boot loader and menu. And Grub legacy does not find Ubuntu install out-of-the-box.

To restore Ubuntu's boot, all you have to do is re-install grub2.

Do this:

Boot using Ubuntu's Live CD
Open Nautilus, and double-click Ubuntu's partition. Take note of its mount point directory (if you labeled the partitions, it will be something like /media/label
Now open terminal and issue:

sudo grub-install --root-directory=/media/your-ubuntu-label /dev/sda

You may boot into Ubuntu now.

If you want to add Fedora 15 to Ubuntu's (grub2) boot list, do this:

sudo update-grub


Trouble running program after successful install

I think your problem's not about a variable environments, i tried with following :

Extract the .tar of VAM6 package

$ tar -xvf virtualmoon-6.0-linux.tar
  vmapro_install.sh
  licence
  virtualmoon-data-6.0-linux_all.tgz
  virtualmoon-6.0-linux_x86_64.tgz
  virtualmoon-6.0-linux_i386.tgz
Extract the .tgz file to get the data of VAM6

$ mkdir -p VMA6 && tar xzvf virtualmoon-6.0-linux_x86_64.tgz -C VMA6
  bin/
  bin/atlun
  bin/weblun
  bin/datlun
  bin/photlun
  bin/cclun
  lib/
  lib/libvma404.so
  share/
  share/applications/
  share/applications/cclun.desktop
  share/applications/virtualmoon.desktop
  share/doc/
  share/doc/virtualmoon/
  share/doc/virtualmoon/copyright
  share/doc/virtualmoon/changelog
  share/virtualmoon/
  share/virtualmoon/language/
  share/virtualmoon/language/photlun.en.po
  share/virtualmoon/language/cclun.fr.po
  share/virtualmoon/language/datlun.fr.po
  share/virtualmoon/language/cclun.en.po
  share/virtualmoon/language/maplun.en.po
  share/virtualmoon/language/weblun.fr.po
  share/virtualmoon/language/maplun.fr.po
  share/virtualmoon/language/vmadatabase.en.po
  share/virtualmoon/language/photlun.fr.po
  share/virtualmoon/language/datlun.en.po
  share/virtualmoon/language/weblun.en.po
  share/virtualmoon/language/vmadatabase.fr.po
  share/virtualmoon/data/
  share/virtualmoon/data/country.tab
  share/virtualmoon/data/retic.cur
  share/pixmaps/
  share/pixmaps/cclun.xpm
  share/pixmaps/virtualmoon.xpm
Install it using .sh script

$ sudo ./vmapro_install.sh
  Virtual Moon Atlas
  You can use this script without parameter for the initial installation
  of virtualmoon-6.0 or give the name of the additional file to install: sudo ./vmapro_install.sh PictureApollo.tgz
  Installing /home/praz/Downloads/virtualmoon-6.0-linux_x86_64.tgz
  Select installation directory [/usr/local] :/usr/local
  Now installing Virtual Moon Atlas to /usr/local
  Are you sure? [y,n] :y
  Installing /home/praz/Downloads/virtualmoon-data-6.0-linux_all.tgz
    libvma404.so (libc6,x86-64) => /usr/local/lib/libvma404.so
  Installation successful
  Then run Virtual Moon Atlas with the following command:
  /usr/local/bin/atlun
  Or the Command Center with the following command:
  /usr/local/bin/cclun
I choose to installation directory on /usr/local, finally open your VAM6 using :

$ /usr/local/bin/atlun
  Init OpenGL
  Check Acceleration
  Check texture size
  Texture max: 16384
  Check Bumpmap
  Driver: INTEL OPEN SOURCE TECHNOLOGY CENTER MESA DRI INTEL(R) BAY TRAIL
  GL_ARB_texture_env_dot3 OK
  GL_ARB_fragment_program OK
  SetBumpMethod
  Check MultiTexture
  InitLabel
  InitSprite
  Init OpenGL OK

The VAM6 package will appears daemon like

Hope this helps.


Ubuntu 16.04.1 freshly installed loops on login

I just reported the bug in Launchpad — actually someone else did this in June, I just added me in the queue, so that the bug become "Confirmed" from the "New" status.

(https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361/+bug/1594586)


Ubuntu crashed once shortly after partitioning during install. My second attempt was successful, but I have some concerns

If your system boots, the operating systems residing in each partition will likely automatically check the hard disk for corruption. The partition table is clean, and if you really want to check everything out, you can run fsck to check for filesystem troubles.

Assuming you only wanted 4 GB for Ubuntu, it all looks alright. That's a small allocation, though, and you might run into trouble installing the packages you want.


The version of libtiff4 that you are trying to install is no longer supported by Ubuntu, however newer versions of libtiff4 are available. A list of the versions of libtiff4 that are available for all versions of Ubuntu, sorted by Ubuntu release names, can be found here.

You can find the version of libtiff4 that matches your system by opening the Ubuntu Software Center and typing "libtiff4" in the search box.

In Ubuntu 14.04-20.04 the libtiff4 package has been replaced by libtiff5.


I messed up ocamlfuse by using sudo command "Error: Sqlite3 error: READONLY"

Run:

sudo chown -R your-username.your-username ~/.gdfuse

This will change the permissions of ~/.gdfuse/default/cache/cache.db back to your user's and then you can perform the command.


how to modify NoMachine (client) application language?

You appear to have English in your locale settings. You don't mention what language it is you are seeing instead of English.

To change the language in the client application is easy:

Open the GUI on the machine you are connecting from.
Click settings.
Click Appearance.
Choose your language.

There is a useful tutorial on the NoMachine website which may help you: https://www.nomachine.com/customizing-appearance-nomachine-gui


How do I partition an SD card with "disk utility"?

I suggest you following steps because a file system across the entire SD Card.

First, Backup files.

You must backup your datas from your SD Card to any other volume.

Second, Use fdisk command.

Press Ctrl+Alt+T.
enter following commands.

$ sudo umount /dev/sdb
$ sudo fdisk /dev/sdb
Command (m for help): o
Command (m for help): w

Third, Rerun disk utility.


Apparently I put wrong ip address in one of the place. Checked it again and the issue got fixed.


How to prevent wrong audio file tag encoding after using SoX?

You can use mid3iconv tool after SoX:

find -iname '*.mp3' -print0 | xargs -0 mid3iconv -eCP1251 --remove-v1

Additional information is here: http://www.linuxrussia.com/2013/05/easy-tag-ubuntu.html.


This may have been caused by an incomplete download of your copy of the ISO file.
To prevent this in the future, i suggest you to hash-check your download and compare it with the hash here: https://help.ubuntu.com/community/UbuntuHashes

Check the iso-file with this program: http://download.cnet.com/HashCalc/3000-2250_4-10130770.html

Good luck!


Low internet speed when adding bridge interface

I enabled eth1 in /etc/network/interfaces (removed comments) and problem resolved. This prevents NetworkManager to manage eth1.


Changing default directory for debhelper while packaging (.deb)

You need to set --sourcedirectory instead of --builddirectory on dh $@ call, it will affect all dh_auto_*. So you may remove those overrides.

BUILD SYSTEM OPTIONS
       The following command line options are supported by all of the
       dh_auto_* debhelper programs. These programs support a variety
       of build systems, and normally
       heuristically determine which to use, and how to use them. You
       can use these command line options to override the default
       behavior.  Typically these are passed to
       dh(1), which then passes them to all the dh_auto_* programs.

   -Ddirectory, --sourcedirectory=directory
       Assume that the original package source tree is at the
       specified directory rather than the top level directory of
       the Debian source package tree.

   -B[directory], --builddirectory=[directory]
       Enable out of source building and use the specified directory
       as the build directory. If directory parameter is omitted, a
       default build directory will be chosen.

Source: man debhelper

NOTE:

Avoid using hard-coded paths

Example /usr/local, Use instead $prefix variable. autotools have /usr/local as default, debhelper reset to /usr (No need to set manually)

Suggested fixes:

spamdyke/Makefile.in define prefix and change symbolic link target.

prefix := @prefix@
...
install: spamdyke
        mkdir -p ${DESTDIR}$(prefix)/bin/
        cp spamdyke ${DESTDIR}$(prefix)/bin/spamdyke-@PACKAGE_VERSION@
        rm -f ${DESTDIR}$(prefix)/bin/spamdyke
        ln -s $(prefix)/bin/spamdyke-@PACKAGE_VERSION@ ${DESTDIR}$(prefix)/bin/spamdyke

debian/rules remove the override

#!/usr/bin/make -f
export DH_VERBOSE=1

%:
        dh $@ --sourcedirectory=spamdyke

Reference: GNU Coding Standards


Ubuntu 16.04 prevent sleep while NFS share is accessed

Thank you for the pointer to xset s reset user.dz!

One can use netstat -an | grep serverip:nfsport to get all active (mounted) NFS shares. If this command outputs nothing the server can shutdown without interrupting any user.

Using the standard power settings to automatically suspend and a simple script (see below) that is run periodically with a cronjob I can achieve my desired behaviour.

#!/bin/bash
if [[ $(netstat -an | grep 192.168.178.22:2049) ]]; then
    env DISPLAY=:0 xset s reset
fi

This script runs the mentioned command and checks if any output is generated. If that is the case (at least one NFS share is mounted), the idle time is reset and therefore the suspend canceled.

192.168.178.22 is the IP of my NAS and 2049 is the standard NFS port.


About removing older kernels: you may use command sudo apt-get autoremove, which removes stuff you installed, but is not needed any more (like old kernels or dependencies of software you removed later).

About finding the culprit of your inode use, you could use du to find out where they went, like so: du -s --inodes /*. It will tell you the inode use of directories and files found in /; note, though, that directiries and files, that start in a dot, won't get included in this search, because theis is how * works. There are many ways to get around this, one would go like this: du -s --inodes $(find / -maxdepth 1). You continue your exploring by replacing / with those directories, where you find too many inodes used.

TomTomTom


I looks like your elf is missing debugging symbols. Maybe its just compiling with

g++ -g -rdynamic -o main main.cpp


Problem on LTSP Thin Client Startup with Edubuntu 14.04

The problem has been solved by changing 'quiet splash' with 'quiet splash nomodeset' inside /opt/ltsp//boot/pxelinux.cfg/ltsp and running ltsp-update-kernels.


What do the 6 different "Path" options do in Inkscape?

The Union Option:

Here we see the 2 paths become 1. The colour is taken from whichever shape is on top.

The Difference Option:

In this one, whichever image is on top has it's shape "removed" from the one below (like cookie dough cutter). The colour is taken from whichever shape is on the bottom.

The Intersection Option:

The overlap is the only bit kept here. If there is no overlap, nothing will be left over. The colour is taken from whichever shape is on the bottom.

The Exclusion Option:

In this one the overlap is removed, and the rest is kept. The colour is taken from whichever shape is on the bottom.

The Division Option:

This is like using the Difference Option and the Intersection Option one after the other. It creates 2 shapes. The colour is taken from whichever shape is on the bottom.

The Cut Paths Option:

This one is quite messed up. When I first did it, the results were completely transparent. However, on the left we have a whole square (no change) and on the right we have a circle cut into 2, like the Division option.

My pronouns are He / Him


How to upgrade from Ubuntu amd 64bit to intel 64bit?

AMD were first to produce a commercial 64bit CPU architecture aimed at normal users rather than the server market. As a result, amd64 has come to be used to mean any 64bit architecture. There is no such thing as intel64, the possible names are x86-64,x86_64,x64, and AMD64x86_64 but they all refer to the same architecture.

You can test this by running uname -m. On my system, for example, with an intel i7 CPU, I get:

x86_64

So, any issues you are having are not because you installed the wrong version. I suggest you post a new question, explaining your issues and we'll see if we can figure it out.


How to install a list of programs in a .txt file automatically through a terminal

xargs -rxa files_to_install.txt -- sudo apt-get install --

will work.


Installing ubuntu on Lenovo Thinkpad T440s

No, you can't create installation media from the recovery partition.
If you install Ubuntu and obtain Windows 7 installation media, you can use the license key that came with your ThinkPad to install that.  There is no bloatware on the official install media.
a) Take out the battery and look under that, or look in the documentation.

b) Install Windows first, then Ubuntu should detect it and you'll be able to choose from both.

c) The installer's really easy, just follow the prompts.


Error installing cinnamon desktop package

You need to do sudo apt-get update to update your sources list, if you did that please include that step in your question, without it it wont work.

The steps to use an additional source is:

Add the source
Update your lists with sudo apt-get update
Install packages with sudo apt-get install foo1 foo2 foo3

I have looked at that PPA and cinnamon-session cinnamon-settings packages do not exist, cinnamon is the only one you need to install.

Linked AskUbuntu! question:

How do I install the Cinnamon Desktop?


How to get a window from a remote box, command line only?

Do the following to get it running on your VPS. Once you SSH in, do the following:

sudo apt-get install vnc4server openbox
vncserver # enter password, verify
vncserver -kill :1

Now open up ~/.vnc/xstartup, comment out the last line x-window-manager & and insert openbox-session & instead.
Start VNC with vncserver -- ensure port 5901 incoming is open if you have a firewall enabled.
Connect to display 1 (or port 5901) with any VNC client. You'll get the gray openbox-session background along with a default xterm and some VNC options:

Start your programs which need a GUI, etc. Right-clicking anywhere will let you open more terminals. You can change the default terminal to something other than xterm by installing another terminal emulator. I recommend sakura as it's lighter than installing gnome-terminal, etc.


There is no official PowerPC support in Ubuntu since 7.04.

Unofficial ports are made exclusively by volunteers, and always lag a bit behind. So I guess you just have to be patient.


Installing Conky and get this " Configuring ttf-mscorefonts-installer?"

Press TAB, "OK" will become highlighted. Hit Enter.

ok this packge was needed for conky style

you can open terminal and install it manual:

sudo apt-get install ttf-mscorefonts-installer

press ok on agree "END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE"

then back and install conky


Configure light-locker for xubuntu 18.04?

Turns out this a reported bug in the proprietary NVidia proprietary drivers: https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1760068.


Touchpad buttons have stopped working on Dell laptop

You should see a check box under the mouse settings to enable and disable the touch pad.
see here


Download a flash video (not from a popular video community)

Using Firefox with the FlashGot!  Firefox add-on has worked well for me. Wikipedia's  FlashGot article also lists some alternatives.


Is there an applet like Haste but for images?

Open Shotwell digital photo organizer application and select an image to publish in the Shotwell library or add an image to the library and select it.
From the Shotwell menu select File -> Publish to publish the image or click the Publish button in the bottom toolbar.
Image hosting websites can be added to the Publishing list by selecting Edit -> Preferences -> Plugins tab -> check the checkbox to the left of the selected website as shown in the screenshot.


How do I disable a keyboard shortcut without compiz-manager?

I now found out the solution. You have to change they keys from Alt to Super. The command is as follows:

gconftool-2 --set --type string /apps/metacity/general/mouse_button_modifier '<Super>'

It works for me.

I found the solution from the question can I disable the Alt + Windows + Right Click behaviour for editing panels in Gnome Classic.


Unlikely. This has been discussed on several threads at https://discourse.ubuntu.com/
While it's possible to install Ubuntu Desktop on a Pi (you did), you probably also noticed that the Gnome Shell experience is, well, sluggish.
That's not a lack of support. That's a hardware limitation.

Note that the present inability to boot from a LiveUSB is not a lack of support. That's a kernel bug (being fixed).


ScriptAlias directive is missing a space and a "/". Change to:

ScriptAlias  /cgi-bin/ /var/www/cgi-bin/

and remove "<br>" from the Options directive.


Is there a way to mimic "click and drag" using the keyboard?

Using xdotool

Not really convenient, but possible: with xdotool, you can simulate mouse- and keyboard events:

Install xdotool:

sudo apt-get install xdotool

Now you need to add two keyboard shortcuts; one to simulate pressing the left mouse button, and one to release it:

Choose: System Settings > "Keyboard" > "Shortcuts" > "Custom Shortcuts". Click the "+" and add the command:

xdotool mousedown 1

to (e.g.) Super + ,

and

xdotool mouseup 1

to (e.g.) Super + .

Now you can drag by placing the cursor on the item, press Ctrl + ,, move the item and press Ctrl + . to "drop" the item.


'[Error writing /filename: Permission denied]' while trying to save a file using the nano editor

Well, you don't have the rights to write that file. Use

sudo nano [filename]


Ubuntu 16.04 doesn't see system settings changes

Found a fix for this one!
When I launched gedit using terminal I saw a warning: "GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications."
And then I remembered that recently I updated my GLib for Midnight Commander installation. Searched askubuntu and found this thread: My dconf/gsettings installation is broken. How can I fix it without Ubuntu reinstall?
Top answer did the trick, so consider my problem solved.


Try booting up using the "recovery mode" option. Then get the official drivers from http://www.nvidia.com/Download/index.aspx?lang=en-us (It's the GeForce 500 drivers)

Check out the comment to my answer here: Upgrade of nvidia graphics adapter fails on Lucid Lynx, low resolution only, no driver?

He points to a good page about how to get the drivers working

If you have to you can install the lynx text browser to navigate to those places. It's not fancy, but it gets the job done in a terminal.
If this doesn't work try making a new partition and install it on that partition. If that doesn't work download ubuntu 11.10 again and install it from that.


Skype messages sent when I was offline not delivered immediately

Skype is p2p, so both uses have to be online for a message to be shared. Read more here. The operating system doesn't really matter (note that the forum link is for windows)


This was tested on 13.10+, type the following on the terminal:
sudo dpkg-reconfigure keyboard-configuration

You will see the keyboard configuration. Press ENTER 5 times to skip all keyboard related options except for the Kill X part. When you get to the Kill X option which looks like this:

Select YES and press enter. Wait a bit while everything configures and after that you should have the ability to CTRL+ALT+BCKSPC right on the current session. After saving any work you have pending, try it yourself.
Perfect to solve any visual issues or annoying apps.
Thank you @david-c it also looks like this works:
Sudo Edit the /etc/default/keyboard file and add the line XKBPTIONS="terminate:ctrl_alt_bksp" to it, so it looks something like this:


Even though you are asking specifically for OO, I will suggest you to use LibreOffice 3.3 which is based on OpenOffice 3.3 and backed by Google, Canonical and others.
You can install by following these instructions:

How to install LibreOffice? (replacing OpenOffice.org)

Ubuntu has already started testing it in daily builds of Natty.


How to stop autostart of an installed program?

According to the additional data from your comment I suggest to leave the script there but to deactivate it this way:

sudo chmod -x /etc/udev/rules.d/50-Huawei-Datacard.rules

Usually this should be enough to prevent an autostart.


Save more energy on Ubuntu + XPS13 in Standby mode

In your case "s2idle" sleep mode is active and intended but you probably should have "deep" active. There is a bug with the s2idle mode. This should be fixed with kernel version 5.3. To switch to deep sleep mode, do

sudo nano /etc/default/grub

and change

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

with

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep"

and reload it with

sudo update-grub

Then reboot and try suspend again. You can do these from command line:

systemctl suspend

and/or

systemctl hibernate


It's tested on a different Ubuntu version, so may not work; why not try to download the source & compile that - several things may happen:

It works, just like that!
It gives a useful error report during compilation, pointing you to
other things you need installed (probable)
It causes further questions..

Also I note there's a possibility you may need to "Activate the module" for Xorg - did you follow that link & try it?

And finally, you did try running it sudo as it says?


How can I enable two installed versions of Ubuntu to use a common swap space?

If the 10.04 is already installed, then the answer is no. It will not automatically use the swap partition. You have to manually add the partition to your fstab file. See the following for how to do that:

How do I add a swap partition after system installation?

https://help.ubuntu.com/community/SwapFaq#How_do_I_add_more_swap.3F (section "Activating the swap partition")

If the 10.04 is not installed yet, you can configure it to use the pre-existing swap partition during installation (you have to select the manual partitioning option to do that).

Important: be careful as the current implementation of hibernation (suspend to disk) in Ubuntu uses the swap partition. That means if you hibernate one of the installations it will write the contents of RAM into the swap partition, which may lead to problems if you start the second installation before resuming the first.


macOS Mojave boot option disappeared from rEFInd, grub error at boot

This likely means the ubuntu entry is still in the EFI partition.
You can boot in recovery mode by holding the command + R keys at boot time.

Make sure to make a backup if you don't have one!

You can run disk aid first and repair the partitions and see if that helps.
If not, in the top bar choose Terminal and run:

diskutil list

and find the EFI partion.
The partition name in the example is when it's disk 0, partition 1 (change accordingly).
Mount it with the command:

diskutil mount disk0s1

Then remove the ubuntu entry:

cd /Volumes/EFI/EFI
rm -r ubuntu
cd
diskutil unmount disk0s1

There may be other unwanted folders there, the Apple one you want to keep.
If that doesn't work, you can do a reinstall, again by booting to Recovery and selecting that option.
If that doesn't work, there may be issues with the disk.
You can try to boot from an external drive then and see if you an access the data and make a backup if you were enable to before.

Then try a complete reinstall wiping the disk if you get errors with that, the issue may be physical, not software and it's likely time to replace the disk.


You should first find your wireless interface. Oftentimes it will be wlan0, but use the following command to get a list of your interfaces.

ifconfig

After finding out what your wireless interface is you need to set it to monitor mode.

sudo airmon-ng start wlan0

Use the name of your wireless interface in place of wlan0. This will enable wlan0 in monitor mode. Using the ifconfig command again you should now see a new interface called "mon0".

If you find you are still getting device not found errors then run the following code to disable your network manager and enable manual changes.

sudo stop network-manager
echo "manual" | sudo tee /etc/init/network-manager.override

After that you should be able to run the first two successfully.

After you are finished if you wish to restore the network-manager simply run

sudo rm /etc/init/network-manager.override
sudo start network-manager


Ubuntu hanging almost constantly after changing NIC driver

Grab a console (CTRL + ALT + F1) and enter the command: top

Now you can see which process is using all your resources.
(top shows different information than system monitor)
Look which process is using all your CPU and memory.

If kworker or the driver, then

find ethernet driver with lsmod
and then

sudo -s; echo "blacklist <name of the driver>" >>
    /etc/modprobe.d/local.conf reboot

Otherwise try to kill the process.

Because your question was not entirely clear i made the following assumptions:

You did not recompile your kernel with other options
You do not suffer from a power management bug (but think about this one)


Try running

sudo apt-get update

That should fix the problem.


Troubles with libpng12.so.0 - no version information available?

The main problem here is the libpng12, which is removed from the repositories after 16.04 LTS.
To install it use special PPA:
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt update
sudo apt install libpng12-0

Then download and extract GMAT:
cd ~/Downloads
wget https://deac-riga.dl.sourceforge.net/project/gmat/GMAT/GMAT-R2018a/gmat-ubuntu-x64-R2018a.tar.gz
tar -xf gmat-ubuntu-x64-R2018a.tar.gz
cd GMAT/R2018a
./GMAT-R2018a

So you have to remove problematic library with:
sudo rm /usr/local/lib/libpng12.so.0


Connecting and refreshing a wireless network without restart

There are several methods you can use.

To bring down all network interfaces:

sudo ifdown -a

To bring all network interfaces up again:

sudo ifup -a

To restart networkmanager:

sudo service network-manager start

This also works for wired connections:

ifconfig eth0 down
ifconfig eth0 up


18.10 new install freezes with intel_pipe_update_end [i915] / Atomic update failure

Could be an installer bug
How to work around:

During install disable network and disable any update of drivers and software.

Upon restart the graphics will freeze again, but recovery options do work this time.

Plug in LAN cable, start in recovery mode, enable networking, then drop into root.
 sudo apt-get update && sudo apt-get upgrade
 sudo apt install nvidia-driver-390

See Ubuntu Linux Install Nvidia Driver (Latest Proprietary Driver).
Now graphics will work. I then switched to using the NVIDIA driver using "Software & Updates":

My issue and a solution is also described here.


How to make your own Linux distro based on Ubuntu?

Well you can try with

LFS( Linux From Scratch)

it's a book
   describing the building of a Linux..., google it.

To make a distro based upon OpenSUSE, go to
https://susestudio.com/

To make a customized Ubuntu, you can start with
www.instalinux.com/
Here's more about forking a distro from Ubuntu:

  https://wiki.ubuntu.com/DerivativeDistroHowto


You can use Gparted. Open a terminal (Ctrl+Alt+T) and run sudo apt-get install gparted.

Once that's done, run Gparted by searching for it in Dash (~Start Menu). Let Gparted scan your drives, and select the SD card from the dropdown menu near the top right of the Gparted window (most likely sdb).

Right click the partition listed and hover over the Format... option. Choose the FAT32 option from the list. Click the green check mark button at the top of the Gparted window to apply the format.

Remember, this does erase anything you have on the SD card.

If you are unsure about anything, comment and I'll help out.


Compatibility of Toshiba Satellite L855/L875 with Intel/AMD hybrid graphics?

ONLY install 64-bit version of Ubuntu on this computer, the 32-bit version doesn't work:

A friend of mine just bought a "Toshiba Satellite L875D-103" (in Norway). He wanted me to install Ubuntu 12.04 on it. I have installed Ubuntu on several computers and been using Ubuntu for several years. But this laptop gave me some headache. Wireless does not work, sound does not work -and worst of all it tends to "hang" occasionally. In addition the touchpad and/or keyboard tends to "stop working" (the external mouse still function).
Because of the keyboard problem there was real pain just installing Ubuntu, using it is impossible as for now. When it freezes the mouse pointer still lives -but nothing else.
Tried with and without the ATI Catalyst driver -no change whatsoever.
As for testing anything it's impossible as it hangs too often. (As I said, even the installation was a pain as it hung and/or keyboard stopped working.)
This laptop is working fine with Windows 7. But who wants to use THAT!?

The 64-bit version is working (also with the AMD Catalyst driver which let you choose(manually) between hybrid graphics.) Read below to get the wireless working.


Remove path variable from /etc/environment, .bashrc and .profile.

Now add following line only in /etc/environment as,
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/jdk1.8.0_111/bin"

Undo whatever you added in .bashrc and .profile file.


Unable to read in /root directory even though sudo

/root folder is for root only. I believe only the system can manipulate files there. you can try with `su' but I think you will get the same result.

secondly: it is not recommended to run normal programs with root privileges.

when you use sudo in the command line you supply the password and become root. the script can not do this. it is a security measure to insure that someone at the terminal is making the changes. also some actions and folders are available to the root  system process only.


How to fix small GUI on Mendeley Desktop?

You can upscale the entire interface---including fonts---by running Mendeley from terminal using the command

QT_SCALE_FACTOR=1.2 mendeleydesktop

You can also play around with running it with the auto-scale factor on, using

QT_AUTO_SCREEN_SCALE_FACTOR=1 mendeleydesktop

This does not scale up the font, but seems to break look at pdf's. They also work in conjunction, but is till break looking at pdf's:

 QT_AUTO_SCREEN_SCALE_FACTOR=1 QT_SCALE_FACTOR=0.7 mendeleydesktop


Adding a GRUB2 background image and custom font

Info about changing GRUB font to Ubuntu-Mono that I should have found earlier:

In this question, OP tried to change font without results.  Problem appears to be a bug with ascending order glyphs as per this answer.

So basically I can't use anything from the Ubuntu Font Family for my GRUB font (sad but true) until the bug is fixed.

Info about background image:

If no option is specified in /etc/default/grub, GRUB will use the first found image in /boot/grub.  The image must in RGB colorspace and, if a JPEG, 8-bit.  GRUB will automatically detect the screen resolution, no configuration needed, and stretch/shrink the image if necessary (from thegeekstuff.com).

So to sum up, all that was needed was for me to just go with the default font (no way around it) and edit my image in GIMP to fit the parameters.


How to differentiate between 2 identical 1TB hard drives?

Assuming your disk is smart enabled, you can get a lot of information with smartctl:

$ smartctl -i /dev/sda

If all you want is the drive's serial number, you can filter it:

$ smartctl -i /dev/sda | grep -i serial

Substitute /dev/sda by the name of your devices.


Installation of ubuntu from USB flash drive

You've completed step one, which is to download Ubuntu.

Step two would be to "prepare" the USB flash drive with that .iso file. We call this "creating a bootable USB flash drive". If you are on Windows right now, here's what you need to do:

Download the Universal USB Installer.
Open up the program, and select your Ubuntu version from the drop-down list. So, for example, if you've downloaded the 32-bit Ubuntu 13.04 Desktop, choose Ubuntu 13.04 Desktop i386.

Using the "Browse" button, point to your downloaded .iso file.

Choose your USB flash drive from the drop-down list.

  Note: make sure you are choosing the correct USB flash drive and that you have a backup of whatever is on it, because the program will most likely delete everything on it.

Once you are finished with that program, you can now use your USB flash drive to install Ubuntu. So switch off your computer, plug the USB flash drive into it, and turn on the computer. Depending on the settings of your computer, you should see a purple screen within a minute, which is the beginning of the Ubuntu installation. If you don't see a purple screen and your computer boots directly into Windows, you will need to change the settings of your computer to basically tell it to boot from the USB. To do that, you will need to press a specific button when your computer is first powering on. This button is different for different computers, but it's usually one of the function buttons (F1-F12).

I don't know what guide you're following to install Ubuntu, but you can follow the screenshots in this answer for the Ubuntu installation.


I dont know my password and wont let me change it via GRUB

When using recovery mode from grub, you need to drop to a root shell, then remount the drive with write permissions using this command

mount -o rw,remount /

Then you can change the password for your account using the following command (replace username with your username).

passwd username

Then enter the new password twice, you will not see what you are typing.

Then reboot and login using the new password.

Have a look at this page on my website for a more detailed guide if needed.


I think, to be honest, that answer is now out of date.
Microsoft have "upgraded" SKype so it is now, essentially a front end to a web based thing. It is not a client in the common usage.
So, go to the Skype hopme page, https://www.skype.com/en/get-skype/ choose the .deb and follow the instructions.
It does work.


I also try to install Oracle and install a few require package which is include the lsb-cxx on this tutorial, and then also missing the lsb-cxx. But I found the package on this source.


This is what you need https://help.ubuntu.com/community/BootSectorFix

NOTE: You cannot recover Windows now but you can try to get the data from Data recovery softwares

EDIT: Step - 6


cheked the owner and is root:root i even run the

sudo chown -R root:root /lib/modules/5.4.0-33-generic/*

but the error remains... is not always on the same file, for example i have error on:

dpkg: error al procesar el archivo /var/cache/apt/archives/linux-modules-extra-5
.4.0-33-generic_5.4.0-33.37_amd64.deb (--unpack):
 no se puede abrir `/lib/modules/5.4.0-33-generic/kernel/drivers/net/ethernet/ql
ogic/qlcnic/qlcnic.ko.dpkg-new': Operación no permitida
Se encontraron errores al procesar:
 /var/cache/apt/archives/linux-modules-extra-5.4.0-33-generic_5.4.0-33.37_amd64.
deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


ubuntu 14.04 sound issue suddenly stopped working

after the upgrade, in AlsaMixer my Automute was enabled, I've  disabled it and sound is back


I think your website is not compatible with php7, but if you are sure that your problem is with "php.ini" take a look at this:
https://stackoverflow.com/questions/34350350/php-7-0-1-couldnt-load-ini-file

Also please check your Apache log and Websait/Aplication log for what is happening when you open your page and paste the output.

Edit: I've just installed the same Stack on my 16.04 and it is working fine.
These are the packages:

sudo apt install apache2
sudo apt install php libapache2-mod-php php-mcrypt

Please confirm that you have them.

Edit2: So the problem was: missing "libapache2-mod-php" package :)


Right click acts like left click on my Ubuntu 18.04

I also encountered the same problem after upgrading from 16.04 to 18.04. I figured out that there was something wrong with settings.

Just change primary button to left.


Evolution has lost all email data after upgrade to 11.04, is there a way to recover the data?

What i did before upgrading from 10.10 to 11.04 was first make a backup using Evolution and when the backup was complete i also made a copy of my .evolution folder in my home directory. After the upgrade i restored the Evolution backup and and copied the .evolution folder into my 11.04 home directory and all my data (including my sent mail and other folders i made and stuff i saved) was ready to use. But once you upgraded your Ubuntu all the old data will be removed... so consider it gone.


Delete Files Older Than One year on Linux

You can do it with this command

find /path/to/files* -mtime +365 -exec rm {} \;

Some explain

/path/to/files* is the path to the files.

-mtime is used to specify the number of days old that the file is. +365 will find files older than 365 days which is one year

-exec allows you to pass in a command such as rm.

Edit
Thanks to @Oli note --> you can do it by:

find /path/to/files* -mtime +365 -delete


sd card won't mount when an android phone is connected after 12.10 fresh install

Try connecting the phone with the computer first.

Then change the connection type to mass-storage.

Wait for some time like 5 minutes.

If it is still not working then try this..

Pull the usb cable just a little bit out from the computer side.. ( just a tiny bit) and wait for a couple of minutes..

if it starts working then you may push the usb - cable back in properly.

I faced similar issue..

If it still doesn't work then :(


Evolution: Work week Print Layout only prints 5-days and not 7-Days

Simply select all days as work days from the preferences. After this, your work week should show 7 days and I guess you should be able to print it as 7 days.


How do I edit php.ini in a docker container?

For development purpose you could just bind mount it from the host to the container take a look here

To a production environment you could think to personalize the container by build your own on top of it.

For example in your docker-compose is declared the docker image of wordpress calleds wordpress:5.4.0-php7.2-fpm-alpine

you can create your own Dockerfile to edit the base image, it will look like

FROM wordpress:5.4.0-php7.2-fpm-alpine
COPY ./php.ini /etc/php/7.2/apache2/php.ini

the ./php.ini is your modified version and the path is the destination.

Bothe above method are persistent and can be applied in build time and start time. But what about runtime, can change modification without restart the container?

Sure you can, you can invoke the docker cp command:

docker cp ./php.ini container_name:/etc/php/7.2/apache2/php.ini

but the change are not persistent, NOTE: above command can be executed bidirectionally (put in container and take from the container)

To persist the modification you done there is another way I'm aware:

Commit the container modification, more info here

docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]


Why does Ubuntu(as well as all the linux distros) hangs while copying?

I'm glad I'm able to answer this for you, because I suspect your question would confuse most serious ubuntu users who simply don't see it your way, as would I not were it not that I do as much support for Windows users as I do.

There's no easy way to tell you this, but Ubuntu doesn't actually hang.  Instead it merely doesn't waste any CPU cycles stroking the ego of its users the way Windows does.  Instead, Ubuntu puts all of its attention to actually doing the desired copy procedure.

You can speed it up or reduce the impact upon your system by upgrading your RAM.


Easiest way to copy ssh keys to another machine?

The ssh-copy-id command (in the openssh-client package and installed by default) does exactly this:

ssh-copy-id user@hostname.example.com

copies the public key of your default identity (use -i identity_file for other identities) to the remote host.

The default identity is your "standard" ssh key. It consists of two files (public and private key) in your ~/.ssh directory, normally named identity, id_rsa, id_dsa, id_ecdsa or id_ed25519 (and the same with .pub), depending on the type of key. If you did not create more than one ssh key, you do not have to worry about specifying the identity, ssh-copy-id will just pick it automatically.

In case you do not have an identity, you can generate one with the tool ssh-keygen.

In addition, if the server uses a port different from the default one (22) you should use quotation marks in this way (source):

ssh-copy-id "user@hostname.example.com -p <port-number>"


After lot of try formatting the machine and reinstalled Ubuntu 11.10 and carried out the following steps

Edit the network connection go DSL option and clicked the add option
Put the required user name and password and kept the service name blank
in PPP setting i removed all authentication option saved and restarted the Ubuntu.
Still it was not working the i kept Chap option tick mark removed all other and restarted.
Still it was not not working then i again tick all the option and it was working.

Remember: Tick the Connect automatically option on in both wired and dsl tab


Nginx gives 404 error on specific pages only

Looks like an ipv6 related issue. You can try to set memcached to use socket and change the address of the app from localhost to 127.0.0.1. It limits to ipv4.
Or set memcached and the app to work with ipv6.


I cancelled gparted operation ,what to do next?

You may be able to recover your partition with testdisk . Take the time to go through the Guide from CGSecurity that leads you through the steps you will have to take.

Take extra care to not overwrite other existing partitions. If your backups are old, it may now be a good idea to backup other partitions on that drive before you try recovery. Running testdisk is also possible on an image of your drive.

In case the partition recovery fails then you are able to recover your files with photorec (which is installed with testdisk). This will recover the content from all your data files but directories, file names, and permissions will unforunately be lost.


Soundcard not working / not detecting on Ubuntu 18.04 LTS

i was having the same problem and i had tried everything but couldn't able to resolved the problem then i figured out that it wasn't the driver causing the problem it was keyring password that i had provided so if you tried everything ,try to reset your keyring password to blank

Go to System/Preferences/Password and Encryption keys, right click the appropriate folder and click Change Password. Put in your old password and leave the new one blank. its worked for me , try it may works for you.


Edwin's comment appeared to solve this:

  Most possible the image you used to install Ubuntu is corrupt, try
  downloading it via BitTorrent. (If Debian 7 works, then Ubuntu Raring
  should probably work without a hitch, I think.)


From https://gstreamer.freedesktop.org/documentation/additional/splitup.html

  gst-plugins-base
  a small and fixed set of plug-ins, covering a wide range of possible types of elements; these are continuously kept
  up-to-date with any core changes during the development series.

  We believe distributors can safely ship these plug-ins
  People writing elements should base their code on these elements
  These elements come with examples, documentation, and regression tests

  gst-plugins-good
      a set of plug-ins that we consider to have good quality code, correct functionality, our preferred license (LGPL for the plug-in
  code, LGPL or LGPL-compatible for the supporting library).

  We believe distributors can safely ship these plug-ins
  People writing elements should base their code on these elements

  gst-plugins-ugly
  a set of plug-ins that have good quality and correct functionality, but distributing them might pose problems. The
  license on either the plug-ins or the supporting libraries might not
  be how we'd like. The code might be widely known to present patent
  problems.

  Distributors should check if they want/can ship these plug-ins
  People writing elements should base their code on these elements

  gst-plugins-bad
  a set of plug-ins that aren't up to par compared to the rest. They might be close to being good quality, but
  they're missing something - be it a good code review, some
  documentation, a set of tests, a real live maintainer, or some actual
  wide use. If the blanks are filled in they might be upgraded to become
  part of either gst-plugins-good or gst-plugins-ugly, depending on the
  other factors.

  If the plug-ins break, you can't complain - instead, you can fix the problem and send us a patch, or bribe someone into fixing them for you
  New contributors can start here for things to work on


Different sources.list entries between 18.04 server and 18.04.1 server ISOs

Had the same problem after installing this particular image.

only 3 sources were in /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main

I had to add 7 other common sources manually with the help of these instructions on GitHub.

In short, the contents of the file should be as below. Use sudo nano or your favourite text editor to change the contents to this.

#deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse


Ralink rt3090 driver installed and wireless doesn't work on Ubuntu 10.04

The hardware is not claimed by any driver.  First install the driver from this site.

Then, from this thread, enter the following commands:

sudo mkdir -p /etc/Wireless/RT2860STA/
sudo touch /etc/Wireless/RT2860STA/RT2860STA.dat
sudo service network-manager restart

Now, list the hardware and see if it's claimed by the driver that we installed just above:

sudo lshw -C network

In my case a reboot was needed.  (I might be missing some command here to avoid reboot, but it works for me)

My laptop:

RT3090 Wireless 802.11n 1T/1R PCIe
HP Pavilion dv6


Granting daemon permissions to read/write to a folder owned by user

The trick is to create a group, then make that group the owners of that folder and add any who needs access to that group. And of course control group access using that group.

Steps:

Create new group (with any name):

sudo addgroup <any_name>

Make group owner of said folder:

sudo chgrp -R <any_name> /Storage/Downloads/Torrents

Change the permissions on the said folder:

sudo chmod -R 770 /Storage/Downloads/Torrents

Now simply add any one you like to that group to grant them access.


how to copy old user account to new user account?

You're basically asking: "How to copy settings and files from my user account to a new user account, skipping some settings?"

Migrating to a new user account

To move files from user old to new, you need to copy over the files and change the ownership accordingly:

sudo cp -r -d --preserve=mode,timestamps -T ~old ~new
sudo chown -R new: ~new

This should copy the files without modifying paths.

Now log in to a shell as new. Either switch to a VTY using Ctrl + Alt + F1 and login as new or login from a terminal using su new. If you chose the first method, you can switch back with Ctrl + Alt + F7. From this point, it's assumed that you're logged in as new.

If symbolic links exist which point to their old directories, find those links:

find ~ -lname '*/old/*' -ls

The file names of the symbolic links are printed, but no action has been taken. To create a new symlink ~new/path/to/symlink pointing to ~old/point/to/target, overwriting the old one, run:

ln -sf ~old/point/to/target ~new/path/to/symlink

There could be configuration files referring to the old ones, you can find those files with grep:

grep -HrnI 'old' ~

If you get many results, consider being more specific, i.e. replace old by /home/old. Files will be listed with lines matching the search criteria, but no action is taken.

Debugging the old account

If you copy all settings and files, you're better off with removing the problematic files. For optimal results, it's a good idea to logout the subject user from a GUI session and log in a virtual console (switch to it using Ctrl + Alt + F1).

If you're suddenly being logged out, check ~/.xsession-errors. You can do so by running:

less ~/.xsession-errors

Use arrow keys, Page Up/Down, Home or End to navigate, press Q to quit.

Sometimes the .gconfd/saved_state file gets corrupt. You can remove this file with:

rm .gconfd/saved_state

After doing this, switch back to a GUI login by pressing Ctrl + Alt + F7. Log in and if the problem went away, you're done. Otherwise, log out and switch back to the virtual console using Ctrl + Alt + F1.

Another directory that can be emptied is ~/.cache:

rm -r ~/.cache/*

Instead of loosing all files and settings, temporary move some folders. That can be done with:

mv folder{,-orig}

If a folder was not causing issues, remove the newly created folder and restore the old one:

rm -r folder
mv folder{-orig,}

Some folders that could cause problems (some may be nonexistent, in that case skip to the next folder):

.gnome
.gnome2
.kde
.config
.local

As with every modification, switch back to a GUI login and test it.


Libreoffice Writer - Restart footnote numbering for each page

Navigate the Tools > Footnotes/Endnotes menu/submenu entry, then go to the footnotes tab.

The second item down is called "Counting" and you can choose per page/chapter/document.


Getting WebGL to work on Toshiba Satellite L30-11G

The answer here will help a little with this question: How do I browse a website that uses WebGL?

But to have WebGL support you need:

Video Card that supports OpenGL ES 2.0 which is the base for WebGL. If your video card supports OpenGL 2.0+ then you already have OpenGL ES 2.0 support and so WebGL will work fine although I recommend video cards that support OpenGL 3.0+ since it is more close to the time that OpenGL ES 2.0 came out.
Browser that supports WebGL. For the time being, the best Desktop browsers for this are Google Chrome and Firefox. I am a Firefox users but i have to say that, up to Firefox 10, Chrome still has better support for WebGL. In renders faster. More FPS in general.

Since Firefox 4.x and Chrome 9 you have support for WebGL. Not very good but at least it has support. This was a long time ago. Right now there is Firefox 10 and Chrome 17. Both of which have superior support for WebGL.

You can select the Stable, Beta or Dev version you want from Chrome here: http://dev.chromium.org/getting-involved/dev-channel

You can select the Beta or Dev version you want from Firefox here: https://launchpad.net/~mozillateam/+archive/firefox-next

For what I have seen the Radeon Xpress 200M has support for OpenGL 2.0. The chipset RC410 mentions support for OpenGL 2.0. So you should be fine there. There is also no need to add command line parameters to Chrome or Firefox. Just install the latest (Firefox 10+ or Chrome 17+) and done.

For the drivers I do recommend using the proprietary drivers from the Additional Drivers application. Just open Dash and type Drivers. That should show you the Additional Drivers app.


How can I make qbittorrent's unity icon work?

This has an opened bug here

You may want to use transmission-gtk (gtk bittorrent client) + torrentsearch.

Install transmission-gtk with:

sudo apt-get install transmission-gtk

And download torrentsearch here


How to configure several proxies in ubuntu server

Try checking the contents of /etc/apt/apt.conf.d directory, maybe there is another file with the (old) proxy settings there.


Nobody answered, but I discovered a stupidly easy way, and I will share it, it can serve for someone...
All I did was to open the anonymous navigation, after that I did not have any more problems with the internet, now I can put 5 videos to run at the same time without over loading the USB Stick. I just do not understand why the cache deactivation did not solve.
The rest, such as opening programs, will have a certain limitation, but there should be no way to improve it, other than using a lightweight distro, or use a USB Stick 3.0, which usually has a writing rate above 5Mb/s, since almost all USB Stick to port 2.0, has only this, remember to see benchmark tests to certify before buying a.


I'd recommend getting a separate drive. You really only need a 250GB for the NTFS partition to fit on.
Then create an image of that partition on the new drive dd will work but it's slow. Maybe try:

Clonezilla Live: http://clonezilla.org/
The tutorial for Clonezilla can be found here. I've never used this tool though, so I can't speak to it.
I found the info from How to make a disk image and restore from it later?

Once you have your backup, I'd recommend creating a your new partition, pro tip -- go with XFS, not ext4, for better performance, and then copy your current EXT4 partition data over, making sure to preserve permissions/ownership, and then extract or merge your old NTFS data over.
If you created an image just mount it using mount -o loop ...iso /mnt/yourMountPoint

By the way XFS can be shrunk but it's a real pain, so just plan on expanding/extending it later if you need to.

Good luck!


Removing or Forcely removing the corresponding package for the below type of error will solve the problem,
dpkg: error package-name (--configure):
 dependency problems - leaving unconfigured

In this question leaving unconfigured error happens for these three packages,
linux-image-generic-pae
linux-headers-generic-pae
linux-generic-pae

So we have to remove the packages by running,
sudo dpkg -r linux-image-generic-pae
sudo dpkg -r linux-headers-generic-pae
sudo dpkg -r linux-generic-pae

If there was any dependency problem occurs while removing the above then go for force option like below else skip it.
Note: Go for force option only when  all other methods won't work.
Forcely remove the above three packages by running the below commands,
sudo dpkg --purge --force-all --force-remove-reinstreq linux-image-generic-pae
sudo dpkg --purge --force-all --force-remove-reinstreq linux-headers-generic-pae
sudo dpkg --purge --force-all --force-remove-reinstreq linux-generic-pae

Now you may run an upgrade,
sudo apt-get -f install
sudo apt-get upgrade

If you want the packages to be reinstalled,then run the below
sudo apt-get install linux-image-generic-pae
sudo apt-get install linux-headers-generic-pae
sudo apt-get install linux-generic-pae


Printer Driver installed but when I try to print it say no active jobs?

You need to install the appropriate drivers for the printer, sometimes the generic drivers just don't work


"Open folder" action, doesn't work in Nautilus

Not sure about what went wrong with your nautilus but if you really think you kinda messed up with your file manager, you can try uninstalling your nautilus completely and reinstall. To do so, follow this

sudo apt-get purge nautilus

This will uninstall your nautilus and remove it's configuration files as well

sudo apt-get autoremove

This will remove all it's dependencies that were automatically installed to satisfy dependencies for the package and are now no longer needed.

sudo apt-get autoclean

Just in case your linux is configured to cache the retrieved package

sudo apt-get install nautilus

This will install nautilus from Ubuntu repo again


How to keep subtitles track while switching default audio track?

Map all streams with -map 0:
ffmpeg -i input.mkv -map 0 -disposition:a:0 default -disposition:a:1 none -c copy output.mkv

I'm guessing your input contains at least 4 streams (1 video, 2 audio, 1 subtitle) but you were only mapping 3 streams. -map 0 will include all of the streams from the input.


What program can I use to open an .itf file? (interlace file)

Can they be files used by Interlis? If yes, I think that you should use it to manipulate them.
On that site there are some examples too.
Unfortunately, it seems only for Windows.


Backing up entire Ubuntu system before disk resize

You ask a lot of questions in ... well.. one question.  This site works best if you ask one question per question, therefore I will only answer one of your questions:

The VeryEasyWay™ to do this is to use Clonezilla Live as long as you:

turn off hibernation in Windows
save the CloneZilla disk-to-image to an external, removable drive
set a chkdsk /f x: for all your disks and then shut down
use GParted Live to resize
first boot Windows, then Ubuntu


I had the same problem since upgrading to Ubuntu 16.04. I'm not sure if it will be same with you but, when Steam Guard pops up, just click next and enter your security code. I hope it works with you too.


Gigabyte u24f Touchpad (elantech) not detected

Try the following

  cat /proc/bus/input/devices | grep Name

Output should include > Elantech Touchpad

If so download the following

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1166442/+attachment/3941591/+files/psmouse-elantech-x551c.tar.gz

Open a terminal, and follow these steps

  cd ~/Downloads
  sudo dkms ldtarball psmouse-elantech-x551c.tar.gz
  sudo dkms install -m psmouse -v elantech-x551c
  sudo rmmod psmouse
  sudo modprobe psmouse

HTH

Reference

Ubuntu activate multi touch on elantech
ElanTech TouchPad NOT detected as PS/2 in EXO NIFTY 7385


What does thisisthecountdown.com count down to?

It was created by the Ubuntu Adverts team to build up some hype in advance of the 11.10 release. The counter expires at midnight 11th October in the UTC-5 timezone (US Central time). This is 6am on the 12th October in the UK. However, the release of 11.10 is expected on the 13th in the afternoon UK time.

This page seems to have been an entrance for an Alternative-Reality Game, that was played by seeking for information on a bunch of fake websites, deciphering messages, etc. The game was synced with the real time, and it progressed through many days. As of Oct 11, the game is still in progress, but considering the amount of information that has been already presented, it is unlikely that one might easily join the players and continue from that point. The game is played cooperatively with many other players, by discussing puzzles at an IRC channel - #awholenewworld (you can find logs at this answer's end)

There was a number of clues released and puzzles to solve between now and then. I think at time zero a new website, possibly with more information about Oneiric will be released, there might be a more intensive phase of the game at that point, or it might be the end of the game.

The first clue is the class of the  tag which may be decoded by base64 decoding then hex to ascii to reveal "world space agency org" http://worldspaceagency.org which is a website that was labeled as under construction.

The background image at worldspaceagency.org was also an MP3 file (stereo, 22.5 Khz)

Many clues have been released through a twitter account.
http://twitter.com/#!/thisisthe

One may pass the class, yet not see what is in plain sight ahead.
If the world could sing, then man can tell his deepest secret.
A world by any other name will still play.
0x575341 UNIDENTIFIED TRANSMISSION INTERFERENCE
Meine freunde, sometimes one has all the pieces but doesn't know it.
Sometimes you have to do things twice.

As of 10/5, the GIF at worldspaceagency.org has changed.
There is now text near the bottom that says

CynOnoceiomemdRhlnnpctiDisssunr1tooaLdoatsRgurrdsedeemaiiifiseornp&Ournlo:cotsOta:tetentr:amengYncuv

There is also a pastebin of the appended data. There is pure HEX data here  There is also a permutation before the codetext: 241563  Here is the wikipedia for transposition ciphers.  There is some stuff about a German cipher called übchi.  pinwake has used some German before.  A clue, perhaps?

After deciphering using this tool with the key 2 4 1 5 6 3:
codenameCORDOROY:instructions:donotattemptanythinguntilserversarecompromised&signalsourcefound

On 10/6 the worldspaceagency.org page changed completely and now features a simple menu, WSA logo and some news. One can access a fake console at http://worldspaceagency.org/console/ which displays some chirped messages, and play morse code message (which after deciphering is ariss/ibm/a22p).

The Morse code used to decoded to contact/ibm/a22p.  The earlier version was just a red herring. The page http://worldspaceagency.org/contact/ibm/a22p is blank, with "Nice try" as the title.

ARISS is the amateur radio link to the ISS, it was running on an IBM A22P thinkpad left behind by Mark Shuttleworth in the ISS (yes, really) there is some kind of problem with it's power supply unit. http://www.rac.ca/ariss/faqariss2.htm  (That might be the why the audio file was all scrambled.)

The hacker console displays what appears to be an IRC log with some random office chit chat and the message:

  "Pine Lake seems to have received some more transmissions of some sort."

Possible clue: Pine Lake, GA on Wikipedia.

Full decryption of the console text is available here.

As of late 10/6 or early 10/7, http://thisisthecountdown.com has changed. The background is now different, and the bar above the countdown appears to move.

If you click the twitter link in the site, it auto-fills your tweet with the following:  0x575341 UNIDENTIFIED TRANSMISSION INTERFERENCE http://www.thisisthecountdown.com

Update 10/9:
Turns out the 404 page at http://worldspaceagency.org/ariss/ibm/a22p/ was a fake. Some text at the bottom was changed. The first characters of the text in question ended up being a phone number: '404-9 CONTAC', or '404-926-6822'. Another transmission was found upon phoning the number. Here is a digital recording.

The recording was used to decode the transmission in the console at the WSA website. The decoded transmission is here: http://paste.ubuntu.com/704729/
The transmission references Chi Sagittarii, a group of star systems, along with the Wow! Signal, which was emitted from said star systems and is considered evidence of potential extraterrestrial life.

The security link on the home page requests a username and password. The credentials are below:

username: The User
password: 43tgmbefortytwo

From that point, the game gained speed, and both the plot and the puzzles thickened, but the number of them makes it difficult to discuss them all in that answer.

Note: here's a big plot gap - please add some information on the following points

Case files
Counter changed (signal lost)
Background colors (HEX hint) → Traveller MP3.
Counter changed (reconnecting)
WSA background → QR code → video footage
EXTRACTED-CASEFILES-r1.7z (in source code rgb values were 097 108 105 101 110 114 105 102 116 102 114 111 110 = alienriftfron in ASCII an anagram for (finalfrontier) the file's password)

The counter changed once more and we found a barcode like thing below the numbers (transmission.gif). It turned out to be a sliced QR code where each red dot marks the cut point. After inverting and encoding the result, it brought us to another archive file (EXTRACTED-CASEFILES-r2.7z) via this link The file again contains updates to the three case files. The password for the protected ZIP file (eventhorizon) was found by analyzing the HTTP headers of thisisthecountdown.com. This followed after a hint given by the @ThisIsThe Twitter account, which obviously is back under pinwake's control:

  taking this thing back! Nobody knows rfc 2616 like me --it's me, djohnson!

Where RFC 2616 deals with HTTP standards. The headers contain the following:

  7zip: Beyond a certain point there is no return.

→ point of no return → event horizon.

In the meantime the counter was updated (the estimated time for decryption has been recalculated) and now shows only a few hours left until the decryption of the transmission will be finished (which likely will be the end of the game).

Final Result - It turned out that the countdown was indeed for Ubuntu 11.10 .

IRC logs from #awholenewworld on freenode are avaliable below, most recent at top.

somedude9's log from Oct 09
Centigonal's log beginning 02 Oct
AlanBell's log beginning 08 Oct
jrgifford's log from Oct 03 - 07


"The ./boot/grub/efi.img file failed the MD5 checksum verification."

The OSX format conversion process is corrupting the file.  Write it directly without converting it and everything will be fine.

#NUM=2  #Maybe - check which disk device is the right one
dd if=ubuntu-12.04.3-server-amd64.img of=/dev/rdisk$NUM bs=1m

After you do that the check should complete correctly.

Don't proceed because, even if it happens to be safe this time round, next time round it might turn out that you downloaded a hacked or corrupted image and you won't be able to tell.


Installing Ubuntu / Windows to two separate hard drives

Install the other hard drive and install Windows like you normally would. Then you can swap them with no issue.

One thing you might see is the internal system clock will be incorrect when you go back to Windows, because Linux uses GMT while Windows uses your local time zone. Windows can auto update the clock when its online but it's something you will have to look out for. Here is a registry edit you can do in Windows to fix this.


Use sudo. Do not use the root account.

Using the root account runs all applications at the root level. This is, inherently, extremely unsafe.

If or when you want to avoid using sudo for a period of time, you can use the command:

sudo -i


I thought I'd answered this before, but can't find this answer here, so here it is again:

I've started using Asunder - brilliant tool ;)  As brilliant as RipOff used to be :)


Copy one file to different, differently named folders

Well that's bad because cp can copy multiple sources but cannot copy to multiple destinations which is what you need. For this to work you have invoke cp multiple times - once per destination which you have already tried. What you want can be accomplished by

1. Using for loop

for i in /a/c/ a/d/ a/e/; do cp "$file" "$i"; done

This is pretty mush self-explained.

2. combining cp with xargs :

$ echo dir1 dir2 dir3 | xargs -n 1 cp file1

Will copy file1 to dir1, dir2, and dir3.  xargs will call cp 3 times to do this. xargs will invoke cp 3 times and copy file1 to dir1, dir2 and dir3 in successive calls.

In your case it will be

$ echo /a/c/ a/d/ a/e/ | xargs -n 1 cp /a/b/file

For further details about xargs, see manpage.


Try this command,

sudo sh -c "echo suspend >> /sys/bus/usb/devices/1-8/power/level"

It appends the string suspend to the /sys/bus/usb/devices/1-8/power/level file.

If the file doesn't exists anymore then run the below command.It will create a file and then appends the string suspend to that file.

sudo sh -c "echo suspend > /sys/bus/usb/devices/1-8/power/level"


libgtk2.0-common fails to build with Gdk-2.0.gir error, Type reference 'GdkPixbuf' not found

If you want to use the package source you should compile using the package debian building rules instead of using the plain configure / make as you do from an original source.
To build using the package build rules, from the source directory, just run:

debuild

The manual building is probably failing because of a needed patch which is applied from the package building rules.


I think you need an external, reachable machine where you can ssh to make the link. I used a iPad app that allowed this for windows machines using the google servers; I tried to find/adapt the solution to forward a VNC connection to my linux desktops without success.

If you have an external machine where you can do ssh, you can make a reverse tunnel; suppose you have the hidden machine named "hidden", running the ssh daemon, and the external machine called "hub", also running ssh daemon; you can on hidden do (this should be in a script automatically started, checking for failure and restarting, etc.)

ssh -e none -R 2222:localhost:22 hub

and then connecting to hub with

ssh hub -p 2222

your connection will be tunneled to hidden. You can change port 22 to 5900 to forward for example VNC (Desktop) connections.

Obviously, you need to reach hub --- its port 2222 should be opened. Otherwise, if hub has just port 22 (standard ssh) open, you can ssh into hub and there do

ssh localhost -p 2222

and you are again forwarded to hidden.


Install a new Ubuntu version over the frozen old version

Use the Ubuntu 16.04 Live CD and a External HDD/Pendrive!

Download(64-bits, 32-bits), Burn media and keep it.
If you know how big are your files, you can choose between an external HDD or Pendrive.
Boot from the Live CD.
Mount the partition in which Ubuntu 15.04 was installed:

You can list every partition with: fdisk -l

Create a mount point to HDD: mkdir -p /media/hdd

Mount the desired partition with: mount /dev/sdx /media/hdd

sdx can be sda, sdb, sdc... It depends on your system configuration.
Mount HDD/Pendrive.

Create another mount point to pendrive/External HDD: mkdir -p /media/backup`

Mount the backup device with: mount /dev/sdx /media/backup

sdx can be sda, sdb, sdc... It depends on your system configuration.
Copy your HOME directory to your backup media(HDD/Pendrive).

cp -r /media/hdd/home /media/backup/


Change gateway sequence with network manager

Problem is solved by checking the option "use this connection only for resources on its network" in the "Routes" page of the IPv4 settings of the configuration interface for the local network (used by eth4) in network-manager.


Ok, I found an answer:

Play flash with sound in FF - no sound
Flash in Chrome was ok, so I knew something was bad in the FF
Play flash with sound again
Right click volume icon in top right corner (Unity)
Sound Settings - Tab Applications
Check that all applications are on max volume

They were not in my own case. I had no idea there is app seeting for volume ... now I know :)


What environment does xargs pass to grep?

I think you have grep setup to always colourize output (perhaps by an alias, or worse, by environment variables), and the colour codes are driving the second grep nuts. Try:

grep --color=none ads2gas | xargs -p grep vp8

Setting GREP_OPTIONS='--color=always' is worse compared to aliases because aliases don't (usually) affect scripts, whereas this also affects scripts. I learned that the hard way.


Brother Printer printing garbage after upgrade to 18.04

No solution but sympathy, I've got a very similar problem. Upgraded from 16.04 LTS due to sound issues. Sound issues disappeared but now my Brother MFC-J5910DW won't scale the pages. Test page 100% fine, print preview looks great but every time I print from the web or documents I either get miniature print or outsize print. Last time I tried to set the paper size the selection was greyed out and set to 'Letter' (printing on A4). I had some printer set up issues a while back but happy printing for over a year now. Tried deleting and reloading cups - no joy. I  have a feeling your solution will be my solution so any advice gratefully received.


How can ending process introduce security risk?

It may introduce a risk if the process is not allowed to perform necessary clean-up.

For example, when a text file is edited, the new contents are often stored in /tmp, or even in the current directory, with an obscure filename. This file is simply renamed as the original file when the user saves to disk, or deleted when the user discards the edit.

If the process is not allowed to either rename or delete, there is a security risk if the original file, or the unsaved edits, contain sensitive information, like passwords.

Now extend the analogy to web browsers and session cookies, and you have a formidable security risk.

Edit: As pointed out below, properly coded programs will take due care to ensure that a forced termination does not become a security risk.

However, not all programs are properly coded and the O_TMPFILE mechanism was added in Linux 3.11, so code written prior to the addition will not make use of it. That includes the current LTS, which is stuck on Linux 3.8.

It is best to assume that a program will cause a security risk if forcefully terminated, unless you have had the time to inspect the source yourself.


Unusual network activity is seen in Ubuntu's built-in System Monitor (14.04 LTS 64bit Spanish)

One thing you might be able to do here is to go into your chrome settings, scroll down and click on advanced settings.

Scroll down and under system, untick the box for continue running background apps when google chrome is closed.

One looks like vivaldi mail (python3).

Google chrome looks to be connected to websites stackexchange or askubuntu, google, etc.

Ubuntugeoip I believe is the timeserver

and cups is for your local printer.


Problem while installing Visual Paradigm UML Tool?

zeb@zeb-Lenovo-B570:~$ bash ./%Visual_Paradigm_for_UML_CE_Linux_11_0_20140308.sh%
bash: ./%Visual_Paradigm_for_UML_CE_Linux_11_0_20140308.sh%: No such file or directory

If you give the code like this, bash try to search for the file inside the current directory and execute  if it exists.If the file doesn't be exists on the current directory then it shows No such file or directory error.And also you have to give the exact filename.If you fails to give that, then there comes the error No such file or directory.

So it's safe to give the filename along with their path while executing.

Syntax:

zeb@zeb-Lenovo-B570:~$ sudo bash /path/exact-filename.sh

Your command should be,

zeb@zeb-Lenovo-B570:~$ sudo bash /home/zeb/Desktop/Visual_Paradigm_for_UML_CE_Linux_11_0_20140308.sh

OR

zeb@zeb-Lenovo-B570:~$ sudo -s
root@zeb-Lenovo-B570:~# bash /home/zeb/Desktop/Visual_Paradigm_for_UML_CE_Linux_11_0_20140308.sh

How can you quickly get the complete path to a file for use in terminal?