Armed with the insight of @slashdot, I have mostly fixed my problem, but I don't really know what I did. Please examine the following trail and enlighten me.

In particular which of the following hypotheses are true and or what am I missing?

Neither zdb -u tank nor zdb -dcsv tank did anything useful.
The second zpool import -f tank worked when the first one didn't because enough time had elapsed since the zpool export tank for ZFS to have a chance to fix itself.
This whole episode had something to do with labels changing themselves after one of the drives failed (think it was sdb which caused sdc>sdb & sdd>sdb).

LOG

andy@ubuntu:~$ zpool status
andy@ubuntu:~$ sudo zpool status
  pool: tank
 state: UNAVAIL
status: One or more devices could not be used because the label is missing
        or invalid.  There are insufficient replicas for the pool to continue
        functioning.
action: Destroy and re-create the pool from
        a backup source.
   see: http://www.sun.com/msg/ZFS-8000-5E
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        UNAVAIL      0     0     0  insufficient replicas
          raidz1-0  UNAVAIL      0     0     0  insufficient replicas
            sdb     FAULTED      0     0     0  corrupted data
            sdc     FAULTED      0     0     0  corrupted data
            sdd     UNAVAIL      0     0     0
andy@ubuntu:~$ sudo zdb -u tank
zdb: can't open 'tank': No such device or address
andy@ubuntu:~$ sudo zpool scrub tank
cannot scrub 'tank': pool is currently unavailable
andy@ubuntu:~$ sudo zdb -bcsv tank
zdb: can't open 'tank': No such device or address
andy@ubuntu:~$ sudo zpool export tank
andy@ubuntu:~$ sudo zpool import tank
cannot import 'tank': pool may be in use from other system
use '-f' to import anyway
andy@ubuntu:~$ sudo zpool import -f tank
cannot import 'tank': one or more devices is currently unavailable
andy@ubuntu:~$ sudo zpool status
no pools available
andy@ubuntu:~$ sudo zpool status -x
no pools available
andy@ubuntu:~$ sudo zpool import
  pool: tank
    id: 9117894036185671023
 state: UNAVAIL
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
   see: http://www.sun.com/msg/ZFS-8000-5E
config:

        tank        UNAVAIL  insufficient replicas
          raidz1-0  UNAVAIL  insufficient replicas
            sdb     FAULTED  corrupted data
            sdb     UNAVAIL
            sdc     ONLINE
andy@ubuntu:~$ sudo zpool import tank
cannot import 'tank': pool may be in use from other system
use '-f' to import anyway
andy@ubuntu:~$ sudo zpool import -f tank
andy@ubuntu:~$ sudo zpool status
      pool: tank
 state: DEGRADED
status: One or more devices could not be used because the label is missing or
        invalid.  Sufficient replicas exist for the pool to continue
        functioning in a degraded state.
action: Replace the device using 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-4J
  scan: scrub repaired 0 in 0h13m with 0 errors on Mon Nov 21 09:22:11 2011
config:

        NAME                      STATE     READ WRITE CKSUM
        tank                      DEGRADED     0     0     0
          raidz1-0                DEGRADED     0     0     0
            10820373921989571629  UNAVAIL      0     0     0  was /dev/sdb1
            sdb                   ONLINE       0     0     0
            sdc                   ONLINE       0     0     0

errors: No known data errors
andy@ubuntu:~$


firefox and google-chrome need about 30 sec to launch any home page

Did you observe this latency to other network services or only HTTP ?

You can check latency with ping command to another laptop/server on your network.

You can also check the time to perform a DNS request : time nslookup www.ubuntu.com

Could you check your network configuration (ifconfig -a, route)

You can also clean your navigator's cache, cookies and so on... before doing tests.


How can I use digikam instead of shotwell in the dash?

You cant currently, see:  https://bugs.launchpad.net/unity/+bug/708479/comments/3
and:  https://bugs.launchpad.net/unity/+bug/730623/comments/4


How do you uninstall Ubuntu completely and re download windows

You'll need to get your Windows 8 product key from your BIOS and write it down for future installation. In the terminal type:

sudo cat /sys/firmware/acpi/tables/MSDM

Which will reveal something like this:

MSDMUoDELL  QA09   LOHR#####-#####-#####-#####-#####%

You can read other techniques of accomplishing key extraction here.

The next step of erasing Ubuntu and installing Windows is documented here: How to remove Ubuntu and put Windows back on?.


Synapse vs. Kupfer, which is lighter for you?

You have to consider that Synapse uses zeitgeist as it's backend and that also uses several MB of ram, so the comparison is not exactly fair.

Also, as MichaelMS pointed out it's wanted that those programs use memory! You want to access your data/actions/bookmarks really fast so you don't want to access the slow HDD for it. The more ram it uses the faster it will respond. It's not a bug it's a feature ;)


aptitude safe-upgrade equivalence with apt-get

The apt-get command closer to aptitude safe-upgrade is upgrade, but there is a difference.

aptitude safe-upgrade upgrades currently installed packages and can install new packages to resolve new dependencies, but never removes packages.

apt-get upgrade upgrades currently installed packages, but never installs or removes packages.

So apt-get upgrade is comparable to aptitude --no-new-installs safe-upgrade.


ubuntu 12.04 cant boot with kernel 3.2.0-49 and 3.2.0-51

The following link may be of help and shows how to check boot errors:

http://www.cyberciti.biz/faq/ubuntu-view-boot-log/


indicator-cpufreq always shows only one bar on Ubuntu 14.10

You are running by default, the Intel Pstate system in Ubuntu 14.10.  To use the older ACPI method, you need to edit the grub file and reboot:

Open a terminal alt+ctrl+t and enter the folowing lines:

sudo cp /etc/default/grub /etc/default/grub.backup

sudo nano /etc/default/grub

In the Nano editor, look for the line beginning with GRUB_CMDLINE_LINUX_DEFAULT   At the end of the line add intel_pstate=disable The whole line shoud now look like this

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=disable"

press the keys ctrl+o to write the file, and ctrl+x to exit Nano.  Then in the terminal, enter the following command to update Grub

sudo update-grub

You should now reboot your computer, and find that you are able to set the governors as you did in 14.04

This answer has been taken from here.

Additionally, the indicator will crash upon startup if the BIOS setting for "SpeedStep" is disabled. To fix this, go into your BIOS settings and enable "SpeedStep".


Why does my laptop's screen remain black when I try to unlock it?

Have you tried other screen savers like xlock or xscreensaver? I heard that the default gnome-screensaver has some issues on that, and that solved my issue in the past.


Skype not showing people online on ubuntu?

Open a conversation window with anyone (doesn't matter, since you wont be messaging him). then type this:

/msnp24

Press Enter and restart Skype.

(Source)


First MD5 is a hash function that reads the whole file/string/input data and generates a defaultly 128-bit long hex-formatted hash. That hash is always the same when the file or the given string is the same.

With the utillity md5pass you do exactly the same, but the hash gets "salted". In cryptography, a "salt" is random data that is used as an additional input to a one-way function that hashes a password or passphrase to raise entropy. Thats why md5pass always outputs a different value.

Why salting?

The problem is that when users have the same password they have the same hash. If the hash gets salted randomly, every password has a different hash value. The salt must be saved separately in another table, because it is needed to vertify the password. In md5pass the salt can be defined (as the second argument). If no salt is defined the system geneates a random one.

Another advantage is that in case of MD5 or SHA rainbow tables are less effective as without a salt, because,  without a salt, the hash value must be calculated just once for every password.


Maybe try to boot liveCD of some other Linux distro: like Damn Small Linux and see if it works. This will help You to figure out if it is some kernel bug or something in Ubuntu.


I want to share my ethernet connection to wifi

.You should have an "Wireless card" for make your "cable internet" into a something like a router i think.

.An easy option is connect your phone to your pc with usb and then look in your phone for "usb modem". It allows yo to use your computer internet on you phone(but you will nedd stay near it with this method).

If you dont have a wifi card i think that you could use a second phone and do as i said for usb modem, and then connect with the 1st phone to the wifi made in the 2nd phone(you need to switch to on "share connection" on the phone connected to the pc)

PD: Just in case that someone need to make the inverse process, look at this


Double click on Matlab file opens a new session, even if one is already running

The problem isn't Thunar or a file manager, the problem is MatLab. If there is no option in MatLab to start only one instance, you can do nothing except writing a feature request for MatLab.


hey dude iv been having a similar issue....

to fix this i installed xinput-calibrator

 sudo apt-get install xinput-calibrator

you can then run it from System > Administration > Calibrate Touch-screen

after you have calibrated it will show a terminal output that looks similar to this

   Warning: multiple calibratable devices found, calibrating last one (eGalax INC. USB TouchController)
    use --device to select another one.
Calibrating EVDEV driver for "eGalax INC. USB TouchController" id=12
    current calibration values (from XInput): min_x=0, max_x=4095 and min_y=0, max_y=4095

Doing dynamic recalibration:
    Setting new calibration data: 77, 3935, 115, 3984

--> Making the calibration permanent <--
  copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf'
Section "InputClass"
    Identifier  "calibration"
    MatchProduct    "eGalax INC. USB TouchController"
    Option  "Calibration"   "77 3935 115 3984"
EndSection

ignore most of this the only bit you need is

Option  "Calibration"   "77 3935 115 3984"

in terminal type

sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf

and add the Calibration option to your touch-screen section

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "Calibration" "77 3935 115 3984"
EndSection

for the /etc/X11/xorg.conf.d/99-calibration.conf  simple instruction can be found on  http://gnometechblog.weebly.com/1/post/2012/03/first-post.html


Compiz closed in error w/ Unity plugin off, system disabled

Login into virtual console (ctrl+alt+F1) and run the below commands to reset ccsm and unity,

sudo apt-get install dconf-tools
dconf reset -f /org/compiz/

Back to gui mode,

sudo service lightdm restart


Can you do keyframed speed changes with video?

After a year of searching I've finally come across an answer. For this you'll need Blender. I'm using 2.56 beta.

Open Blender and switch to the Video Editor

Add a video to the editor

To make things easier combine the audio and video clips (make a meta clip)

With the clip selected add a Speed Control effect

In the effect properties on the right-hand side first untick "Stretch to input strip length". Then hover your mouse over Speed Factor and Press "I" on your keyboard. This field will go yellow.

Move to a different point in the movie. Change the value in the Speed Control field and then hover your cursor over the field and press "I" key again. You'll see the graph on the left-hand side change to reflect your actions

Do this a few more times and you've just changed the speed of your movie using keyframes!

There are many bug reports and feature requests in programs for easy keyframe editing of the speed of movies:

Openshot
Bug 524364
Bug 506096

Kdenlive
Bug 336
Bug 397
Bug 289

VLMC
Bug 205

Novacut
Bug 680865


Suddenly unable to load or open Ubuntu OS

Maybe the below options can solve your problem:

Try to disable Secure Boot.
Boot from any Ubuntu live USB and try to repair Grub Boot Loader

sudo grub-install /dev/XXX

where XXX is the device of your installed Ubuntu


Ubuntu 14.04 Amd Catalyst drivers installation

Turns out I already had a suitable driver. I just needed to use the xrandr command to expand my desktop across two monitors.


Created apt-mirror but cannot browse to it from localhost/ubuntu

Your link should be directed created at /var/www/html/ubuntu. The default Apache web root directory changed from /var/www to /var/www/html before the release of Ubuntu 14.04.

So your link creation command should be:

ln -s /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/ /var/www/html/ubuntu

It may be necessary to restart the apache2 service after making this change.


Not sure why your screen goes black, but the clipping is due to overscan. Most HD TVs produce a picture which is larger than the displayed area so they don't get a black border when showing normal TV. When using as a monitor, this needs to be adjusted. I use 2 nettop PCs (1 Ubuntu, 1 Debian) with HD TV's as monitors to record and watch TV. The display adapter is NVIDIA which has an application (nvidia-settings) which can change the overscan. Depending on your adapter there should be a similar application to reset it.


Whats the easiest way to install Windows 7 via USB side by side with Ubuntu (Other Questions Below)?

You don't need grub to enter windows 7 installation ,assuming your computer support USB boot. Open BIOS and change the boot order so that the USB comes first before your hard disk.

Opening of BIOS is done generally pressing F2 or Del at startup.Look at screen corners while startup.For more info how to change boot order. consult your manual/help of motherboard (in case its a PC) OR user guide (for notebooks)). Once done, save and exit. The windows 7 installation will start.

Once windows 7 installation is done, it will overwrite the MBR, so grub (and ubuntu) won't be accessible. You need to boot again with live cd/ usb of ubuntu and use a tool called boot-repair to restore ubuntu with option to boot in Win 7. Using this tool is fairly simple, look at here


How do I make a desktop icon to launch a program?

You have to create in your desktop directory (usually ~/Desktop) a .desktop file, let say google_earth.desktop with the following content inside:

[Desktop Entry]
Version=1.0
Name=Google Earth
Comment=Open Google Earth
Exec=/opt/google/earth/free/google-earth %f
Icon=google-earth
Terminal=false
Type=Application
Categories=Utility;Application;

Don't forget to make it executable. You can do this from terminal using the following command:

chmod +x ~/Desktop/google_earth.desktop

See also how to create a .desktop file using a text editor.


Wifi doesn't work on my Lenovo G50-80(Ubuntu 17.10.1)

The solution was taken from this post.

https://askubuntu.com/questions/765584/is-it-possible-to-use-broadcom-bcm43142-wifi-in-ubuntu-16-04%22

The solution was to install the bcmwl package.

sudo apt install bcmwl-kernel-source


Sharing Ubuntu disk to Windows over the network

You can install samba to share this driver :

sudo apt-get install samba

in /etc/samba/smb.conf you can state permissions on this share and allow specific users to use this share .

[share]
    comment = Ubuntu File Server Share (here the name)
    path = /srv/samba/share (here the path of your share)
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0755

You can also give permission to your share by :

sudo chmod 755 /share path (drwxr-xr-x)


How to correctly setup Ubuntu 18.04 LTS installed from mini.iso to use NetworkManager?

To transform the system to normal MATE one should:
Remove systemd-networkd renderer:
sudo rm /etc/netplan/01-netcfg.yaml

Restore NetworkManager renderer:
cat <<EOF | sudo tee /etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager
EOF

Apply netplan configuration with:
sudo netplan apply

Restart NetworkManager
sudo service network-manager restart

Optionally restore contents of /etc/network/interfaces
cat <<EOF | sudo tee /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
EOF

Note: this method is also applicable to Ubuntu MATE 19.10 and 20.04 LTS.


Will installing Ubuntu harm my computer?

If Ubuntu works on a LiveCD, it will likely work when you dual boot. Ubuntu cannot mess your Windows installation up unless you do it incorrectly.

To install it correctly, resize the Windows partition from within Windows 7. Do this by using the device manager (right click My Computer, click device manager, and then use the disk management section).

When you boot the LiveCD and go to the installation screen, it will offer to install alongside Windows 7. Use that option and you should have no further issues, and it will offer to boot Windows on startup.

If you have a Windows 7 DVD, and later want to restore the boot loader for Window 7, you can also do that, but you wouldn't be able to load Ubuntu in that case.

Ubuntu cannot harm your computer btw.


=> No boot loader is installed in the MBR of /dev/sda.
=> No known boot loader is installed in the MBR of /dev/sdb.

So you don't have boot loader on the root partition of your hard drive and

Number  Start   End    Size    File system     Name                          Flags
1      1049kB  473MB  472MB   ntfs            Basic data partition          hidden, diag
2      473MB   578MB  105MB   fat32           EFI system partition          boot, esp
3      578MB   595MB  16.8MB                  Microsoft reserved partition  msftres
4      595MB   689GB  689GB   ntfs            Basic data partition          msftdata
5      689GB   742GB  52.3GB  ext4
6      742GB   750GB  8518MB  linux-swap(v1)

boot flag is set to the second fat32 partition.

Device          Start        End    Sectors   Size Type
/dev/sda1        2048     923647     921600   450M Windows recovery environment
/dev/sda2      923648    1128447     204800   100M EFI System
/dev/sda3     1128448    1161215      32768    16M Microsoft reserved
/dev/sda4     1161216 1346364490 1345203275 641.5G Microsoft basic data
/dev/sda5  1346365440 1448511487  102146048  48.7G Linux filesystem
/dev/sda6  1448511488 1465147391   16635904     8G Linux swap

Suggested idea: install grub loader on /dev/sda

sudo grub-install /dev/sda

using Boot-Repair advanced menu, place the boot flag to /dev/sda  (i.e. grub and boot flag should be set on the same partition).


How to create UEFI-only bootable USB live media?

Overview
Creating UEFI-only booting USB live media is pretty straight forward. Just copy the files to your FAT32-formatted USB drive. That's it!
Remember that for an installation or booting the media:

You may still need to explicitly tell your computer to boot the media via UEFI.
A GPT partition table like in preinstallations of Windows 8 and later is recommended.
Don't forget to create a partition after you've created the partition table.
Use the latest AMD64 (LTS) ISOs, because these definitely contain UEFI bootloaders.

Table of contents

Copy files from the ISO method

Example via terminal
Example via GUI
Example on Windows

The ISO loopback method (advanced)

Creating the binary
Creating the configuration file
Adding persistency
Checking the integrity
UEFI Secure Boot

Review in 2020

1. Copy files from the ISO method
This method also works for other install media that contains EFI loaders, like Windows for example.
1.1. Example via terminal
You can do something like the following if 604A-00EA is your USB drive and you already have p7zip installed:
$ 7z x ubuntu-12.04-desktop-amd64.iso -o/media/$USER/604A-00EA/

You're done if you have only one partition on this USB drive, otherwise you need to flag the partition as bootable e.g. via parted:
# parted /dev/sdX set 1 boot on

Where /dev/sdX would be your USB drive and 1 the partition number that should be used to boot.
1.2. Example via GUI

Mount the .iso-file and copy the contents over to your USB drive. Press Ctrl+H in Nautilus to display and copy hidden files as well.

Add the boot flag via GParted.

1.3. Example on Windows

Same as above, just copy files.
Press Windows/Super+X, go to Disk Management and check if the partition is marked as active. On Windows versions prior to Windows 8, you press Windows/Super+R to open the run menu and open diskmgmt.msc, that would open Disk Management.

2. The ISO loopback method (advanced)
Instead of extracting contents from an ISO image, GRUB and GRUB2 have been able to boot from ISO images directly through a loopback device. Given that the ISO image is UEFI bootable, we can set up a USB drive containing multiple ISOs with different operating systems without creating a mess on the USB drive.
If you want to boot Windows too you might want to look at SARDU. I remember using it with Windows PE around 2005 and it seems to have been updated to support USB drives and UEFI, but remember that this tool also supports legacy booting.
What do we need?

Very basic knowledge of GRUB configuration files.
Very basic knowledge of UEFI booting and GRUB, as we are going to generate our own GRUB bootloader image with a plenty of modules included.
A UEFI bootable ISO image, a FAT formatted USB drive and a machine that runs Linux.

No, we don't need a UEFI installation of Linux (which may be a chicken and egg situation), a traditional Linux VM like in VirtualBox is fine.

2.1. Creating the binary
On your Ubuntu machine or VM make sure the package grub-efi-amd64-bin is installed (grub-efi-ia32-bin is also available for 32-bit Intel architectures on newer releases). The package may have a different name on another distribution, you can compare the file listing of the package to find the right package on your distribution.
The following command will generate the GRUB image, in this case an EFI binary that every computer with a UEFI firmware should be able to run:
grub-mkimage -o bootx64.efi -p /efi/boot -O x86_64-efi \
 fat iso9660 part_gpt part_msdos \
 normal boot linux configfile loopback chain \
 efifwsetup efi_gop efi_uga \
 ls search search_label search_fs_uuid search_fs_file \
 gfxterm gfxterm_background gfxterm_menu test all_video loadenv \
 exfat ext2 ntfs btrfs hfsplus udf

Every standard UEFI firmware should look into \EFI\BOOT\ for a file named boot{arch}.efi, so create the folders on the USB drive and copy the image we just created to this location. Other architectures instead of x64 are possible, but let's keep it simple with x64/amd64.
2.2. Creating the configuration file
A very basic example for a the grub.cfg configuration file that should be placed in the same directory as bootx64.efi would look like this:
set timeout=3
set color_highlight=black/light-magenta

menuentry 'Boot Ubuntu 14.04.2 LTS from ISO' {
        set isofile="/efi/boot/ubuntu-14.04.2-desktop-amd64.iso"
        loopback loop $isofile
        linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noprompt noeject quiet splash persistent --
        initrd (loop)/casper/initrd.lz
}
submenu 'Useful snippets' {
    menuentry 'Ubuntu' {
            chainloader /efi/ubuntu/grubx64.efi
    }
    menuentry 'Windows' {
            chainloader /efi/Microsoft/Boot/bootmgfw.efi
    }
    menuentry 'Firmware Setup' {
            fwsetup
    }
}

The important thing is the configuration block with the title Boot Ubuntu 14.04.2 LTS from ISO. You can change the color and timeout to your preference. I chose black/light-magenta as it still looks a bit Ubuntu-ish but is easily distinguishable when chainloading other configurations. You can find more examples for other distributions in the Arch Wiki and reading the GRUB manual is really worth your time if you want to go beyond that.
Getting back to the configuration block, it should be obvious that the ISO is referenced as /efi/boot/ubuntu-14.04.2-desktop-amd64.iso, so copy your ISO to \EFI\BOOT\ and replace ubuntu-14.04.2-desktop-amd64.iso in the configuration with the actual filename of your ISO.
loopback loop $isofile is the line, that will load our ISO file to a loopback device from which we can boot the Linux kernel directly. This is possible because our EFI GRUB image includes the loopback module. (A bit of trial and error was involved in figuring out which modules are reasonable to include. You shouldn't see any error messages, it's still not perfect though.) Speaking of the kernel you can add kernel parameters like toram, parameters for different languages (example locale=de_DE bootkbd=de) and as in the example: persistent
2.3. Adding persistency
You can add a partition as described in: How do I get a live-USB to use a partition for persistence? Or you can create a casper-rw file and place it at the root of your USB drive.
dd if=/dev/zero of=casper-rw bs=1M count=4094
mkfs.ext4 -m 0 casper-rw

I haven't tested what the absolute maximum is, it should be somewhere between 4094 and 4096 MB. Use a partition if you intend to use more space. Note that every change to the (root) is a modification to the overlay filesystem, even deleting files.
2.4. Checking the integrity
You should look at answers to the following questions to verify that the Live ISO content on the USB drive is in pristine condition:

How can I check the integrity of a downloaded Ubuntu CD?
Can an integrity check be run against a USB boot disk?

2.5. UEFI Secure Boot
Secure Boot will become mandatory with Windows 10 machines, I suggest you have a look at the Linux Foundation's PreLoader to add Secure Boot functionality to this setup. Here is some ASCII art illustrating menus of the accompanying HashTool.
3. Review in 2020
I wrote this answer more than 5 years ago. How well does it still work? It works well for Ubuntu. install.wim from latest Windows 10 images however exceeds the FAT32 maximum file size and bigger images like RHEL 8 also don't fit. I tried Rufus yesterday and noticed that it uses GRUB too with NTFS EFI modules to read another NTFS partition where it stored the Windows installation files. It failed to load data from this partition though. Also exFAT is now commonplace.
Windows is picky with drives that have no partition tables. Trying to re-purpose older SSDs as chunky USB thumb drives does not work really well on Windows. Maybe I need to read some Microsoft documentation to find out what the rationale was to make it a bit more complicated than on Linux.
ChromeOS is a different topic, I think it's not possible to create recovery media the way I prefer. Which is cumbersome when you have to use Windows and reformat the entire drive to create media for your Chromebook.
Interesting stuff, let's hope I find time to fix some of this and learn a few more new things.

Congratulations, I'd say you now mastered UEFI booting and shouldn't be afraid anymore.


Each user in linux has only one name and that is his only name. you can create aliases for commands not for users.

But you can create a second user with the same UID, home directory and password that would do the trick for you.


Can I change which user is automatically logged in based on the time?

Which user is automatically logged in is stored in the /etc/gdm/custom.conf file.  You'd have to write a script to update that file and use cron to call it at the appropriate time.


Can I add a regular download link to Software Sources or 'sources.list'?

The download links are not just any link but are the addresses of apt/debian repositories. If your specific software/program sets one up, you can add it but no, you can't add standard http links.

If you try to add them, and Software Sources lets you, that will break installs/updates on your system until you remove it.


How can I force fullscreen on my right screen?

After reading severals questions about the subject "multiple-monitors", I've found the solution.
In this answer I've discovered the existance of file ~/.config/monitors.xml. (thank you "pamar84")
So I did this:

do a backup of this file cp ~/.config/monitors.xml ~/.config/monitors.xml-bkp
open this file gedit ~/.config/monitors.xml
this file was containing 3 configurations !!!
So I did some cleaning:

I've found the configuration that I'm using and remove the 2 others.
also set my left screen to be the primary one.

Now with such nice ~/.config/monitors.xml file, Firefox is not disoriented anymore and have the good behavior:
- when my window is left side and I choose full-screen => full-screen is left screen
- when my window is right side and I choose full-screen => full-screen is right screen

Here is the content of the cleaned ~/.config/monitors.xml file:


ubuntu 14.04 - USB serial port - device reports readiness to read but returned no data (device disconnected?)

I had a similar Problem. After a recent update of ubuntu 14.04 my serial connections failed. I found this and it worked for me: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1501240

After booting the 3.13.0-63-generic kernel everything worked again.

btw: instead of chmod 777 every /dev/ttyUSB* you can maybe simply add the user to the group "dialout".


How do I verify that syndaemon is disabling the touchpad while I type?

-t  Only disable tapping and scrolling, not mouse movements, in response to keyboard activity.

See man syndaemon for more info.

Basically, you've disabled tapping and scrolling, but not movement with that command. Try something like this instead:

syndaemon -i 0.8 -K -R


Linux 13.04 Wired connection not automatically on

Go to System settings> Network > Wired > click on the 'options' below on the right side > a pop up window appear and check the 'connect automatically' option.


Try this command (it's different from the one in your question):

sudo apt-get install oracle-java8-installer

If you haven't already added the Oracle Java Installer PPA, you have to do that first. The PPA supports Oracle Java 8 for both 32-bit and 64-bit operating systems:

sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer

To automatically set up the Java 8 environment variables:

sudo apt-get install oracle-java8-set-default


NTFS vs EXT4 behavior on a HDD with a bad block

Because a freshly formatted NTFS happens to not use that bad sector.  Thus it wasn't written to, and so the error was not noticed.


Having a Problem After Installing Mac-osx Theme and setting it up With Cairo dock

This may work.

sudo dpkg --clear-avail
sudo apt-get update

It may also not. You also need to check your file system for errors, and make sure your only using repos that are for your version of Ubuntu.

I would start with the above commands, then if that still doesn't work,  have a look here for restoring your apt database.

You can also try (very dangerous)

sudo mv /var/lib/dpkg/updates /root/
sudo apt-get update
sudo mkdir /var/lib/dpkg/updates
sudo chmod 755 /var/lib/dpkg/updates

Assuming you're back on track you can then remove the copy of updates in /root/updates


Ubuntu 14.04 OS Keyboard Shortcuts Caught by Programs

You can workaround it with dconf-editor.

Go to org.gnome.settings-daemon.plugins.media-keys and edit manually your keyboard shortcut.


How to use alternate config file when compiling the Kernel?

I have an alternate kernel config, which is not the default Ubuntu config. How to use the alternate configuration ?

It is as simple as copying the alternate .config to the top-level linux kernel source directory. You can check if it's the top-level by verifying with ls that the Kbuild or Kconfig files exist in the directory.

Then compile your kernel as usual (make-kpkg, etc.).


Ubuntu Equivalent to Microsoft Windows Shortcuts

Is there an equivalent to Microsoft Windows' shortcuts in Ubuntu?

Lets remember that shortcuts in Windows (those files with a .lnk extension) are files with metadata which represent a file/directory redirection only recognized by the Windows file manager, explorer.exe.

Linux, ergo Ubuntu, doesn't have the same behavior. Instead of a file that can only be interpreted by only the file manager, it uses the Freedesktop specification of .desktop files. There's a counterpart for directories which uses .directory extension, but the behavior "you open one of these files, and some file/directory gets executed" is the same as explorer shortcuts. These are supported by most (if not all) file managers available in Ubuntu and Linux.

You can read the complete specification in Freedesktop.org

  If the target file is moved the shortcut is updated and knows the new location of the file.

Neither, Freedesktop and Windows Explorer, have such functionality. The only thing that is able to realize it are hard links.


You should be able to simply use Keyboard Layout >> Options >> Ctrl key position >> Right Alt as Right Ctrl, but this doesn't work. This has already been filed against Debian as Bug#663218

Start fresh by deleting ~/.Xmodmap.

Note that you do not need to clear Control and Mod1. This makes it easier to change only what you want. Your ~/.Xmodmap shoud be:
!Swap right control and right alt
remove Control = Control_R
remove Mod1 = Alt_R
keycode 105 = Alt_R
keycode 108 = Control_R
add Control = Control_R
add Mod1 = Alt_R


Dual booting regular Ubuntu with LVM Fedora

Ubuntu does not have the LVM driver installed unless you have Ubuntu using LVM. And then it cannot see the Fedora install.

# to find an LVM install from a non-LVM install
sudo apt-get install lvm2
sudo vgchange -a y
sudo update-grub

More info:

How do I triple-boot Ubuntu, Fedora and Windows 7?

One of the advantages of LVM is total management of the entire drive. So if multi-booting and not installing all installs inside the LVM, often then better to install Fedora in a standard ext4 partition.

Advantages/Disadvantages LVM Post #9

http://ubuntuforums.org/showthread.php?t=1586328&p=9917145#post9917145

https://wiki.ubuntu.com/Lvm


Permission denied while i was installing ubuntu 14.04 by wubi

Wubi is no longer supported. See this link

Ubuntu Forums Staff recommendations on WUBI

  Though WUBI (Windows-Based-Ubuntu-Installer) is included with the
  Ubuntu ISO up to the 14.04 release it is no longer officially
  supported by Canonical.

  With no active development for Wubi, there are few experienced users
  of Ubuntu who also use wubi on this forum, and hence few here who can
  give informed support for wubi.

  There are some existing resources available for those who choose to
  use this application as a means to try Ubuntu.

  http://askubuntu.com/questions/449486/windows-installer-for-ubuntu-14-04-lts-onwards

  https://wiki.ubuntu.com/WubiGuide


How do I make English (United States) the default language in Firefox?

Here's what I figured out. Firefox on Ubuntu uses a different spellchecker than other platforms. In /usr/lib/firefox there is a symlink called dictionaries which maps to /usr/share/hunspell. I deleted all the files there except for en_US.aff and en_US.dic and now I am getting US English by default. I can't figure out what package the other English versions are a part of. On searching in Synaptic there is a hunspell-en-us and hunspell-en-ca but no other English version in the repos. I'm assuming the other English versions will return when whatever package it is gets updated.


sudo service apache2 restart for the way that's borrowed from Red Hat.


It's case sensitive.

$ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mysqldb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'mysqldb'
>>> import MySQLdb
>>>

Installed same package as you, and seems to work.

Edit: I missed that you were using it inside a virtual environment! Sorry.

To use site packages inside a virtualenv, you have to pass --system-site-packages to virtualenv, e.g.

[~]$ virtualenv -p python3 --system-site-packages tmp/
[~]$ source tmp/bin/activate
(tmp) [~]$ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
>>>


Can't find some Software (Like Adobe Reader) in the USC

For Adobe Reader you need to download it from the official adobe site.

Open the terminal Ctrl-Alt-T and type this

wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.1/enu/AdbeRdr9.5.1-1_i386linux_enu.deb

then

sudo dpkg -i AdbeRdr9

*Important*

If you are running a 64-bit version of Ubuntu you will need to install this first

sudo apt-get install ia32-libs


Ubuntu 20.04 crashes randomly (Intel i9-9900K, Nvidia 3090)

Problem was, XMP was set to auto in BIOS. I changed it to II, and stopped crashing.


Just add

deb http://download.webmin.com/download/repository sarge contrib

in your sources.list and run the command

wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -

to import the key

after that

apt-get update
apt-get install webmin

this is a good tutorial at UbuntuHandbook


What are the minimum system requirements for Lubuntu?

I know the System Requirements for the Desktop version show that it is recommended on PCs with more than 1GB of RAM. but I have to mention 2 cases for me:

CPU: 700Mhz Intel Pentium 3
RAM: 256MB
HDD: 20GB
OS: Lubuntu 12.04
WORKS: Like a Charm 2.0 ^^

CPU: 550Mhz Intel Pentium 3
RAM: 128MB
HDD: 40GB
OS: Lubuntu 12.04
WORKS: Like a Charm 2.0 ^^

In both cases I am using Lubuntu and test it, well everything. There was no lag, no problems, no nothing. Just works and it truly makes the PC come to life. I mean they had Windows XP and the minute they had Lubuntu and the users learned in a day how to use it they told me they felt the PCs as if they were brand new. They even booted faster.

Another case is a laptop I have here:

BRAND: Dell Latitude CPx Notebook
CPU: 650Mhz Pentium 3
RAM: 128MB
HDD: 6GB
OS: Lubuntu 12.04
WORKS: Like a duck in the water. Like an elephant in Africa. Like my teeth on a Pizza.

And the last case which I mention also here: Lighter in CPU/Memory Usage: Lubuntu or Xubuntu is this PC:

CPU - Pentium 2 450Mhz
RAM - 64MB DIMM
HDD: 20GB
OS: Lubuntu 12.04
WORKS: When pigs fly!. I have to actually put 128MB RAM total to install it, then I took the memory and left it again with 64MB. I can't say it runs smooth but it sure beats the speed of others. Takes a bit longer to start (About a minute) and to open anything but come on, that is 64MB. My pen drive is 32GB. I can't ask the PC for more.

This pretty much gives you an idea. For your PC I am sure it will work correctly and smooth. I am even more sure that it will work even better than Windows XP or higher.


Linux image update (linux-headers-4.15.0-106) made Ubuntu 18.04 LTS unbootable

I have fixed the problem by just remove and reinstall the headers. If you can still access Ubuntu with different Linux header, install other versions (like version 64) first, and back up all your documents first, just in case. My guess is that intel-microcode is updated a while after the unbootable problem. I was lucky that the version 65 can be booted multiple times.

sudo apt remove linux-headers-4.15.0-106-generic:amd64 linux-modules-4.15.0-106-generic:amd64 linux-image-4.15.0-106-generic:amd64 linux-modules-extra-4.15.0-106-generic:amd64 linux-headers-4.15.0-106:amd64

sudo apt install linux-headers-4.15.0-106-generic:amd64 linux-modules-4.15.0-106-generic:amd64 linux-image-4.15.0-106-generic:amd64 linux-modules-extra-4.15.0-106-generic:amd64 linux-headers-4.15.0-106:amd64


Will I lose data in Windows if I upgrade from Ubuntu 16.04 to 18.04

Dual boot depends on the grub EFI file, which shouldn't be affected by the upgrade process. If, for some reason, the upgrade does muck up your dual boot setup, the computer should default to booting into Windows. If this happens, you can do one of two things: either add grub as a trusted EFI file in the BIOS/UEFI settings, or disable SecureBoot.

Regardless, your files on Windows should be fine. Assuming you're not using full-disk encryption, you can boot from a live USB and access data on both partitions.


curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs

You may also want to install the build tools:

sudo apt-get install -y build-essential

According to the nodejs website


how to replace windows 7 completely and repair grub

Here is how to fix GRUB, thus getting Ubuntu to boot:

Boot into Live CD
Start a Terminal session
Run sudo apt-get update && sudo apt-get install boot-repair && sudo boot-repair
Select the recommended repair
Follow the instructions you are given
Reboot
Profit!


Possible graphical solution: A graphical sessions management tool may exist in KDE. Session Management

Non-graphical backup solution: I believe you need to open up a Terminal and enter

rm ~/.kde4/share/config/ksmserverrc & rm -r ~/.kde4/share/config/session/*

These should clear all saved sessions, hopefully. Research


Frequent 2 minutes pauses on web browser requests

I figured out a resolution, although not an explanation - taking out the ethernet cable made the problem go away. I'm a bit confused, because even when I was connected wirelessly, and could see traffic using the wifi connection, just having the cable plugged in caused this problem. If anyone has a suggestion for what that might be, I'd be keen to hear it, but for now, not using a wired connection is good enough for me.


Can't see fonts that are properly placed

You can definitely use the fonts placed in ~/.fonts, although you need to place the *.ttf files there for the corresponding fonts.

Use lxappearance for using the fonts, you can choose the fonts right from the drop down menu in this program. In case of a few friends though, I found that your fonts may not be listed in the menu, in that case you will need to edit a few files in order to apply the fonts everywhere in the system. The steps you need to take then are :

Open lxappearace
Choose any font from the list and hit apply. This will create certain *.config files which you can then edit to use the desired fonts as your GTK fonts.
Now in the following files at appropriate place change the name of the font to the one you want.

The files you'll need to edit

~/.gtkrc-2.0
~/.config/gtk-3.0/settings.ini

I got to know about this method from this video.

Now you should be able to use the fonts of choice every where in the system.


Running Ubuntu on PC- A Couple of Questions?

Yes. You can dualboot Windows and Ubuntu anyway.
Performance is similar.
I don't think so. Please indicate the model you want to buy.
This is not a question related to Ubuntu.


How to get the 10.10 Ambiance theme on 10.04


nVidia GeForce4 MX 440 with AGP8X in Ubuntu 13.10

Apparently it is supported very well by the Nouveau driver, I get glitches all over my screen... I have already installed the "Nvidia 173 driver" but it only gets worse --1024x768 tops.


Can I torrent a dvd and still try ubuntu

"Trying" Ubuntu should be the first option on the list. Just let Ubuntu bootup without pressing anything and it should default to trial mode.

Make sure you don't accidentally have the 'alternative' dvd.


System Settings ->  Software & Updates -> Other Software, uncheck archive.getdeb.net box.
Worked fine on Ubuntu 16.04.


Suspend machine with Ubuntu 18.04 and Amd Pro WX 3100 dosen't work the second time

Same here ! Same machine as you (HP Zbook G5). Output of lspci :

00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Polaris12 [1002:6985]

Kernel : 4.15.0-36-generic. I'm running Mint 19, based on Ubuntu 18.04 LTS Bionic.

I've noticed also that lspci will block (and impossible to kill) after the first suspend.

Resuming has some traces in syslog around amdgpu:

Oct 13 10:57:36 TIX-02 kernel: [  114.169456] [drm] PCIE GART of 256M enabled (table at 0x000000F400040000).
Oct 13 10:57:36 TIX-02 kernel: [  114.211766] e1000e: enp0s31f6 NIC Link is Down
Oct 13 10:57:36 TIX-02 kernel: [  114.214529] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
Oct 13 10:57:36 TIX-02 kernel: [  114.225226] BUG: unable to handle kernel paging request at ffffb57f01b08fec
Oct 13 10:57:36 TIX-02 kernel: [  114.225269] IP: smu7_populate_single_firmware_entry.isra.6+0x5b/0xe0 [amdgpu]
Oct 13 10:57:36 TIX-02 kernel: [  114.225271] PGD 45ed48067 P4D 45ed48067 PUD 0
Oct 13 10:57:36 TIX-02 kernel: [  114.225275] Oops: 0002 [#1] SMP PTI
Oct 13 10:57:36 TIX-02 kernel: [  114.225276] Modules linked in: rfcomm pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) bnep binfmt_misc nls_iso8859_1 arc4 snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic snd_soc_skl snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_dsp snd_soc_sst_ipc snd_soc_acpi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine hid_multitouch intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass snd_hda_intel crct10dif_pclmul snd_hda_codec snd_hda_core crc32_pclmul snd_hwdep ghash_clmulni_intel pcbc snd_pcm snd_seq_midi snd_seq_midi_event iwlmvm mac80211 snd_rawmidi aesni_intel btusb btrtl aes_x86_64 btbcm crypto_simd glue_helper btintel cryptd intel_cstate bluetooth idma64 virt_dma snd_seq snd_seq_device snd_timer ecdh_generic intel_rapl_perf iwlwifi uvcvideo
Oct 13 10:57:36 TIX-02 kernel: [  114.225346] CPU: 2 PID: 61 Comm: kworker/2:1 Tainted: G           O     4.15.0-36-generic #39-Ubuntu
Oct 13 10:57:36 TIX-02 kernel: [  114.225347] Hardware name: HP HP ZBook 15u G5/83B2, BIOS Q78 Ver. 01.03.00 07/18/2018
Oct 13 10:57:36 TIX-02 kernel: [  114.225351] Workqueue: pm pm_runtime_work
Oct 13 10:57:36 TIX-02 kernel: [  114.225383] RIP: 0010:smu7_populate_single_firmware_entry.isra.6+0x5b/0xe0 [amdgpu]
Oct 13 10:57:36 TIX-02 kernel: [  114.225384] RSP: 0018:ffffb56301b6fb98 EFLAGS: 00010246
Oct 13 10:57:36 TIX-02 kernel: [  114.225386] RAX: 0000000000000089 RBX: ffffb57f01b08fec RCX: 0000000000534000
Oct 13 10:57:36 TIX-02 kernel: [  114.225387] RDX: ffffffffc08be38d RSI: 0000000000000000 RDI: ffff9ece9c4a4cc0
Oct 13 10:57:36 TIX-02 kernel: [  114.225389] RBP: ffffb56301b6fbe8 R08: 000000000003fa80 R09: ffffb56301b6fbcc
Oct 13 10:57:36 TIX-02 kernel: [  114.225390] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000003
Oct 13 10:57:36 TIX-02 kernel: [  114.225391] R13: ffff9ece9ed44010 R14: ffff9ece8fd02000 R15: 000000000000047e
Oct 13 10:57:36 TIX-02 kernel: [  114.225393] FS:  0000000000000000(0000) GS:ffff9eceaf480000(0000) knlGS:0000000000000000
Oct 13 10:57:36 TIX-02 kernel: [  114.225394] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 13 10:57:36 TIX-02 kernel: [  114.225396] CR2: ffffb57f01b08fec CR3: 0000000166e0a005 CR4: 00000000003606e0
Oct 13 10:57:36 TIX-02 kernel: [  114.225397] Call Trace:
Oct 13 10:57:36 TIX-02 kernel: [  114.225427]  smu7_request_smu_load_fw+0xb7/0x340 [amdgpu]
Oct 13 10:57:36 TIX-02 kernel: [  114.225454]  polaris10_start_smu+0xdd/0x220 [amdgpu]
Oct 13 10:57:36 TIX-02 kernel: [  114.225484]  pp_resume+0x49/0xb0 [amdgpu]
Oct 13 10:57:36 TIX-02 kernel: [  114.225510]  amdgpu_pp_resume+0x25/0x30 [amdgpu]
Oct 13 10:57:36 TIX-02 kernel: [  114.225529]  amdgpu_resume_phase2+0x4b/0xc0 [amdgpu]
Oct 13 10:57:36 TIX-02 kernel: [  114.225549]  amdgpu_device_resume+0x15f/0x3d0 [amdgpu]
Oct 13 10:57:36 TIX-02 kernel: [  114.225551]  ? __pci_set_master+0x34/0xe0
Oct 13 10:57:36 TIX-02 kernel: [  114.225555]  ? vga_switcheroo_set_dynamic_switch+0x80/0x80
Oct 13 10:57:36 TIX-02 kernel: [  114.225573]  amdgpu_pmops_runtime_resume+0x76/0xc0 [amdgpu]
Oct 13 10:57:36 TIX-02 kernel: [  114.225576]  pci_pm_runtime_resume+0x7b/0xb0
Oct 13 10:57:36 TIX-02 kernel: [  114.225579]  vga_switcheroo_runtime_resume+0x53/0x60
Oct 13 10:57:36 TIX-02 kernel: [  114.225580]  __rpm_callback+0xca/0x210
Oct 13 10:57:36 TIX-02 kernel: [  114.225583]  ? vga_switcheroo_set_dynamic_switch+0x80/0x80
Oct 13 10:57:36 TIX-02 kernel: [  114.225585]  rpm_callback+0x24/0x80
Oct 13 10:57:36 TIX-02 kernel: [  114.225587]  ? vga_switcheroo_set_dynamic_switch+0x80/0x80
Oct 13 10:57:36 TIX-02 kernel: [  114.225589]  rpm_resume+0x4e1/0x7d0
Oct 13 10:57:36 TIX-02 kernel: [  114.225591]  pm_runtime_work+0x55/0xa0
Oct 13 10:57:36 TIX-02 kernel: [  114.225593]  process_one_work+0x1de/0x410
Oct 13 10:57:36 TIX-02 kernel: [  114.225595]  worker_thread+0x32/0x410
Oct 13 10:57:36 TIX-02 kernel: [  114.225598]  kthread+0x121/0x140
Oct 13 10:57:36 TIX-02 kernel: [  114.225600]  ? process_one_work+0x410/0x410
Oct 13 10:57:36 TIX-02 kernel: [  114.225602]  ? kthread_create_worker_on_cpu+0x70/0x70
Oct 13 10:57:36 TIX-02 kernel: [  114.225605]  ret_from_fork+0x35/0x40
Oct 13 10:57:36 TIX-02 kernel: [  114.225607] Code: 00 48 89 45 e0 31 c0 f3 48 ab 49 8b 7d 00 89 f0 0f b6 b0 a0 55 9b c0 48 8b 07 48 8b 40 70 e8 2d dd 72 ca 85 c0 75 48 0f b7 45 b2 <66> 44 89 23 48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 45 c0 48
Oct 13 10:57:36 TIX-02 kernel: [  114.225659] RIP: smu7_populate_single_firmware_entry.isra.6+0x5b/0xe0 [amdgpu] RSP: ffffb56301b6fb98
Oct 13 10:57:36 TIX-02 kernel: [  114.225661] CR2: ffffb57f01b08fec
Oct 13 10:57:36 TIX-02 kernel: [  114.225662] ---[ end trace 13979f48dea591d0 ]---

The subsequent suspend fails because of a pending Working Queue :

Oct 13 11:00:26 TIX-02 kernel: [  283.318936] Freezing of tasks failed after 20.010 seconds (0 tasks refusing to freeze, wq_busy=1):
Oct 13 11:00:26 TIX-02 kernel: [  283.318944] Showing busy workqueues and worker pools:
Oct 13 11:00:26 TIX-02 kernel: [  283.318958] workqueue pm: flags=0x4
Oct 13 11:00:26 TIX-02 kernel: [  283.318967]   pwq 6: cpus=3 node=0 flags=0x0 nice=0 active=0/0
Oct 13 11:00:26 TIX-02 kernel: [  283.318990]     delayed: pm_runtime_work
Oct 13 11:00:26 TIX-02 kernel: [  283.319061]   pwq 4: cpus=2 node=0 flags=0x0 nice=0 active=2/0
Oct 13 11:00:26 TIX-02 kernel: [  283.319081]     in-flight: 2481:pm_runtime_work pm_runtime_work
Oct 13 11:00:26 TIX-02 kernel: [  283.319109] workqueue writeback: flags=0x4e
Oct 13 11:00:26 TIX-02 kernel: [  283.319115]   pwq 16: cpus=0-7 flags=0x4 nice=0 active=0/0
Oct 13 11:00:26 TIX-02 kernel: [  283.319133]     delayed: wb_workfn
Oct 13 11:00:26 TIX-02 kernel: [  283.319177] pool 4: cpus=2 node=0 flags=0x0 nice=0 hung=12s workers=5 idle: 676 2036 23 481
Oct 13 11:00:26 TIX-02 kernel: [  283.319334] Restarting kernel threads ... done.
Oct 13 11:00:26 TIX-02 kernel: [  283.319837] OOM killer enabled.

So globally ampgpu and resume do not work well together ...
It is also mentioned here: https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/suspend-resume-dosen%27t-work-on-hybrid-graphic-laptop-4175627735/ but solution was a workaround (hibernate instead of suspend).

I've removed firmwares for Polaris10 and Polaris11, from /lib/firmware/amdgpu: same behavior.

My amdgpu driver is the X.org one, version 18.0.1-1; which means I'm not on the latest version, which is 18.1.0.

I first tried to install the latest AMD driver, tricking the install script (os-release mint/ubuntu issue). But when restarting Cinnamon went in fallback mode, and suspend behaviour was the same: so I uninstalled the AMD driver...

Then, I tried the solution described here. But this is worse: when resuming the system, the display is frozen, no mouse or keyboard response, even Magis Sysrq does nothing.

Then ... got latest ubuntu 18.1.0-1 xserver-xorg-video-amdgpu package sources, compiled it and installed it: no change!

Got latest Ubuntu linux-firmware package, installed it: no change.

git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git and put Polaris12 firmware in /lib/firmware ... problem is still there.

This seems to be related to the kernel itself, or amdgpu kernel driver or DRM.

I've installed some kernels through UKUU:

4.18.14 works fine! Try it! (for me not OK, I have virtualbox 5.2.10 and vboxdrv module does not compile on 4.18.14)
Same for 4.14.76! (and OK for me for virtualbox 5.2.10)
4.4.161 will not boot


Annoying beep tone after Ubuntu 20.04 install on Macbook 5,1

Based on this support article it sounds like your machine may be trying to do an EFI ROM update. If it’s happening with every boot, there may be something failing. As for the welcome chime, that’s built into the ROM. There’s no erasing that without a MacOS update to something like Catalina.


How do I get input from more than 4 wireless controllers on with xboxdrv?

To see what controllers are available, use:

xboxdrv --list-controller

It will tell the id and wid. To use the second wireless receiver:

xboxdrv --daemon \
                    -i 0 -w 0 --detach-kernel-driver \
  --next-controller -i 0 -w 1 --detach-kernel-driver \
  --next-controller -i 0 -w 2 --detach-kernel-driver \
  --next-controller -i 0 -w 3 --detach-kernel-driver \
  --next-controller -i 1 -w 0 --detach-kernel-driver \
  --next-controller -i 1 -w 1 --detach-kernel-driver

-i is the USB device, -w is for the controller on that USB device.


What's responsible for Dash Online lookups? -- I want to uninstall it

I don't know that there is anything to uninstall, but I think that this maybe something that might help.  Open system setting and click on Privacy, once open you can Turn Online Searches On of Off.  See images below.


Nvidia graphics card failed after upgrade to 10.10

Download the proprietary drivers from here. To run it, switch to runlevel 1 using sudo init 1, then log in from a console and run it with sh NVidia*.run.

When it asks whether to run nvidia-xconfig, select "Yes". Restart and you're good to go.

Note: you might need to run it again after every kernel update.


Is it possible to find out which files are deleted during a filesystem recovery check?

Check in your /var/log/fsck/ directory the file checkfs. It is the logfile of fsck.


VLC UBUNTU external monitor automatically

Window positioning is handled by the desktop manager (ie. Gnome, Plasma, Mate, etc) not by the app.

Have a look at this similar question for a possible answer How can I set the position that terminal opens at?


Finally I found solution in this web: http://www.voip-x.co.uk/files/adam/   :D

Thanks to "gokulvarma" -> with nomodeset I enter to console mode (tty). And I installed:

linux-image-2.6.36-0-vaioz_2.6.36-0.1_amd64.deb
linux-headers-2.6.36-0_2.6.36-0.1_all.deb
linux-headers-2.6.36-0-vaioz_2.6.36-0.1_amd64.deb

Thanks to Adam and Sony Vaio Z group, in launchpad, for this kernel!  :))

So now work X mode and I can use both GPU. Nvidia graphic use Nouveau. If I install Nvidia driver (recommended or last) 3D mode is disable.

Both graphic work good with 3D mode but...

if I enter to Display setting or open some program (which use wine) display blind 1 or 2 times (only extern monitor).
sometimes Intel graphic not detect well extern monitor on the boot.

Other hardware work fine. Touch-pad work thanks to same patched kernel.

I hope this patch will be in new stable kernel.

PS. I installed Ubuntu 10.10 x64 with nomodeset. Here are steps for installation.

Update (2010.11.26): Kernel updated to 2.6.37-6. Thanks Adam!  =))

Update (2011.04.30): I tried update to Ubuntu 11.04 on my VPCZ11C5E and all work (without any patch) fine less Intel GPU (only works Nvidia). Any way when I find so patch which improve Sony Vaio Z performance I going to post here.


How do I restore the original color scheme, icons, and theme?

Open terminal Ctrl+Alt+T and run following command:

Reset Icon Pack

gsettings set org.gnome.desktop.interface icon-theme ''

Reset Theme

gsettings set org.gnome.desktop.interface gtk-theme ''

gsettings set org.gnome.desktop.wm.preferences theme ''

gconftool-2 --set --type string /apps/metacity/general/theme ''

Reset Launcher

gsettings reset com.canonical.Unity.Launcher favorites

Reset Panel

gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"

After run this command logout and login back.


Does the MegaUpload shutdown put Ubuntu One at risk?

From the "Acceptable use and conduct" section of the Ubuntu One Terms of Service:

  All usage of the services must be legal and not infringe any third
  party's rights. You must not take any action or use the services in
  any way that might bring Canonical into disrepute, affect the ability
  of Canonical to provide the services, be illegal, or encourage illegal
  activities. You may not use the services in any manner that might be
  libellous or defamatory (more info on what that
  means), that
  contains threats or incites violence towards individuals or entities,
  or that violates the privacy or publicity rights of any third party.
  Some services have usage limitations as indicated at
  https://one.ubuntu.com/plans, and you may not exceed these. As part of
  the services, you may store data on Canonical's servers or those of
  Canonical's suppliers. You should ensure that this data is not in
  breach of any applicable law and does not breach any individual's data
  protection or privacy rights. You shall indemnify Canonical in full
  for any loss, cost or damages suffered by it as a result of your use
  or misuse of the services.

I'm not a lawyer, but I think that makes it pretty clear that Canonical does not allow for Ubuntu One to be potentially used for piracy on a large scale.

At any rate, I don't think Ubuntu One is in any danger as file-sharing is not its primary purpose: synchronization between your own personal machines is. I'm not a user of file-sharing sites like Megaupload, but in their case (from what I understand) their site was primarily meant for sharing vast quantities of files between anonymous users. If Canonical's primary plan for Ubuntu One was to facilitate piracy, then they would be more likely to become a target.


How to get userID when writing Linux kernel module

Use get_current_user()->uid; instead of get.


Ubuntu 18.04 monitoring connected devices on wifi

You can use nmap to get a list of the devices connected.
You can find the information about using it here, on itsfoss and on howtogeek.
But the TL;DR is:

Install nmap sudo apt-get install nmap
Get your ip address via ip a
Assuming you get an output like inet 192.168.1.104/24
Run sudo nmap -sn 192.168.1.0/24 to get the list of devices connected on your network.
Further, you can use something like the watch command to schedule the process to run continuously to view the list devices at all time.

I'd recommend you go through the blogs to understand how it works.
Cheers!


Incorrect oversized theme: 20.04 LTS, KDE, 2 monitors, nvidia 1050ti with proprietary driver,. The bug only happens if both are powered during boot

This is not really an answer, but I found that if I change the fonts, in System Settings >> Fonts and change all the fonts to something smaller, it rectifies itsself, after a few reboots. It seems to scale down all of the menu boxes, etc. I've changed mine to 10pt. My dual displays are 1920x1080.
FYI, I had the same problem with the high resolution laptop screen, which I don't use when the dual monitors are hooked up.
This approach is kind of counter-intuitive, since the fonts displayed are certainly not 10pts, but more like 14 or 16.
I somehow think this may be an issue with the display driver. Mine is Nividia 340, which apparently, Nivida no longer supports on newer kernels.


Add the ondrej/php PPA:
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-install php7.4-curl


Having user1's home direcrory on internal hdd and user2' home direcrory on external hdd?

The user's HOME directory is set upon user login, from the 6th colon separated field in the user's /etc/passwd entry. For example, MY /etc/passwd file contains these users:

walt2:x:1001:1000:Walt2 Sullivan,,,:/home/walt2:/bin/bash
walt:x:1000:1000:Walt Sullivan,,,:/home/walt:/bin/bash

User walt2's HOME directory is /home/walt2, and walt's HOME directory is /home/walt. They could be anywhere that is mounted at the beginning of the user's login.

Read man 5 passwd and man vipw (always use vipw to edit the passwd - it can use any EDITOR, not only vi).


Actually it is not possible to run the Lync client on Linux. The "lync Web app" client does not work on Linux even with the binaries of the mono project. For the time being Microsoft doesn't say if they have it on their road map.

There are third party Linux clients (including one that Microsoft qualified, the snom embedded client that does presence and enterprise voice). The protocol documentation makes it possible for the Linux community to build such clients. There is no Microsoft built full client, but the Microsoft OWA web client is supported on Linux and delivers IM and Presence.

You can try The SIPE Project, which is a third-party Pidgin plugin for Microsoft LCS/OCS.

  The SIPE project develops a third-party plugin for the Pidgin
  multi-protocol instant messenger. It implements the extended version
  of SIP/SIMPLE used by various products such as Microsoft Office
  Communications Server, Reuters Messaging, Microsoft Live
  Communications Server. With this plugin you should be able to replace
  your Microsoft Office Communicator client with Pidgin.

  It is not recommended to compile the source code yourself. Experience
  has shown that it is difficult to get all prerequisites correctly in
  place, especially for new Linux users. Instead you should use the
  ready-to-use installation packages which most OS distributions offer
  under the name pidgin-sipe.

  The snom enterprise solution utilizes the comprehensive unified
  communications functionality of our Unified Communications partners'
  solutions to provide large scale enterprises and corporations with a
  complete communications system: snom devices are compatible with both
  of these partner’s unified communications solutions whilst remaining
  as fully functional and interoperable devices in their own right.

  This means that not only can you take full advantage of all the rich
  presence, video conferencing and communications management strengths
  of unified communications, but you can also sleep easy in the
  knowledge that if you decide to switch to a different enterprise level
  solution in the future, you will not need to ditch the phones.

Also, it seems like Pidgin, is being mentioned a lot with regards to Lync.

  Pidgin is a chat program which lets you log in to accounts on multiple
  chat networks simultaneously. This means that you can be chatting with
  friends on MSN, talking to a friend on Google Talk, and sitting in a
  Yahoo chat room all at the same time.

  Pidgin runs on Windows, Linux, and other UNIX operating systems.

Sources, and more information:

SIPE

SNOM

Microsoft Lync Qualified Products

PR Web

Microsoft Lync on Linux


You might check the firmware on the new 240GB Kingston M.2 SSD.

Firmware and utility:

https://www.kingston.com/us/support/technical/downloads?product=SA1000M8&filename=E8FK11L

Release notes:

https://media.kingston.com/support/downloads/A1000_E8FK11.L_RN.pdf


A question about the Internet/ConnectionSharing (NAT) via iptables

Make sure that all the interfaces involved with the bridge are set to up. (It's possible to have an interface as part of a bridge, but not have it set to being up, so no traffic will go through that "port").

sudo ifconfig eth1 up
sudo ifconfig eth2 up
sudo ifconfig br0 up

Also, check your work on the bridge to make sure it has the interfaces you are expecting:

sudo brctl show

Make sure that you have the LAN IP address assigned on the bridge interface instead of either of the ethernet interfaces that are part of the bridge/switch:

ifconfig eth1
ifconfig eth2

(Neither of them should list an IP address). If one of them does, try something like:

sudo ip addr del 192.168.0.1/24 dev eth1

Make sure your bridge interface does have it:

ifconfig br0

(It should list the address). If it does not have the address, do this:

 sudo ip addr add 192.168.0.1/24 dev br0

Another thing I would try checking: See if any clients attached to eth2 can ping anything on eth1. If so, then the bridge and interfaces (and their up/down state) is probably set up right, and I would look at the IPtables rules. If they can't talk to each other, than it's probably not with IPtables, and probably something with the bridge or interfaces that are part of it.


Can't install Ubuntu on VAIO T13 (Window 7)

This may or may not be helpful, but I had to open my bios and set anti theft to disabled before I could install Ubuntu. Before I did that Ubuntu could not detect the hard drive.


RabbitVCS doesn't have right-click integration with the file manager

I got it to work using the ppa, not the official repos :

sudo add-apt-repository ppa:rabbitvcs/ppa

#don't forget
sudo apt-get update

sudo apt-get install rabbitvcs-nautilus3

... I don't know what's in the official repositories, but it doesn't work.

and you will need to re-read the nautilus config

ps auxw|grep nautilus
kill -HUP <processid>

or just log out and back in again.


Dynamic info on wallpaper on Ubuntu just like Mac OSX?

Info on desktop

You can use conky.

Installation

Just install the conky-all package.

Configuration

Create a file named .conkyrc (note the dot) in ~/. The format for .conkyrcs is documented here

You can also get good-looking "ready-made" conkyrcs here: DeviantArt

Change wallpaper based on weather and time

So, apparently WeatherPaper does not work. So, I made my own: https://github.com/bharadwaj-raju/WeatherDesk


Is gnome-calendar usable, and how do I use it?

It was under in heavy development. The development seems to have halted 9 months ago. However if you are interested you can compile from git & create a binary package for it.

There is a new calendar app (written in vala) from Yorba called California. It will soon be available in Yorba's daily build ppa.

http://blogs.gnome.org/jnelson/2014/03/21/introducing-california-a-new-gnome-3-calendar/


How can I get the rtsp stream from a V380 wifi smart net camera

Maybe you have to activate RTSP in the Cam. Therefore, you have to create a text file with the following content:
[CONST_PARAM]
rtsp=1

Rename the file to ceshi.ini.
Copy it to the root of an empty SD card, put in the cam and repost the cam.
Then you will be able to connect to RSTP over rtsp://IPADRESS:554/live/ch00_1.


Replacing xscreensaver with gnome-screensaver, problems(Xubuntu)

I know that this is a very late reply but hopefully someone still finds it useful. Ubuntu 12.04 and newer releases have no configuration tool for Gnome's screensaver as it is more a screen blanker than an actual screensaver.

Gnome's developers are not willing to change this, so you may want revert back to xscreensaver, which has a graphical configuration tool. Please see this question if you need help with getting xscreensaver back.


add this
 Option "Pageflip" "false"

in xorg configure files may help you
Xorg configure files is in /etc/X11/xorg.conf.d
Both Intel and Nvidia conf files
If this not working,take a look in the archwiki(link below)
https://wiki.archlinux.org/index.php/intel_graphics#Tearing
If this not working,try to check out if vsync is enabled
$ glxgears

if fps near your display's fps number it means vsync is enabled


Ubuntu 14.04/15.04 & Skylake I5 6600k / Intel HD 530, graphic issues

You can try to upgrade Ubuntu's kernel to the latest kernel 4.2. Here's the  link how to upgrade. Skylake is fully supported in kernel 4.3 as phoronix told so far.


GUI doesn't have escalated permissions, Ubuntu 14.04 lightdm

In sudo pam-auth-update I made sure the GNOME Keyring Daemon was also selected. This fixed the issue.


I always accomplish setting up desktop by doing this right after installation:

sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get -y install ubuntu-desktop

Viola!


16.04 Flashback Metacity: ALL upper-right applets now missing

I can't add a Indicator Applet to Panel in Gnome-Classic

Was able to manually add back in equivalent items as detailed above. Still wondering why all that stuff disappeared.


Can't find specific WiFi network (Ubuntu 14.04)

I have the same problem with my Dell laptop version of the broadcom wireless adapter. After a few hours searching and trying various stuff (including destroying my wlan driver so I had no wifi at all :) I found out that the wl kernel driver does not support wifi channels above 11 (!). The b43 driver was no option for me since it does not support by my hardware device (trying this "wrecked" my wifi and I had to re-install the broadcom driver).

The workaround I did was to log in to my wireless router and tell it to use a channel from the range 1-11 (e.g. channel 7) and voila, I could now see my SSID in Network Manager applet again!

Of course, to do this you need to have access to the wifi router configuration, i.e. this may not be applicable to public places (coffe shops, airports, workplaces,...). If you can't access the wifi router, then you just have to wait until it uses channel from range 1-11 again...


Got Everpad Installed and working - Alas cannot search in dash

lens api for python in ubuntu 13.10 broken, you can vote for this bug - https://bugs.launchpad.net/singlet/+bug/1248050


How to install KDE 4.3 on Ubuntu 9.04? (or how can I use konqueror 4.3 on andlinux?)

My first thought on this is running the latest kubuntu in a virtualbox in seamless mode - i.e. linux apps running on what appears to be windows.  I presume you've already considered this and discounted this route?

To answer your question directly...

My guess is that you will need instructions similar to this.

In summary:
you'll need a compiler, all the development packages to build against and QT4.

Then you'll need to compile using instructions such as

cd ~/kdebuild
mkdir build
cd build
mkdir kdesupport kdelibs kdepimlibs kdebase
cd kdesupport
cmake ../../kdesupport -DCMAKE_INSTALL_PREFIX=/path/to/where/you/wish/to/install/KDE

KDE themselves have a wiki for this sort of stuff which you should familiarize yourself with.

From the KDE Getting sources guide it doesnt appear that KDE themselves regard 4.3 as current aka stable.  Thus you'll need to extract the code from git.
I've found some instructions here on how to do this - I've just reproduced it for completeness

"Got this working. Key steps were realising that kdesvn-build had downloaded the non-KDE Qt version, so I did this, using Qt 4.5.1 for stability:

git clone git://gitorious.org/+kde-developers/qt/kde-qt.git qt-copy
git checkout --track -b 4.5.1-patched origin/4.5.1-patched

I put this under ~/kde/src in the qt-copy directory, then used kdesvnbuild (svn version) with "kdesvnbuild --nosvn qt-copy qca kdesupport kdelibs kdepimlibs kdenetwork" - after a bit of dependency finding, everything worked fine. As mentioned I used SVN 4.3.1 as the base, commands were:

cd ~/kde/src
svn checkout svn://anonsvn.kde.org/home/kde/tags/kde ... kdesupport
svn checkout svn://anonsvn.kde.org/home/kde/tags/KDE/4.3.1/kdelibs
svn checkout svn://anonsvn.kde.org/home/kde/tags/KDE ... kdepimlibs
svn checkout svn://anonsvn.kde.org/home/kde/tags/KDE ... kdenetwork
svn checkout svn://anonsvn.kde.org/home/kde/tags/kde ... upport/qca

"


How to configure the fstab and grub file after restoring Ubuntu with a clonezilla image

Although this is a partial answer, I will provide the solution I have found. I figured that I messed up in creating the image as I did not include the boot partition. What I finally did was to back up my /home partition through rsync;  wipe out all Partitions; Fresh install Ubuntu; rsync back my /home partition and fix any errors (probably related to the .xAuthority file)  through Live repair Ubuntu solution keeping the data restored. I didn't backup a whole image of my OS but now since I have created a dedicated partition for my /home sector I'll be fine at least for the majority of the personal files I keep and plug-ins installed.


How should I go about installing Chrome on ubuntu 14.04 32bit?

You can install it, but it's not advisable. Chrome 32-bit is no longer receiving security updates (or updates of any kind, for that matter). That means you won't get new features, extensions will soon stop working, and you will be extremely vulnerable to internet attacks.

The best thing to do in your case is really to upgrade to a 64-bit version of Ubuntu. However, I realize this may not be possible, as your computer may be limited to 32-bit. If that is the case, there is an alternative to Chrome, called Chromium.

Chromium is essentially Chrome, but it is open-source, and doesn't quite receive the level of support Chrome gets. However, it is regularly updated and receives any security updates released by Google. Many other browsers, such as Torch, and even Opera, are based on Chromium.

If you want to install Chromium, simply open a terminal and run sudo apt-get install chromium-browser. You can also open the Software Center and search for it if you so wish.

There is absolutely no reason to keep with Chrome on 32-bit or 12.04, but if you really want to install it for whatever reason, you'll have to search for it on Google. A quick search yielded nothing but news stories for me.


What problems will I face if I dual boot Windows in UEFI mode and Ubuntu in Legacy mode?

Note the references provided in comments to your question. It should be possible to install Ubuntu directly in EFI mode on your computer, whether by mucking with the Acer-specific security configuration, by preparing the USB flash drive directly (see this page of mine for some tips on doing this), or in some other way.

If that fails, it may be possible to install Ubuntu in BIOS/CSM/legacy mode but to then convert it to boot in EFI/UEFI mode by installing an EFI boot loader for Linux. Most people do this by running Boot Repair from an Ubuntu emergency disk; but if you're not able to get one of these to boot in EFI mode, this may not be an option. In this case, installing my rEFInd boot manager in Windows, along with the EFI filesystem driver for whatever filesystem holds your kernel (ext4fs by default) may do the job.

Mixed-mode (BIOS/EFI) OS installs pose problems with boot loader management. Depending on your firmware, switching the OS to be booted ranges from a bit awkward to impossible. I can't say where on the continuum your system would fall because I'm not familiar with recent Acer computers or their firmware. The usual best-case scenario is that you'd have to hit a special key (usually a function key, Esc, or Enter) as the computer starts to launch the EFI's built-in boot manager. This will then enable you to select whether to boot in BIOS mode (therefore launching GRUB and Ubuntu) or to boot any of the installed EFI boot loaders (most or all of which would boot Windows). The keypress to get to the EFI's boot manager, though, must usually be hit in a narrow window of time, and on many computers, getting it to activate can be a bit hit-or-miss. In some cases, the boot manager shows only BIOS options or only EFI options, depending on firmware settings, so you might need to go into the firmware setup utility to reconfigure the boot mode before you can switch between OSes. In the worst case I've seen, switching boot modes is impossible because it depends on things like the partition table used on the disk.

In some cases, my rEFInd boot manager can help. If you edit its refind.conf file to uncomment the scanfor line and ensure that hdbios is among the options, rEFInd supports booting BIOS-mode boot loaders as well as EFI-mode boot loaders. In your specific case, though, this is unlikely to be helpful because if you can get rEFInd to launch by default, it should be able to boot a Linux kernel in EFI mode, so there's likely to be no benefit to launching GRUB (and Linux from there) in BIOS mode from rEFInd. rEFInd might be more helpful if you had Ubuntu installed in EFI mode alongside a BIOS-mode Windows installation (likely on a second disk).


I feel like I was just in your same shoes, then I found this answer:
Graphics problem on Ubuntu 18.04 - blurred text + screen flickering

Try that by removing the following from /etc/environment if it's there:

CLUTTER_PAINT=disable-clipped-redraws:disable-culling
CLUTTER_VBLANK=True`

Yes, more sudo. Use your favorite editor, modify the file, then reboot. I would do it like this:

sudo nano /etc/environment

Delete the lines above, save with ctrl+x, y to accept, and reboot:

sudo reboot


How do I add a slider to an AppIndicator?

I've asked the question on the ayatana mailing list and received an answer from Ted Gould:

  Unfortunately that's not possible today.  It's been our intention to
  support custom menu items in dbusmenu so that you could do anything that
  your app needed for your application indicator (including using IDO) but
  I haven't found the time yet to complete it :-/

So the answer can be closed.

EDIT: In case anyone has further interest in the project they could try contacting Ted  to see how they could help out.


IBM support for Ubuntu actually started with IBM Power8 and officially is only support on power8 and future power systems. The support actually required changes to the fsp. The older Power system however will support Redhat and SUSE.

See the links below

IBM
http://www-01.ibm.com/support/knowledgecenter/linuxonibm/liaam/liaamdistros.htm?lang=en
http://www-01.ibm.com/support/knowledgecenter/linuxonibm/liaam/liaamdistrospower7.htm?lang=en

Ubuntu

http://www.ubuntu.com/certification/server/models/?vendors=IBM


need help installing AptUrl or changing the enviromental variable

Did you change a system file? Normally, the PATH variable should be set correctly...

However, in your second try, you forgot the starting slash. The command should be

mspyellow@BJ:~$ /usr/bin/sudo apt-get install apturl


What is the fastest way of installing Ubuntu? (Can you install without a cd or dvd?)

A fast SLC USB key on a USB 3.0 port is the fastest way of installing a single machine...

If you're deploying to multiple different machines, PXE boot is the fastest way.

If you're deploying to multiple identical machines, CloneZila Server is the fastest way.


Ubuntu 19.10 freezes after dormant period

I have found that the problem was related to wifi and power, that is, after a short while the wifi automatically disconnected and the computer became stuck while continuously trying to re-connect to wifi.
I have solved this, or at least postponed the disconnect time to an hour or two by turning off the auto-suspend feature in Ubuntu: Settings > Power > Power Saving > Automatic Suspend > Off


Password request issue when entering sudo

To reset admin password, Boot up the machine, and after the BIOS screen, hold down the left Shift key. You will then be prompted by a menu
-Enter the recovery mode.
-Using the arrow keys scroll down to root and then hit Enter
-At this stage you should have a read-only filesystem. You have to remount it with write permissions:

mount -o rw,remount /

-Now we can set the user's password with the passwd command.


How to combine to two bash variables (one including path and one including filename) inside the bash command?

The problem is not the line with OUTPUTNAME=, which is correct.

name="echo ${FILE##*/}"

should be

name="${FILE##*/}"

otherwise, echo will be part of the filename which is obviously not what you want.

But anyways. ~$ $OUTPUTNAME will only work, if the file is made executable. You might want echo "$OUTPUTNAME" or ls ....


Kworker making computer difficult to use

Do uname -r to check your kernel version, if it is before 2.6.30, I recommend upgrading it, which should fix any issues with that driver set.

Go here: http://kernel.ubuntu.com/~kernel-ppa/mainline/ and pick a kernel to upgrade to.
[http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.12-vivid/ is known working with most adapters in the 9k models]
Download 3 (maybe 4) debs to a folder somewhere:

linux-headers-VERSION-NUMBER_all.deb
linux-headers-VERSION-NUMBER_amd64.deb
linux-image-VERSION-NUMBER_amd64.deb
linux-image-extra-VERSION-NUMBER_amd64.deb   # if applicable

Install the debs with whatever package manager front-end you use, or use these commands:

cd /path/to/folder/where/you/put/the/debs
sudo dpkg -i *.deb

If you're not interested in a kernel upgrade (you should be) or if it doesn't fix the issue as it presents, try installing backports meant to fix issues with the atheros 9k.

http://apt.ubuntu.com/p/linux-backports-modules-wireless-tahr-generic

The answer to this method can be found here, though I don't recommend hacking together what can be fixed with a simple kernel upgrade: How do I get the ath9k driver of backports-3.12-8 installed on Xubuntu 13.10?


Where are the systray icons for Dropbox in Ubuntu desktop 13.04 (minimal)?

Try this solution from How To Solve: No Dropbox Icon In Ubuntu 13.10

sudo apt-get install libappindicator1

I'm currently trying it.  It worked for me.


timing the execution of a source command

source is a builtin, not an external command, so using the external time to time it doesn't make sense. Do either of:

TIMEFMT=%E
for file in  ${(M)config_files}
do
    time (source file)
done

Or:

for file in  ${(M)config_files}
do
    \time -f %E zsh -c 'source "$1"' zsh "$file"
done

In the former, the subshell is necessary because:

  Additional note:  The time builtin applied to any construct that is
  executed in the current shell, is silently ignored.  So although it's
  syntactically OK to put an opening curly or a repeat-loop or the like
  immediately after the time keyword, you'll get no timing statistics.
  You have to use parens instead, to force a subshell, which is then
  timed.

And in the latter case, you're starting a new zsh instance for each file. So, in both cases, there's no way for easily timing dependent scripts (i.e., where one config file does something that is required by or somehow affects another config file). Alternately, you can save the output of time after each source, which will give you cumulative timing:

TIMEFMT=%E
{time} 2> times
for file in  ${(M)config_files}
do
    source file
    {time} 2>> times
done

Then you can use awk or something to get the individual timings:

awk 'NR != 1 {print $0 - prev} {prev = $0; getline}' times


Qualcomm Atheros QCA6174 doesn't work with 4.2.0-23-generic on 14.04

Sorry for the confusion, looks like our UK router was at fault (BT hub). It does not have 802.11ac mode, so I had to switch it back to 802.11a from 802.11ng, on the 5Ghz and now the wifi is working with my laptop.

Thanks for your help and answers anyway!


usb wifi adapter is not working on Ubuntu 20.04.1 LTS

The circa-2018 answer elsewhere here in AU is, I now believe, obsolete.
With a working internet connection by ethernet, tethering or whatever means possible, open a terminal and do:
sudo apt update
sudo apt install git dkms build-essential
git clone https://github.com/cilynx/rtl88x2bu.git
cd rtl88x2bu
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu

Your wireless should now be working.


A few notes here before this would work:

Don't use sudo in a cron job. Instead edit root's crontab instead of your own, e.g. sudo crontab -e and then enter commands without sudo.
As @mikewhatever mentioned, this is an odd use for cron, and would likely be better placed in /etc/rc.local before the exit 0 line.
If you tell us exactly what you're looking for, we might be able to direct you to a log or config option (restarting your network services at startup feels a little hackish).
On most systems @reboot should also run after a hard shutdown or crash, but there are different cron implementations so YMMV. I've seen comments in different places asserting both.

EDIT (2016/02/17): Removed incorrect blurb on absolute paths; kudos @muru
EDIT (2016/10/17): Added shutdown note
EDIT (2017/09/11): Revised shutdown note. Not really sure on that one.


Are wireless card interchangeable? can I mount a BCM4313 on a notebook that originally mounted a rt3290?

In most cases, you can. In some cases, the manufacturer of the laptop enforces, in the BIOS, what is known as a whitelist. That means the computer will boot only if the wireless card is on the approved list. You can find more information here, for Lenovo laptops, as an example: http://www.thinkwiki.org/wiki/Problem_with_unauthorized_MiniPCI_network_card

You can also Google your laptop manufacturer and 'whitelist.'


Is the synapse launcher available for Ubuntu 16.04 and been tested too?

It works!
I've been using 16.04 with Synapse for a while and I love it. It works flawlessly for me.
sudo apt-get install synapse

[Note: if you are using Ubuntu MATE, there have been some issues ]


Your statement "1TB is the Master Boot Record" is not exactly the right way of looking at things. The dialog is indicating the partitioning method, not the location of the boot sector for your installation.  There is an unfortunate ambiguity between these two meanings of master boot record (MBR).

However, if this was in fact where your boot sector resides then deleting this partition may have killed your boot -- and re-installation might be your best bet.  Installing to a multiple disk system is a bit of an advanced operation and may require some deeper understanding to fully manage the process.  One way of simplifying this would be to physically remove the extra disk while you perform the installation.

As an aside: Your safest bet, given the starting point of this question, might have been to simply ignore the 255 MB partition and just add a new partition (using the "Disks" utility that you showed) in the remaining space on that device.  Wasting 255 MB of a 1TB disks is not a significant loss.

To mount the drive manually, you should be able to do that using the file manager (what you called "explorer") -- just click on the item in the "Devices" list.  To have it mounted automatically, you should be able to manage that through the "Disks" utility -- look for "Edit Mount Options...".


How do I get the BandLuxe C505 working in Ubuntu?

perhups this could help you
http://www.fedaro.info/2013/07/06/utilizar-modem-bandluxe-distribuido-por-antel-en-ubuntu/
its in spanish for ubuntu 12.04, you can easyly translate it online

I'll be getting that device soon and try it in 13.04

so good luck for us both


Run a file like I could in command prompt

Simply type the application you wish to open the file with before the filename.

Example, if I have a song called tasty.mp3 and I use rhythmbox, I would do

rhythmbox /path/to/tasty.mp3


Hide 'Your profile could not be opened correctly'

I do not have an exact answer to your question, but maybe a solution for your problem:

chromium can be managed by policies under /etc/chromium-browser/policies/

Have a look at http://www.chromium.org/administrators/linux-quick-start for a short introduction and at http://www.chromium.org/administrators/policy-list-3 for the available settings which you can lock down.

Similar path/links for chrome:
/etc/opt/chrome

http://www.google.com/support/a/bin/answer.py?hl=en&answer=187204

http://www.google.com/support/a/bin/answer.py?hl=en&answer=187206


why did i lose the functionality of my third-party driver in the updated version even after reinstalling the driver?

you just need to clean(since make doesn't overwrite) the directory before the recompilation process for the new kernel with:
make clean

then proceed as usual
make

sudo make install


Problem solved with @Patrick's help!
In the VM Network Adapter settings I had to change from "NAT" to "Bridged Adapter"

thank you!


How can I download images from web pages with wget in Ubuntu 14.04?

I would suggest you check man wget and look at the option --output-document=

I hope this helps


Printer not installing in ubuntu. Can one install alternative drivers?

Try this:
Update the repositories:
sudo apt-get update

Install required packages:
sudo apt-get install --reinstall gcc libtool libssl-dev libc-dev libjpeg-turbo8-dev libpng-dev libtiff5-dev cups

Download GutenPrint source:
https://sourceforge.net/projects/gimp-print/files/gutenprint-5.3/5.3.3/gutenprint-5.3.3.tar.xz/download

Unzip file:
 cd ~/home/user/Downloads
 tar -xvf gutenprint-5.3.3.tar.xz

Build and install Gutenprint:
 cd ~/home/user/Downloads/gutemprint-5.3.3
 ./configure
 make
 sudo make install

Open your browser and type in the navigation bar:
 http://localhost:631

Log on to the CUPS web interface as "admin".
In the CUPS web interface, choose "Do Administration Tasks"
Then choose "Add a New Printer"


cross compilation for ARM: error no such file or directory

How to identify the problem?

file cross_compiled_executable

Contains something like:

interpreter /lib/ld-uClibc.so.0

and the problem is that that file does not exist on the target.

How to solve the problem?

Use a proper compiler, either:

the person who created the disk image must provide you the cross compiler or tell you exactly how to build it, e.g. with crosstool-ng.
compile your own image and cross compiler, e.g. with Buildroot. Here is an example.
use a native compiler on the target. But generally targets are much slower than your host, and space constrained, so you likely don't want to do this.

You might also be able to use a functional emulator such as QEMU to build, and then only run the programs on a slower platform, e.g. gem5 or a slow board.

Just hacking up the interpreter is potentially not enough, notably you have to ensure binary compatibility between the program and the target libc, or program and kernel interfaces (syscalls, /proc, etc.) if you try to use -static (the target kernel might be too old and not contain the required interfaces). The only robust solution is to use the correct toolchain.


Usual smtp mail server communicate on port 25. In your configuration you use secure port 587 for smtp witch is for tls secure connection, but do not config TLS.

I find manual for exim configuration here

Try maybe help


How do I use ClamAV to scan my entire computer?

sudo clamscan -r /
you should probably sudo freshclam to update your signatures before you scan, if you haven't already done so.
Read the man pages man clamscan for other options and examples...


How can I add more disk space to my home directory?

I'm assuming your home directory is located on the same partition as your system. Instead of enlarging the system partition you could source the home directory out to an extra partition. That's good practice anyway. Makes it a lot easier to migrate to a new system without having to move the home directory.

Free some space or get an extra HDD. Create a new partition and format it with a filesystem of your choice (i.e. ext4). Copy everything from your home folder to the new partition and then tell your system to mount the new partition in your home directory during startup by adding a corresponding line to /etc/fstab:

UUID=<some UID of your new partition>  /home/username  ext4  nodev,nosuid  0  1

Depending on the filesystem and mount options you might want to use this line can slightly differ.


Touchfreeze is a reasonably old application that has not seen a lot of recent development. A better choice might be gpointing-device-settings:

sudo apt-get install gpointing-device-settings

which will give you some of the functionality you are after in Trusty. This functionality is part of the basic 'Mouse and Touchpad' settings in Wily Werewolf 15.10 but not for Trusty unfortunately...


Restoring Ubuntu's default notification manager

Problem solved: i3 automatically installs a notification manager called dunst. Simply removing it did the trick:

sudo apt purge dunst

Restart Ubuntu after the removal and everything should be fixed.


these happens due to problem with grub bootloader

First boot your system with typing following commands

root (hd0,1)
linux /vmlinuz-blqh-blqh root=/dev/sda3
initrd /init-blqh-blq root=/dev/sda3
boot

Here sda3 may be change with your system partition. if you fail try sda1,sda2 or so.

After booting your system. you can repair your boot loader with boot-repair tool. you will get more info about boot-repair tool via following link.

click on https://help.ubuntu.com/community/Boot-Repair


Using AWK, how to use tabs instead of Space as field seperator?

You have two options:

Use -F option:

awk -F $'\t' '{...}'

or set the field separator (FS) in the BEGIN section:

awk 'BEGIN{FS="\t"}{...}'

To also set the Output field separator, use OFS:

awk 'BEGIN{FS="\t"; OFS=FS}{...}'


Install dconf Editor, because I think, a GUI is a good choice here:

 sudo apt-get install dconf-editor

Open the application with:

 dconf-editor

and open this path in the tree:

org.gnome.Terminal.Legacy.Settings

Open the profiles as shown in the screenshot:

and revert your changes...


Is it possible to manage (pair) Logitech Unifying devices in Ubuntu 15.10?

According to the this answer to the original question about solaar, there is no longer a need for a ppa as solaar is now included in the Ubuntu "universe" repositories.

If you already have the "universe" enabled then you can install it via the Software Center by searching by it for name.

If you do no have it enabled there are a couple of ways to do that.

Use the Software Center to search for solaar. It should find it but tell you that is is avialble tru the "universe" repos and where the install button should be will be a button to "Use Source" click this and the rest should happen automatically.
If searching in the Software Center does not work, or you wish to do it yourself, you can do this with Software and Updates.  Search for it using the dash, click on it and you will get window like this

The second box down needs to be checked to allow universe sources.  Check the box, enter your password in the box that pops up.  This will enable the source.  When you close the Software and Updates window, it will ask you if you want to reload you software sources.

Answer Yes and your software sources will update, you will then be able to find and install solaar in the software center.

Note: If you want the indicator and better integration with Unity(or Gnome shell), look in the "optional add ons" section on the More info" page of the software Center.  You will want to click on(or make sure it is already selected) the "solaar gmone3" addon or you will only have the terminal version of solaar.

You can also install via the terminal by sudo apt-get install solaar-gnome3

This will install the packages needed to integrate with Unity and Gnome DE and will pull in and install solaar as well.
If you only want the command line of solaar, you can get that by sudo apt-get install solaar.


Cannot turn off NVIDIA GPU using bbswitch

Ok, I found a way of turning off the NVIDIA card without using bbswitch. I still don't know why the NVIDIA card disappears from lspci when I use the Intel profile instead of any of the NVIDIA profiles.

The Arch wiki was very helpful here. I used the info there to write a script that turns off the NVIDIA GPU when I'm using the Intel card using ACPI calls.

First, install the ACPI call module.

$ sudo apt install acpi-call-dkms

Then edit "/etc/modules-load.d/modules.conf" and append acpi_call at the end. This will load the module on boot and activate "/proc/acpi/call".

The next step is to find the ACPI call required for the GPU. The acpi-call-dkms package comes with an example script that does just that. Run it to find the code where it say "It works".

$ sudo /usr/share/doc/acpi-call-dkms/examples/turn_off_gpu.sh

In my case, it shows "\_SB.PCI0.PEG0.PEGP._OFF" for my NVIDIA GeForce GT 650M.

Then I wrote a script to turn off the GPU, but only if the PRIME profile "Intel" is active. For the other profiles, the script does nothing and keeps the NVIDIA GPU active. This lets me still use the NVIDIA GPU as normal through prime-select. I saved the script as "/usr/bin/turn_off_gpu.sh".

#!/bin/bash

# Change this to whatever /usr/share/doc/acpi-call-dkms/examples/turn_off_gpu.sh tells you
ACPI_CODE="\_SB.PCI0.PEG0.PEGP._OFF"

GPU_IN_USE=$(prime-select query)

if [[ $GPU_IN_USE == "intel" ]]; then
  echo $ACPI_CODE > /proc/acpi/call
  result=$(cat /proc/acpi/call | tr '\0' '\n')
  case "$result" in
    Error*)
      echo "Failed to turn off discrete GPU. Possible wrong ACPI_CODE?"
      exit 1
      ;;
    *)
      echo "GPU has been turned off"
      exit 0
      ;;
    esac
fi

echo "Discrete GPU is in use, keeping it on"
exit 0

Note that this script needs to be run as root.

Finally, I want to run this script at boot so I created a systemd file for it at "/etc/systemd/system/gpuoff.service":

[Unit]
Description=Turn off GPU if using Intel

[Service]
Type=oneshot
ExecStart=/usr/bin/turn_off_gpu.sh

[Install]
WantedBy=multi-user.target

And enable this

$ sudo systemctl enable gpuoff

Now reboot and your GPU will be off when using the Intel PRIME profile and on when using any of the other profiles.