The link to download the Citrix Online Plug-in is at the bottom of the answer.

Quoted from Citrix:

  The Citrix online plug-in is the new name for server-side
  virtualization. When users connect to published applications, they use
  the online plug-in software, which is the plug-in for server-side
  virtualization. The plug-in software is available for a range of
  different devices so users can connect to published applications from
  various platforms. You can deploy and update the online plug-in
  using Citrix Receiver.

Here is the link for the Receiver.

You may want to look at Citrix Xen App Plugin.  Here is the link for the Citrix Online Plug-in for Linux (x86 client) v.11


How do I assign magnet links to use qbittorrent?

I had the same problem and managed to fix it by setting the defaults for both gvfs as well as xdg.

check defaults with:

xdg-mime query default x-scheme-handler/magnet
gvfs-mime --query x-scheme-handler/magnet

and set them with

xdg-mime default qbittorent.desktop x-scheme-handler/magnet
gvfs-mime --set x-scheme-handler/magnet qbittorrent.desktop

Assuming you have a qbittorrent.desktop file at /usr/share/applications/


Cannot connect to wifi after downloading 12.04, repeated prompts for password

Your problem appears from your description to be a misbehaving network-manager. To find out more information about the problem it's important to gather up the output from network manager as it's attempting to make a connection to your wifi network.

Before you follow these instructions, please save these instructions, what we are about to do with disable your internet on the machine and you may loose the ability to read how to switch it back on if you don't save them.

The instructions to gather the information will need you to go into a command line, you can simply go to the search button in the left top corner and type in 'command', you'll see a little black screen icon called 'Terminal' click on it.

Firstly we must stop the network manager by copying and pasting this command. This will ask you for your password:

gksu service network-manager stop

Next we want to start the manager and capture the information from it:

gksu NetworkManager --no-daemon &> ~/Desktop/debug.txt

It shouldn't return you back to the prompt. Now with this running attempt to connect to your wifi service through the normal means. You should have noticed the network icon in the right corner disappear when you stopped the service and reappear when you started it again. Try a couple of times to record a few instances in the log file.

You'll notice a new file on your desktop called debug.txt, you need to send this to who-ever will be debugging your problem. In this case you should attach it to this question by editing the original question (don't post a new answer) add in the log file contents.

To start the network-manage properly you should hold [ctrl] and press [C] this should stop the special network manager service and return you to the prompt. Then simply type this command to start the normal service again:

gksu service network-manager start

We'll work out what your problem is from there.


apt-get - allow install of unconventional file

There's a few things to consider:

(1) dpkg is designed to work with all packages.  apt-get is designed to work with repositories.

(2) dpkg is usually easier to work with for local packages.  There are exceptions, but dpkg -i can be used to install, then apt-get install -f can be used to get dependencies.

The above aside, you can technically install packages by doing sudo apt-get install ./PACKAGE.deb, however I've had mixed results with this.  It's better to use dpkg to install those packages, and let apt-get install -f handle the dependencies afterwards, in my opinion.


So we can see that the hotkey is trying to run x-terminal-emulator which is not found and your app menu terminal is running gnome-terminal-server
Try this command:
sudo update-alternatives --config x-terminal-emulator
Which should display a list of all installed terminal emulators and allow you to pick what you want to use as your default. If it shows gnome-terminal or gnome-terminal.wrapper then that's what you want to choose which should then set a symbolic link so running x-terminal-emulator runs your chosen terminal. Then hopefully the hotkey will work.


unable to disable super key using xmodmap

Open Terminal and type:

xev

With the new window in focus, press the Super key to get its keycode. Since you say its virtually pressed, type the following:

xmodmap -pk

I did that and my key code is 133 for Super_L and 134 for Super_R, may not be the same so do a check.

To disable a key type the following:

xmodmap -e 'keycode <number> = NoSymbol'

I doubt one of the super key has the issue, so perform the command for one key and check if the issue is resolved.


How do I stop iptables restoring to an earlier version every reboot?

Andrea Turbiglio answered my question on another site.  I believe the site is associated with this one but I don't know the rules regarding linking to another site so I am crediting him with the answer and placing it here.

"I used to put the line with "iptables-restore" in /etc/rc.local (tested on both Debian 8 and Ubuntu 16.04) and it worked just fine."


Is removing an account and all its contents a way to safely delete the contents of a computer?

The deleted data can still be recovered. To make it unrecoverable, boot the computer from a live CD. While booted from the live CD, open a command shell and type:

lsblk

That gives you a list of your hard drive devices. Device names look like sda (sdx where x is some letter, usually a, b, c, d...). Still in a command shell, run the following but replace the x to match each of your device names:

sudo dd if=/dev/zero of=/dev/sdx bs=512 count=1

That writes zeros for every data bit on the drive, which makes it so you can't recover the deleted data without special forensic tools.

If you want to take it a step farther, you can shred the drive. If shred isn't already installed you can install it:

sudo apt install shred

Shred overwrites the drive many times with random zeros and ones to make it virtually impossible to recover the data even with special tools.

shred -vfz -n 10 /dev/sdx

... again where "x" is the name of your hard-drive device.

About the switches:
-v shows the progress of the shred, which is nice because it can take a very long time to shred a large drive.
-f changes the file permissions if needed to allow shred to write over protected areas.
-z writes all zeros on the final pass (other passes are random ones and zeros). The all zeros obscures the fact that the drive was shreded.
-n is the number of shred passes over the hard drive: the more passes, the more secure, but the longer the shred process takes.


Lamp installation error: unable to resolve host

About the host error, it is because you don't have hostname set:

  root@(none):~#

You should set your hostname first:

sudo hostname ubuntu-server

Also check that your /etc/hosts file has a entry like this:

127.0.0.1   localhost
127.0.1.1   ubuntu-server

Then you need to have tasksel installed in your system:

sudo apt-get update
sudo apt-get install tasksel

Now you can use it:

sudo tasksel lamp-server

If you don't want to use tasksel, you could use:

sudo apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -q -y install lamp-server^


Opening a full screen application on a specific window

Typically, you use a single Screen, and all of your monitors belong to that one Screen, as you're seeing.  By using multiple Screens, you can more accurately define where applications load, but you cannot move applications between different Screens.

If you were using multiple Screens, you would determine which Screen via the DISPLAY variable:

DISPLAY=:1 wine

To set which monitor is used for full screen applications, as well as to ensure that all monitors aren't used altogether for full screen applications, I've had the most luck setting the SDL_VIDEO_FULLSCREEN_HEAD environment variable so that this is available within the window manager.  You set it to the number of your monitor, starting with zero:

export SDL_VIDEO_FULLSCREEN_HEAD=0

With three monitors, you can choose between 0, 1 and 2.  You can set this in ~/.xinitrc / ~/.xsessionrc.  Where you place this export is highly dependent on how your window manager starts up, using GDM, LightDM, or startx, etc.

You can test if this may work for you, or which monitor is which, by setting the variable at runtime:

$ SDL_VIDEO_FULLSCREEN_HEAD=1 wine

Note: OP mentions this testing does not work.

It may make sense to also set this as your default monitor, or ensure it is not your default monitor.  The default monitor can be set with xrandr:

$ xrandr primary NAME_OF_DEVICE

Wine Virtual Desktop

If all of this fails, you have the final option of configuring Wine to use a virtual desktop.  This will cause Wine to create a Windows window, and you are able to specify the resolution of this window (to match your monitor's resolution).  Full screen Windows applications run via Wine will then fill that window only.  You can use your Window Manager to move this to the correct desktop/monitor.

This can be done opening Wine Configuration (winecfg) and opening the Graphics tab, or by using the /desktop=name,1024x768 flag when running wine:

wine /desktop=name,1024x768 game.exe


If it is Wine's bug, you could try to install Wine-staging. It is an extention, which provides a lot bug fixes and more. You'll find more information on their websites.


Gnome/X logs off immediately after login -- which logfiles are relevant?

For posterity - I'll leave a solution here...

This can happen if you try and run an X server under root privilege while logged in to your account... so you could have typed:

sudo startx

or were messing with xauth as root.

This will create a file in your home directory ~/.Xauthority which is owned by root.

When you try to login the system will try to read this file but will not have permission and log you back out.

The solution is to

go out to a terminal Ctrl+Alt+F1
log in to your account
type: sudo mv ~/.Xauthority ~/old.Xauthority
now log out by typing "logout"
get back to dm with Ctrl+Atl+F7
you should be able to log in now!

If you don't have sudo privilege, you have to get someone who does on your system


You can set such keyboard shortcut as follows:

On Ubuntu 18.04 LTS, 20.04 LTS, 20.10 and 21.04 with GNOME desktop from GNOME Tweaks.

Install it
 sudo apt-get install gnome-tweaks

Then open GNOME Tweaks (gnome-tweaks).

Select Keyboard & Mouse tab

Click Additional Layout Options button

Expand Switching to another layout

Select Ctrl + Shift here

See screenshot below:

Or simply:
gsettings set org.gnome.desktop.input-sources xkb-options \
  "['grp:ctrl_shift_toggle']"

If you do not like Super + Space and Shift+Super+Space you can disable them with
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['']"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward  "['']"
gsettings set org.freedesktop.ibus.general.hotkey triggers "['']"

Note: you will face interference problem as Ctrl+Shift+T in GNOME Terminal will switch language at once with opening new tab. It is known bug 1683383.

On Ubuntu MATE 18.04 LTS and newer versions this is possible from mate-keyboard-properties:

Open MATE Control Center
Click Keyboard
Go to Layouts tab
Click Options
Expand Switching to another layout
Select Ctrl + Shift here

See screenshot below:

Or simply:
gsettings set org.mate.peripherals-keyboard-xkb.kbd options \
      "['grp\tgrp:ctrl_shift_toggle']"

Note: here bug 1683383 is fixed by packages from my PPA :
sudo add-apt-repository ppa:nrbrtx/xorg-hotkeys
sudo apt-get update
sudo apt-get dist-upgrade

So Ctrl + Shift keyboard layout switcher will work normally on MATE DE after applying patch from ArchLinux AUR "for freedesktop bug 865 (need to kick hotkeys on release, not press)".

Warranty disclaimer: packages were tested in

16.04 LTS with HWE (Unity, MATE, Xfce)
18.04 LTS (Cinnamon, KDE, MATE, Xfce)
18.10 (Cinnamon, KDE, MATE, Xfce)
19.04 (Cinnamon, KDE, MATE, Unity, Xfce).
19.10 (Cinnamon, KDE, MATE, Unity, Xfce)
20.04 LTS (Cinnamon, KDE, MATE, Unity, Xfce)
20.10 (Cinnamon, KDE, MATE, Unity, Xfce)
21.04 (Cinnamon, KDE, MATE, Xfce)

However other desktops may have issues even after applying the patch.
These packages do not fix problems for GNOME Shell (18.04 LTS, 18.10, 19.04, 19.10, 20.04 LTS, 20.10 and 21.04) and Unity (in 18.04 LTS and 18.10).

If you are interested you can participate in poll and discussion on community.ubuntu.com.


Removed lots of files on /boot but still the availble space is 0

First in order to see what's filling up the Boot folder use:

du -h /boot

root@iscanews:/home/ehsan# du -h /boot
12K     /boot/lost+found
43K     /boot/.Trash-0/info
220M    /boot/.Trash-0/files
220M    /boot/.Trash-0
9.0K    /boot/grub/locale
2.1M    /boot/grub/i386-pc
2.4M    /boot/grub/fonts
4.4M    /boot/grub
235M    /boot

Since I removed my files on KDE then somehow ubuntu moved them to trash folder, so my boot folder remained with 0% available space. I restored all files from this folder to avoid further problems with boot-loader.

Using uname -r I retrevied my kernel version and removed some old files permanently with Shift+DEL on kde.


How to set proxy so that Software-updater works in 18.04?

Ubuntu Software Updater and Aptitude don't use the HTTP proxy environment variables. They load all configuration files under /etc/apt/apt.conf.d.

Create a new configuration file named proxy.conf using a text editor (I used Pluma):

sudo pluma /etc/apt/apt.conf.d/proxy.conf

Add the following lines to set your proxy configuration:

Acquire::http::Proxy "http://user:password@proxy.server:port/";
Acquire::https::Proxy "http://user:password@proxy.server:port/";

Save your changes and exit the text editor.
Now your proxy settings will be applied even to Software Updater and you can update your packages.

Source: Jos's link


How to get AMD graphics card working on kernel 3.10.x?

I eventually caved with similar problems and started using the open source radeon driver.  I have a post on Ubuntu Forums, but the site is down now, on how to enable that drivers power saving features. If performed decent FPS and the temperature of the cpu was about the same running fglrx.

Purge the proprietary driver.
move /etc/X11/xorg.conf

Go here for the rest: I used this to make my post on Ubuntu Forums

http://www.techytalk.info/ubuntu-open-source-ati-radeon-driver-power-usage-tweaks/

or for more explanation of the two methods and help you choose:

https://wiki.archlinux.org/index.php/ATI


How to install startup disk creator in Ubuntu 19.04

To install the application, run the following commands:

sudo apt update
sudo apt install usb-creator-gtk

Additionally, if you are running KDE or Kubuntu instead of Ubuntu or Ubuntu Gnome, then you should probably use usb-creator-kde instead of usb-creator-gtk:

sudo apt update
sudo apt install usb-creator-kde

Furthermore, if you are using LXQT on Lubuntu, then you probably want to use usb-creator-kde.


I think the answer needs to be split in two parts:

why 3.11 and not 3.10 or 3.12?
why choosing an End of Life release?

The answer to the first question is that backported kernels (newer kernels not released in the initial Ubuntu 12.04 release) are, at the moment, backported from newer Ubuntu releases (12.10, 13.04, 13.10, etc) and not from any possible kernel release.
This can be seen reading informations provided in the LTS enablement stack page, especially looking at the ending upgrade policy diagram, and looking at the "Version Matrix" section of the Extended stable kernels page. As can be see the versions match the 12.10, 13.04 and 13.10 ones. Quite surely also the 14.04 kernel will be backported to a future 12.04 point release.

As for why they chose an End of Life release, I think that's because 3.11 was what Ubuntu developers thought was the most appropriate kernel release to have support for recent hardware, as non LTS releases are more about "new features" and "recent hardware support" rather than stability. Also I think that "longterm" kernel releases are selected to be such only after their initial release, not in advance as Ubuntu does. For example kernel 3.10, released on 30 June 2013, was selected as a longterm supported kernel only on 4 August 2013. That means Ubuntu developers do not know if a kernel they choose will be longterm supported or not, unless they choose an already proclaimed "longterm supported" release.


Dropbox gives an error message when starting up but then it disappears

Dropbox has a help center and a user forum: Help and Forum.  Is this thread related to your problem?


Is it possible to install AutoCad or an alternative on Ubuntu?

There are numerous options, choose the one that you like best.

PyCAD
Medusa:

Download the free software for personal use.
Download: medusa4_v4_0_0_linux_personal.sh
After downloading the above file, it needs to be marked as executable, so it can be run. To do this, run: chmod +x <filename.sh> in a terminal
It needs to be executed as root, so use sudo: sudo ./filename.sh
Installation & More information: Here

Draftsight - may be unstable under Linux but is written for it. YMMV.
Librecad

Its already in Ubuntu Repositories.
You can get it by running: sudo apt-get install librecad
More Information: Librecad

Bricscad is a very stable paid application that is a very close Autocad clone.  It is not free however my experience is that it is stable and edits 99% of Autocad functions.


Postfix can receive but can't send emails

Your own port 25 being open has nothing to do with outgoing email.

If you're getting connection timeouts to big email providers like Google and Hotmail I would suggest one of three things is happening:

Your ISP blocks outbound port 25. This is increasingly popular on home ISPs to stop spam. They will force you to use their central mailserver.
You are inadvertently blocking outbound port 25. This would be something you've actively done. Check your ufw/iptables rules for spurious deny rules.
The remote services are blocking you.

But double check the real log with sudo less /var/log/mail.log and make sure you're not missing any obvious issues your pretty logs above aren't showing.

You can also debug more simple network issues with simple tools:

ping mx1.hotmail.com

If ping fails, there's a serious network-level issue. You managed to look it up in the first place so DNS should be fine but if you can't ping it that might suggest you're being blocked completely.

telnet mx1.hotmail.com 25

That should open up a raw connection to the remote mailserver. If that doesn't work, you know it's not postfix that's tripping over.


You can use a shell alias

alias exit='clear; sleep 2; exit'

To make it permanent, add the alias to the bottom of the ~/.bashrc file.
see this thread for help


Can't write or delete from mounted ext4 drive

Hi i fixed this by executing this command below

blockdev --setrw

And then restarting my server


USB Drive Removed While Write Now GParted Hangs

Since you've tried writing to the USB drive with UnetBootin, it's safe to assume that it held no important data, and formatting it now shouldn't be a big deal. Create a file system, FAT32 or NTFS, and it should work again.


Activities corner keeps "re-enabling" itself

It appears that the Dash to Panel extension also leaves this setting permanently enabled. If you are using this, you will have to pull a commit this is AFTER May 10th, 2019, or it will be broken. As of today, there has not been a release since March, so you'll have to build master yourself.

If this is happening to anyone who isn't using that extension, here is another solution: simply add a job to crontab to reset it every 5 minutes.

 */5 * * * * gsettings set org.gnome.shell enable-hot-corners false

Despite the value never actually being true, this will still cause the gnome shell to refresh, and remember your settings.


All you need to do is Open a terminal by pressing Ctrl + Alt + T and run:

sudo -H gedit /etc/NetworkManager/NetworkManager.conf

(On Ubuntu Mate it should be pluma instead of gedit; use kate on Kubuntu, leafpad on Lubuntu and mousepad on Xubuntu)

At the bottom of this file, copy and paste the following:

[device]
wifi.scan-rand-mac-address=no

Your final results should look something like this:

Then just save and close the file and run:

sudo service network-manager restart

And wifi should work again!


Is ubuntu 18.10 using Wayland as default?

It uses X.Org. 18.10 release notes don't mention it, but 18.04 mentions that they switched from Wayland to X.Org:

  X is the default display server. Wayland is provided as a Technical Preview and is expected to be the default display server in 20.04 LTS


Reinstall system using deja dup back-up from maintenance mode

It appears that there is no way to boot ubuntu from the deja dup backup.

I had to create a bootable Ubuntu usb drive (my laptop does not have a dvd drive). Since my laptop was incapacitated I had to do this on my old macbook, following the instructions here: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx

Then I booted from that usb drive, and instructed it to re-install Ubuntu 13.10. It apparently recognised that 13.10 had previously been installed, and all of my files where apparently still in place (no need to restore from the backup).


vim Different configuration in tty1-6 from tty7

Your terminal emulator's colour palette might be different from that of the TTY's framebuffer. How can I change the TTY colors?

The same applies to cursor type, since that can be set by the terminal emulator. How to change cursor shape, color, and blinkrate of Linux Console? How to stop cursor from blinking?

As for the Shift, it is likely that the X window system interprets Shift+an arrow key as a different event compared to just an arrow key. The terminal emulators interpret whatever X sends them. The console terminal driver probably does not support modifiers like Shift or Ctrl with the arrow keys.


Mic not working after installing Ubuntu 18.04.5 LTS on my new Lenovo ThinkPad-X1-Carbon-Gen-8

This specific model has a multichannel input that is relatively new and although supported by Ubuntu 18.04, the device must be manually identified using PulseAudio's module-alsa-source like so:
pacmd load-module module-alsa-source device=hw:0,6

Please, note that you need to run alsamixer afterwords and unmute the newly added input device.

The above solution is discussed in detail in this post: 18.04 issues with X1 Carbon: alsamixer config + Microphone issues: What does “pacmd” do here?

It was first ( I think ) mentioned in this post: Microphone not working on ubuntu 18.04 with device Multichannel input-sof-hda-dsp


Unable to get back Windows 7 partition entry in Grub2 Ubuntu 12.04

Do you have the package os-prober installed?
If not, try to download it and run grub-update once again.
Hope it helps.

Raphael


Removing the "Try Ubuntu/Install It" dialog from a custom ISO on Ubuntu 18.04

The following comment was posted as an answer by the original author of this question:

Found the solution, instead of syslinux.cfg one needs to change isolinux.cfg


You can try with Settings -> Devices -> Displays
Change Display Mode - Single Display
and select the monitor you want


Garbled text on 12.04 Live CD during installation on Lenovo Z570

Since no answer here was applicable to the solution I did to get it to work. Here is how I fixed it:

Reference: There is a forum post about this problem too, along with my responses. Found here. Also, the laptop I'm using is a Lenovo Ideapad Z570.

WARNING: Flasing your BIOS may brick your device, or render it unbootable. Do this at your own risk.

Grabbed the latest version of the (U)EFI/BIOS from the Lenovo support website. Link to the en-GB version for the Lenovo Ideapad Z570 here.
Flashed using the executable downloaded inside Windows 7.
Rebooted, and tried booting the CD again. No joy.
Opened the UEFI/BIOS using the F2 key. Picked the reset to default settings option.
Rebooted, pressed F2 key again, changed the boot order to: USB:FDD, USB:HDD, USB:CD, HDD, Network. Saved & Exited.
Rebooted, tried to boot from CD. Hurray, no more garbled menu! All options also now work!
Tried this several times, to make sure it wasn't luck, booted fine each time. All options always worked. Note: Error still shows up however that the prefix isn't set. Also, still couldn't boot from USB at all... but I think this is due to an incompatible device since the UEFI/BIOS doesn't detect it at all. The drive is a SanDisk Cruzer 8GB (SDCZ36-008G) for reference. This one is similar (the one I have is an older model though, but colours are the same).

I won't mark this as a true answer until the other guys having the same issue can actually repeat this process successfully.


"Failed to set DisplayPort power" - Dual Head freezes OS

The problem was the display port to VGA adaptor. Once I swapped it out for a brand new one it all fixed itself.


Able to access web by ip, but not by dns name

Once I've encountered this issue, I've been researching it for a while, and figured out that this may be dns problem. By reading this post, I've learned that there is number of ways to add or supersede the DNS servers provided by your network, however none of the solutions seemed to work. As user brad mentioned, dns is still being controlled by dnsmasq.

Now, by poking around config files in /etc/ I found the /etc/NetworkManager/NetworkManager.conf file, which had the following information:

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

I've changed the dns line, and now the file reads like this:

[main]
plugins=ifupdown,keyfile,ofono
#dns=dnsmasq
dns=208.67.222.222

[ifupdown]
managed=false

After restarting Network Manager with sudo service network-manager restart everything started working properly, and the solution still works after rebooting.
Note: 208.67.222.222 is OpenDNS public server.

What may have happened:

While on the network, the output of nm-tool was the following:

DNS:             4.2.2.2
DNS:             8.8.8.8
DNS:             164.47.7.10
DNS:             164.47.7.11

I believe, my uni has their own DNS server, which is 164.47.7.11 and .10, and dnsmasq queries the closest one, so my requests never even got to 8.8.8.8.

Hope this solutions helps to other users, and please let me know if my solution to this problem is valid, safe enough, or reasonable enough.

Concerning answering my own question:

I'm doing so to make this solution public and documented, at least for my particular case. Also I'd like to reference this post on meta.askubuntu.com.

Update:

Having returned home from uni today, I've discovered that I couldn't connect to my home wifi. I've read-up a little on man NetworkManager.conf and it turns out that dns= in [main] is actually a line for plug-ins, so line dns=dnsmasq is actually adding dnsmasq plugin to the network manager, apparently. So my solution still worked, just not as expected. Here'ss excerpt from the man page:

  dns=plugin1,plugin2, ...
                List DNS plugin names separated by ','. DNS plugins  are
                used  to  provide local caching nameserver functionality
                (which speeds up DNS queries) and to push  DNS  data  to
                applications that use it.

So by setting dns=208.67.222.222 I may have, basically, prevented network manager from using that plug in, which would otherwise use local dns server (which apparently doesn't work).

Update #2:

What I've done so far is to comment out dnsmasq and ditch my internet service provider's DNS. Now, telling Network Manager is explained in this post, and it's a GUI method: simply open the Network Manager indicator, select "Edit Connections", open your network's name by pressing "Edit", and under IPv4 Settings tab, choose "Automatic (DHCP) addresses only ".

The very same thing can be done in command line , by editing a file for your specific connection stored in /etc/NetworkManager/system-connections.
Bellow is the relevant portion of my connection file:

[ipv4]
method=auto
dns=208.67.222.222;
ignore-auto-dns=true

[ipv6]
method=auto

Now, with all these configurations (commented out dsnmaq plug-in from NetworkManager.conf and connection set to Automatic(DHCP) addresses only), I've basically achieved all that i was trying to get going all along - get my machine connect by domain names, and somehow get around using university's dns server, because that wone got me nowhere.

nm-tool confirms  that I am using the DNS I wanted as well as dig google.com and /etc/resolv.conf.

This is the last update on this question/answer, and I don't plan adding anything else, but feel free to add any relevant information as a separate answer or in comments, as well as suggestions.

Hope this helps to other Ubuntu users, and Linux users in general !

``


Summary:

For Ubuntu, you always go with .deb files!
Also make sure its description matches your Ubuntu's version number or codename (e.g. 14.04 or trusty) and architecture (32bit=i386 or 64bit=amd_64).

Explanation:

Ubuntu is based on Debian Linux. Debian uses the deb package system, which all of its derivates adopted.
You can use the tool dpkg to install a .deb package on Ubuntu:

sudo dpkg -i /path/to/package.deb

If possible, you should prefer software from an official repository or at least PPA that you can install with apt-get, aptitude or a GUI tool like the Software-Center or Synaptic.

The RPM (RedHat Package Management) system is a different package system for other Linux distributions, i.e. RedHat Linux and its derivates. They're incompatible with the deb packages used by Debian and Ubuntu.
However, it's still sometimes possible to convert .rpm packages into .deb packages using the tool alien, so that you can install it. This fails for packages with deep system integration though, because those are often highly adapted to the specific distribution and therefore unable to run anywhere else.


You have to use either an Ethernet USB adapter or a Wi-fi dongle to connect to internet to install the needed driver.

Once you are connected to internet, run :

 sudo apt-get install bcmwl-kernel-source


Weather indicator not showing felt air temperature?

Unfortunately that feature is not in the current version of indicator-weather.  The next major version (foggy) will have it.  For the latest features and bug fixes (including felt air temperatures when they arrive), add our PPA: ppa:weather-indicator-team/ppa

If you want felt air temperatures now, then perhaps you should try My-Weather-Indicator, another weather indicator.

Disclosure: I'm involved with indicator-weather.


Is there a PPA offering CMake >= 3.2 for Ubuntu Precise?

Update

There is a PPA for Precise, see @NathanOsman answer.

You could compile it yourself. The example below is for cmake 3.2.x. Check here for the latest version, currently 3.3.2.

sudo apt-get install build-essential
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
tar xf cmake-3.2.2.tar.gz
cd cmake-3.2.2
./configure
make

and install

with checkinstall for a installed deb package

sudo apt-get install checkinstall
sudo checkinstall

OR

with make install

sudo make install


preinstalled Ubuntu 16.04 - ubiquity crashes on first boot when installing packets

The problem seems to come from a bad configuration of the software sources in the preinstalled system provided by Dell.

The correct list of repositories was present in the file sources.list.ubuntu in /etc/apt , but the file /etc/apt/sources.list pointed on an installation CD, not available for the end-user.

To correct the problem:

restart your system (after the installer fails), choose "Advanced options for Ubuntu " in the grub menu then the latest linux kernel in "Recovery mode ", then "root " to get a console with administration rights.
type the following commands:

 mv /etc/apt/sources.list /etc/apt/sources.list.as_received
 mv /etc/apt/sources.list.ubuntu /etc/apt/sources.list
 exit

Then choose "resume " from the recovery menu, the installer will now finish its work!

Thanks to revery  to suggest looking at repositories!


It's clear that your image on the USB is not installed/created correctly. I recommend doing that on another machine and testing it on that other machine.

For the part about installing Ubuntu through the Windows XP safe mode, even if it is possible, I can only see so many bad things coming from installing Ubuntu from inside Windows, even more from safe mode since it does not offer all hardware correctly detected or optimized with the drivers when loading Windows normally.

I recommendation is to do one thing at the time. First create the USB Ubuntu on another computer and test it that it boots correctly.

Make sure that on your PC, the Bios is correctly configured not only to boot from an USB as 1st choice but also that it allows booting from USB (Some BIOS give the option to boot from USB but have the option to actually boot from it somewhere else).

If you actually boot from the USB, simply follow instructions to be able to create a dual boot with Ubuntu and Windows. From this point on, you can fix Windows through the Ubuntu desktop by checking it with fsck, looking for corrupted files, etc.


Front Mic and Audio Jack Wired Incorrectly

For intel hardware there is a tool that is part of the alsa-tools-gui package called hdajackretask. There is not a manpage but it offers. In your question you did not state what kind of onboard sound you have. This package cliaims to have the support itself. Once you install the package there is some documentation availabe by a button but there is not manpage so I can't like from manpages.ubuntu.com but I put the documentation to see if it meets your needs in a pastebin that won't expire here https://gist.github.com/be35a1e5824e16ee87c8

I don't know of anything for non intel hda soundcards however.


XV6 os - Docker ubuntu image error: "no bootable device" / qemu-nox command

For some reason a moderator deleted my comment after I spent almost an hour researching this and found a solution (I'm sensing a conspiracy here... my bet is SO's servers are running on xv6 and they don't want anyone else to be able to run it)

This is an issue in xv6. The issue can be solved by using the following PR: https://github.com/mit-pdos/xv6-public/pull/115


Test running DevStack on Ubuntu Server 16.04

For Database:-

###localrc
HOST_IP=127.0.0.1
DATABASE_PASSWORD=nova
RABBIT_PASSWORD=nova
SERVICE_TOKEN=nova
SERVICE_PASSWORD=nova
ADMIN_PASSWORD=nova
SWIFT_HASH=nova

Enable Swift and Disable Swift:-

###Enable Swift
enable_service s-proxy s-object s-container s-account

###Disable Swift
disable_service s-proxy s-object s-container s-account

Enable and Disable neutron:-

###Enable Neutron
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service q-metering

###Disable Neutron
enable_service n-net
disable_service q-svc
disable_service q-agt
disable_service q-dhcp
disable_service q-l3
disable_service q-meta
disable_service q-metering

Enable and Disable Heat:

###Enable Heat
enable_service heat h-api h-api-cfn h-api-cw h-eng

###Disable Heat
disable_service heat h-api h-api-cfn h-api-cw h-eng

After making localrc in cd devstack run command
FORCE=yes ./stack.sh


Can I create workspace-dependent command triggers?

Have a look at xdotool. get_desktop will output the current desktop in view.

For Ubuntu with Unity , workspaces are called viewports and are presented in coordinate form , x and y position of the top left corner.

For instance,

$ xdotool get_desktop_viewport
4780 0

You can use that information to figure out what workspace you're on, and execute command per each workspace.


fullscreen=false
fulldouble=true
fullresolution=1366x768
windowresolution=1366x768
output=opengl

This config worked pretty well for me. It creates a window the size of your desktop display (which is almost fullscreen-it leaves just the top status bar) and you can always just enter fullscreen after that with
    alt + enter


The guy in IRC was almost there, but not quite. The package that you need is called dh-make no devscripts. A simple sudo apt-get install dh-make should fix the issue.

How to know:

chmod 744 debian/pxpress/switch*
dh build
make: dh: Command not found
make: *** [build-arch] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2

dh build starts creating a debian package with the debhelper scripts, all these scripts are appended with the dh_ string. In this case, dh called a helper called dh_make to build the debian package.

Another cue you have is this line:

dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 7) dh-modaliases execstack

You need debhelper, dh-modaliases and execstack to build the package. debhelper suggests dh-make, and suggestions are normally installed.


How to continue play music on Ubuntu while switching users?

There is a launchpad bug concerning this issue. The suggested remedy is to change the 0 to a 1 for the "SYSTEM_START"-option in /etc/default/pulseaudio:

# Start the PulseAudio sound server in system mode.
# (enables the pulseaudio init script)
# System mode is not the recommended way to run PulseAudio as it has some
# limitations (such as no shared memory access) and could potentially allow
# users to disconnect or redirect each others audio streams. The
# recommend way to run PulseAudio is as a per-session daemon. For GNOME
# sessions you can install pulseaudio-esound-compat and GNOME will
# automatically start PulseAudio on login (if ESD is enabled in
# System->Preferences->Sound). For other sessions, you can simply start
# PulseAudio with "pulseaudio --daemonize".
# 0 = don't start, 1 = start
    PULSEAUDIO_SYSTEM_START=1

It is actually not a bug though, but a feature. For most people this is expected behavior. They don't want to have other users sound playing over their own. Additionally it is standard conformant.


What application for illustrated story telling?

Unfortunately, I don't think there's a simpler method for this in Ubuntu (yet).

Tupi and Pencil2D are working on getting the audio import capability working (though I'm not sure if there's a basic feature in there yet).

If nothing else, a better method would be to record with Audacity, illustrate with MyPaint / Inkscape / GIMP, and compile them all with PiTiVi / KdenLive / Flowblade / Openshot / Blender.


It is possible to install from manually downloaded packages from 18.04 LTS:
cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/diffuse/diffuse_0.4.8-3_all.deb
sudo apt-get install ./diffuse_0.4.8-3_all.deb ./python-gtk2_2.24.0-5.1ubuntu2_amd64.deb

Other good alternatives are Meld (meld package) or KDiff3 (kdiff3 package).


Why does nothing work after I randomly changed some file permissions?

Sounds as if you changed the ownership and / or permissions of system files.

You can search ~/.bash_history for the commands you ran, and if you post them here perhaps they are easily reversed.

gedit ~/.bash_history

Look for commands such as chown or chmod , if they were run with the -R (recursive) option, easier to re-install. If, however, you changed only a few files or directories, recovery is possible.

Often though you will have to re-install as manually fixing permissions is time consuming and imperfect.

In the future see: ubuntu sudo page

Normally you use sudo or for graphical applications gksu to perform system administration or edit system files.

Example:

gksu gedit /path/to/file
sudo command


Flash player: When I install, my browser still tells me I need to install Flash

Latest Adobe Flash version is 30.0.0.113 (see official page).

It is included in latest Google Chrome 67.0.3396.79.

So google-chrome-stable package should have 67.0.3396.79-1 version.

You need to run sudo apt update following by sudo apt upgrade.


Upgrade Spotify (spotify-client) on ubuntu 14.04

Here is the official PPA, open a terminal and run

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client

This is the latest version for Linux and will keep it up to date.


Try gtk-vector-screenshot. According to it's specs it can only make screenshots of GTK3 applications but maybe you are lucky. I used it some time ago and it was fine.

You can install it by:

sudo apt-get install gtk-vector-screenshot

and run it by:

take-vector-screenshot

Some sources also say you have to logout and login again before you can use it.


Apache 2 could not bind, address already in use

It's well possible that you have something already running at (or "bound to") that port. Try this command to see processes in question:

sudo lsof -i :80

This lists processes listening on port 80. Once you found the culprit you know which process to kill or kill -9 (also as superuser).

Keep in mind that the Apache instance, assuming you had started that earlier, might have gone "stale" or become a zombie. In the latter case even a reboot may be necessary in some cases.

Otherwise go with the answer from dedunumax.


Xorg.conf (nvidia) Second Monitor getting settings of first

You may try using the following xorg.conf.  It configures two Screen and a ServerLayout section to manage them.

Section "Device"
    Identifier "nvidia0"
    Driver     "nvidia"
    Option     "CustomEDID" "DFP:/etc/X11/edid-shimian.bin"
    Option      "RenderAccel"              "true"
    Option      "UseEdidFreqs"             "true"
    Option      "MetaModes"     "2055x1440,1920x1080;1366x768,1366x768;1024x768,1024x768"
    Screen     0
    BusID      PCI:2:0:0
EndSection

Section "Device"
    Identifier "nvidia1"
    Driver     "nvidia"
    Option      "RenderAccel"              "true"
    Option      "UseEdidFreqs"             "true"
    Option      "MetaModes"     "2055x1440,1920x1080;1366x768,1366x768;1024x768,1024x768"
    Screen     1
    BusID      PCI:2:0:0
EndSection

Section "Monitor"
    Identifier "Monitor0"
    Option     "DPMS"
EndSection

Section "Monitor"
    Identifier "Monitor1"
    Option     "DPMS"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "nvidia0"
    Monitor    "Monitor0"
    DefaultDepth  24
    SubSection "Display"
        Depth      24
        Modes      "2055x1440" "1920x1080" "1366x768" "1024x768"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "nvidia1"
    Monitor    "Monitor1"
    DefaultDepth  24
    SubSection "Display"
        Depth      24
        Modes      "2055x1440" "1920x1080" "1366x768" "1024x768"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier "ServerLayout0"
    Screen     0 "Screen0" 0 0
    Screen     1 "Screen1" RightOf "Screen0"
    InputDevice "Generic Keyboard" "CoreKeyboard"
    InputDevice "Configured Mouse" "CorePointer"
    Option     "Xinerama"
EndSection

I may be missing something, so you will have to test this out.  I used the confs from here as reference.

Another approach you may try is configuring your monitors manually, using xrandr.  You will have to configure another Monitor section and even the second Device section without the EDID, nonetheless.  But the command line would be:

$ xrandr --output DVI-I-1 --primary --mode 2560x1440 --output DVI-D-0 --mode 1920x1080 --right-of DVI-I-1

or even in multiple lines as:

$ xrandr --output DVI-I-1 --primary --mode 2560x1440
$ xrandr --output DVI-D-0 --mode 1920x1080 --right-of DVI-I-1

EDIT: Added MetaModes to Device section, and SubSection with modes to Screen section.


How can I solve the problem of an empty window for Software Updater?

This seems to be a bug, run and update via terminal (ctrl+alt+t) to fix this, you can do this with the following commands:

sudo apt-get update
sudo apt-get dist-upgrade


Maybe you could try manually unmounting the usb drive from the terminal.

Identify

First you will need to know the mount point or the device. You have a few options but in your case I think the first will tell you what you need to know.

1.To see information about currently mounted systems, simply run:

mount

2.To see a list of your USB devices (the vendor and device ID's), run:

lsusb

3.To see all attached storage devices and their partitions, run:

sudo fdisk -l

Unmounting

Unmounting is done through the "umount" command, which can be given a device or a mount point

sudo umount /dev/sdb1

or:

sudo umount /media/external

Would both unmount the filesystem on /dev/sdb1 if it is mounted on /media/external.

Remember that a filesystem cannot be in use when it is unmounted, otherwise umount will give an error. If you know it is safe to unmount a filesystem you can use:

sudo umount -l /mountpoint

To do a "lazy" unmount

Reference Links

https://help.ubuntu.com/community/Mount/

https://help.ubuntu.com/community/Mount/USB


Open the disks utility and set the drive to automatically spin down after 10 minutes of inactivity.


How do I do this "install: you may need to run ldconfig"

I've installed readline by using ./configure, make, make install. At
  the end it ask me install: you may need to run ldconfig.

So you just need to run the command

sudo ldconfig

What is ldconfig

ldconfig is a program that is used to maintain the shared library cache. This cache is typically stored in the file /etc/ld.so.cache and is used by the system to map a shared library name to the location of the corresponding shared library file

man ldconfig

 ldconfig - configure dynamic linker run-time bindings

DESCRIPTION
       ldconfig  creates,  updates,  and removes the necessary links and cache
       (for use by the run-time linker,  ld.so)  to  the  most  recent  shared
       libraries  found  in  the directories specified on the command line, in
       the file /etc/ld.so.conf, and in the trusted directories (/usr/lib  and
       /lib).   ldconfig  checks the header and file names of the libraries it
       encounters when determining which  versions  should  have  their  links
       updated.  ldconfig ignores symbolic links when scanning for libraries.

For more information see : What-does-ldconfig-do?

UPDATE: solution for -bash: ldconfig: command not found

As told in comments below when you ran the echo $PATH gives

/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

while ldconfig is inside /sbin which is outside the PATH, so you have then either to run the commands by absolute path like /sbin/ldconfig or correct your path.

To correct your PATH do  the following:

gedit ~/.bashrc

add the line

export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin

Now save and exit then source .bashrc

source .bashrc

So now you can use the commands directly


This is happening because you have a broken python install somewhere on your path, hopefully you still have a working one somewhere else but the broken one is being found first. If you google that error message you will see that it happens when you try to run python with libs from the wrong version. This usually happens if you install backports version and then upgrade or have installed an app that installs it own python.

try 'which python' and 'which python3' to see which ones are found.

if you find one that is not in /usr/bin/ then you could just make non executable and try again. If that works you need to find away to keep it off the path to fix this.

A good way to avoid this as a Python developer is to make pip install with --user so it doesn't touch the system python or to use a virtualenv.


You don't mention what version of Ubuntu you're running nor what version of OGRE you are trying to install, however there is a libogre-dev package in the Precise repository, which should bring in libogre-1.7.4. There is also a ogre-tools package. You can see the various related packages for your system using apt-cache e.g.

apt-cache search --names-only ogre

If you really do need to install from source, then the xorg-dev metapackage should include libxt-dev and libxaw7-dev i.e. it should be sufficient to do

sudo apt-get install xorg-dev


Why is the life of Ubuntu 13.04 so short?

Canonical switched to a 9 month support plan for non LTS releases because back-porting bugs and package upgrades was consuming too much time for the company, since most users of non-LTS releases upgrade each cycle.

Source: Too much time wasted reading about Linux.


While not really an answer, my workaround was to use lxc directly, and delete all of the running instances. Then remove lxd, clean it up, reboot and reinstall it.

lxc list

Then for each fingerprint in the list, run

lxc image delete FINGERPRINT

Once all the running lxc instances were deleted

sudo apt-get remove –purge lxd
sudo rm -r /var/lib/lxd /var/log/lxd

Reboot. Then,

sudo apt install lxd

Not a great solution, but it worked for me.


No sdb partion when trying to dual boot Ubuntu 16.04 with Windows 10

I don't speak French, so I can't follow a French YouTube video. That said, I have some comments on your query:

/dev/sda and /dev/sdb are entirely separate physical hard disks, not partitions. If your guide showed both but you have just one, it means that you have fewer hard disks than whoever wrote the guide. (The installation medium itself might show up as /dev/sdb, though, which can complicate the comparison.) Partitions are numbered and referred to with numbers following the disk device filename, as in /dev/sda2 or /dev/sdb4.
As a general rule, if you want to dual-boot Ubuntu with an existing OS, you should NOT adjust EFI/UEFI vs. BIOS/CSM/legacy boot options. See my page on the CSM for a detailed presentation on why this is so.
It's hard to tell from your description how your computer is set up. To provide detailed information, please run the Boot Repair utility and select the "Create BootInfo Summary" option. (DO NOT click "Recommended Repair," at least not yet!) When asked whether to upload the report, click "Yes," and then post the URL provided here.

I recommend you read the following pages:

Adam Williamson's blog entry on how EFI works -- This page describes the theory behind EFI-mode booting.
A question and answers on the differences between BIOS and EFI booting on Superuser.com -- This provides the basics of the preceding, but is more concise.
My page on installing Linux on EFI systems -- This page is a more practical introduction to EFI-mode booting than Adam Williamson's blog.
My page on the CSM -- This page covers the CSM, including when it's useful and when it's not.
The Ubuntu community wiki entry on UEFI -- This page is a bit disjointed, but is the most Ubuntu-specific introduction to EFI and its issues.
This site's question on installing on EFI-based systems -- This is yet another EFI-mode installation guide.

EDIT: Your existing Windows installation is definitely in BIOS/CSM/legacy mode. As such, you should not attempt to install Ubuntu in EFI/UEFI mode. To avoid doing so, you must learn to control the boot mode of your computer. This involves both properly creating your boot media and somehow selecting the boot mode used to boot an individual medium. Typically, you'll see two options for a USB drive, one with the string "UEFI" and one without it. Selecting the one without "UEFI" is the appropriate choice. Read my page on the CSM (referenced above) for more information; however, that page is written mainly for people who have EFI-mode Windows installations and who might be tempted (through frustration or bad instructions) to install Linux in BIOS mode. You have the opposite problem.


Try this:

sudo apt-get install indicator-power

If it is installed, try re-installing it.

sudo apt-get purge indicator-power

sudo apt-get install indicator-power


Stop using Development Release of Ubuntu

Open your Update manager then click at Settings . This action will leads to you a new Window . in that at Updates TAB look at the last option , i mean At Notify me of a New Ubuntu Version and set it to Normal release .


deleted sources.list.d from apt directory

As @guiverc said, follow the answer you are following.
You can use sudo instead of gksudo and any text editor(vim/gedit/sublime) instead of leafpad to paste that code.
Just remember that due to use of #, askubuntu has converted a comment to bold line.
Just insert # in front of every bold line (otherwise that the list cannot be read will keep coming) and don't copy that last line =============. You are good to go.


What is the difference between the 2013Q1 Intel Linux Graphics Stack Release and xserver-xorg-video-intel?

the difference between them is that the 2013Q1 stack breaks 13.04(raring). after the install ubuntu would only boot into "low graphics mode" no matter if i was using lightdm or gdm.

using the "intel open installer" v1.0.1 and the intel open source repos i get this lovely distro update and suddenly the old xserver/plymouth "race" bug is back
(launchpad bug #982889). after checking a LOT of forums it appears the workaround is

insert this line

"sleep 10"

in /etc/init/lightdm.conf

just before the line

"exec lightdm"

i didn't have to add stuff to (or even create) /etc/X11/xorg.conf and i also didn't need to purge/install lightdm, unity-greeter, ubuntu desktop, the X server or any of the other carry on - i DID try all those options but they failed to fix the problem - the "sleep 10" fixed it for me.

it was odd - because the x logs showed everything being detected just fine and then boom - low graphics mode.

maybe the intel boys and the ubuntu people need some better cross-communication??

it appears that the kernel modules in the intel open source repo(s) don't have the plymouth/X fix installed on them.

after the graphics stack upgrade i'm now running 13.04 raring and 3.8.0-26 generic kernel x86_64


You can try the solution posted at https://help.ubuntu.com/community/MacBookPro8-2/Oneiric#Wireless .

But this is for 12.04, you can try.


ifconfig not updating with new dhcp provided address

According to the docs, IFUPDOWN is not pre-installed on Ubuntu 17.10, but at some point during my setup I must have installed it (though I don't remember doing so).

As a result, I had IFUPDOWN making a DHCP client request, AND networkd making a second DHCP client request. IFUPDOWN would receive one IP from my ISP, and networkd would receive another.

Since I'm more familiar with the IFUPDOWN way of configuring networking (as well as every "building a router HOW-TO" using that way), I decided to go strictly with IFUPDOWN.

BEFORE YOU PROCEED ANY FURTHER WITH REMOVING NETPLAN, CONFIRM YOU HAVE IFUPDOWN INSTALLED:  sudo apt-get install ifupdown

I then disabled netplan via the following steps:

cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    ${WAN}:
      dhcp4: yes

I modified this to:

/etc/netplan/01-netcfg.yaml
    # This file describes the network interfaces available on your system
    # For more information, see netplan(5).
    network:
      version: 2
      renderer: networkd
      ethernets:

...rebooted and that fixed the issue I was seeing with the two different DHCP provided IP addresses, which confirmed for me that IFUPDOWN was now working correctly as expected.

I checked this in three ways:

ip -4 addr show ${WAN} | grep -oP '(?<=inet\s)\d+(\.\d+){3}' - see only one DHCP provided address I'm expecting
curl http://icanhazip.com - see the address I'm expecting
route - see the address I'm expecting in the chain.

I then disabled netplan according to the netplan wiki: https://wiki.ubuntu.com/Netplan by modified my grub config: /etc/default/grub
Changing line:

GRUB_CMDLINE_LINUX="ipv6.disable=1 netcfg/do_not_use_netplan=true"

...executed: sudo update-grub, then rebooted the machine.

I then executed:

journalctl -p err
Nov 17 11:09:42 router systemd[1]: Failed to start Raise network interfaces.

Since I don't like to see errors, I issued: sudo rm /lib/systemd/system-generators/netplan [which is just a symlink to /lib/netplan/generate] then rebooted again.

'journalctl -p err', no errors.

grep netplan /var/log/syslog
Nov 17 13:12:07 router kernel: [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.13.0-16-generic root=UUID=1e26c91e-0805-44f7-9ae3-3a707fa0d311 ro ipv6.disable=1 netcfg/do_not_use_netplan=true

...no errors.

So as far as I can tell, netplan is effectively disabled (though in previous versions you could fully uninstall it with apt-get, in 17.10 that is no longer possible).


What type of terminal is the ubuntu terminal in WSL?

For my WSL I installed VcXsrv so I could run Ubuntu Desktop which uses gnome-terminal. For themes see:

Color Scheme for Gnome Terminal and Pantheon Terminal
Atom's One Dark and One Light theme for GNOME Terminal
gnome-terminal-themes
179 Color Schemes For Your Gtk-Based Linux Terminal (Gnome Terminal, Tilix, Xfce Terminal, More)

That said WSL Ubuntu Desktop's default Gnome terminal works really well for me except I had to remap the color blue because it was unreadable:

How to change the dark blue in wsl to something brighter?

Other users have many suggestions on different terminals you can use in WSL here:

A better terminal experience for Windows Subsystem for Linux(WSL)?


can I use both ubuntu and windows 8 when I download online?

Of course not, you can have both systems installed, but you must create second partition for Ubuntu on your HDD.
I can recomend you to try Wubi - it's Windows installer for Ubuntu, what means that you can have Ubuntu next to Windows like normal app and you can uninstall it easly.
More info here.

And here you have installation guide from Ubuntu Help.


Using Imagemagick to create text icons

Based on the same principle as here, the script below creates a text icon from a text file with the help of Imagemagick.

The color of the rounded background image and the text color can be set in the head of a script (as well as a number of other properties).

What it does
It reads the textfile, takes th first four lines (set in n_lines = 4), the first seven characters (set in n_chars = 10) of each line, and creates an overlay over an image of the size, set in e.g. psize = "100x100".

How to use

The script needs imagemagick to be installed:

sudo apt-get install imagemagick

Then:

Copy the script into an empty file
Save it as create_texticon.py
set in the head section:

the color of the icon's background
the color of the icon's textlayer
The size of the created icon
The number of lines to show in the icon
The number of (first) characters per line to show in the icon
The path where to save the image

Run it with your textfile as an argument:

python3 /path/to/create_texticon.py </path/to/textfile.txt>

The script

#!/usr/bin/env python3
import subprocess
import sys
import os
import math

temp_dir = os.environ["HOME"]+"/"+".temp_iconlayers"
if not os.path.exists(temp_dir):
    os.mkdir(temp_dir)

# ---
bg_color = "#DCDCDC"                                # bg color
text_color = "black"                                # text color
psize = [64, 64]                                    # icon size
n_lines = 4                                         # number of lines to show
n_chars = 9                                         # number of (first) characters per line
output_file = "/path/to/output/icon.png"            # output path here (path + file name)
#---

temp_bg = temp_dir+"/"+"bg.png"; temp_txlayer = temp_dir+"/"+"tx.png"
picsize = ("x").join([str(n) for n in psize]); txsize = ("x").join([str(n-8) for n in psize])

def create_bg():
    work_size = (",").join([str(n-1) for n in psize])
    r = str(round(psize[0]/10)); rounded = (",").join([r,r])
    command = "convert -size "+picsize+' xc:none -draw "fill '+bg_color+\
              ' roundrectangle 0,0,'+work_size+","+rounded+'" '+temp_bg
    subprocess.call(["/bin/bash", "-c", command])

def read_text():
    with open(sys.argv[1]) as src:
        lines = [l.strip() for l in src.readlines()]
        return ("\n").join([l[:n_chars] for l in lines[:n_lines]])

def create_txlayer():
    subprocess.call(["/bin/bash", "-c", "convert -background none -fill "+text_color+\
                      " -border 4 -bordercolor none -size "+txsize+" caption:"+'"'+read_text()+'" '+temp_txlayer])

def combine_layers():
    create_txlayer(); create_bg()
    command = "convert "+temp_bg+" "+temp_txlayer+" -background None -layers merge "+output_file
    subprocess.call(["/bin/bash", "-c", command])

combine_layers


GeForce 6800 fan speed control; nvclock segmentation fault

With GF6800 on Ubuntu 10.04, i have the same problem. My workaround to change GPU fan speed is:

sudo gedit /etc/X11/xorg.conf

in section "Device" add

Option       "Coolbits" "5"

Restart the PC. Then you can control fan speed with this command:

nvidia-settings -a [gpu:0]/GPUFanControlState=1

and then:

nvidia-settings -a [fan:0]/GPUCurrentFanSpeed=30

where 30 is a number from 1 to 100 % of fan speed.

You can set that two commands in Startup Applications to run at boot, remember it if your  GPU overheates.

Cheers


No boot device has been detectede after minor update in 12.04

Boot from Ubuntu CD, and reinstall grub:

After booting, start a Terminal, and

sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc

After this, enter the following command:

sudo chroot /mnt

For install grub, enter the following command:

sudo apt-get install-grub2

Now update grub:

sudo update-grub2

Reboot.


In settings menu "Background" entry appears rather than "Appearance"

You have a GNOME PPA enabled, which installs a default build of GNOME without the Ubuntu patches, which includes the changes to the Background settings, to add the Unity related options, and which renames it to Appearance.

This is also the reason you have two different Online Accounts items in your System Settings.


Install Ubuntu Restricted Extras in the Ubuntu Software Center.  It will install the needed plugins to play files such as mp3.


Lowlatency (or realtime) kernel can be installed on it's own in any Ubuntu version, but system will run better with additional configuration Ubuntu Studio has already included.

This tool will run a script to check and advise adjustments needed for best performance with low latency audio
https://github.com/raboof/realtimeconfigquickscan


Unable to use "graphics.h" header file in 12.04

graphics.h header file is not included in any package in ubuntu because it is NOT a part of the Standard C library

you can make use of the non-standard ncurses library if you want to make use of the graphics function.

Hope that helps


The lock means it's owned by root, and you can't access or delete it.

To uninstall completely, open a Terminal with Ctrl + Alt + T.

Copy and Paste this command by right click Paste, then press Enter:

sudo apt-get remove --purge psensor

Then type your password (no * will appear, keep typing).

Psensor will be removed.

If that doesn't work, run this:

sudo apt-get install psensor && sudo apt-get remove --purge psensor


Different nautilus thumbnails rendering for text files

It seems for an icon theme to let Nautilus display the contents of plain text files as thumbnails, its sub-directory for mime types, which might be named, for example, mimes or mimetypes should have a file named text-x-preview.icon (along with an icon file named text-x-preview.png or text-x-preview.svg, etc. serving as a backdrop for the file contents thumbnail), which is actually a plain text file including settings for the thumbnail, in each sub-directory for different icon sizes (for example, 22, 24, 48).

For example, I have added ~/.local/share/icons/Nitrux/mimetypes/48/text-x-preview.icon (imported from the default Humanity icon theme) to my current icon theme, and only then it has begun displaying thumbnails for plain text files, which has the following content:

[Icon Data]
EmbeddedTextRectangle=180,100,680,900
AttachPoints=750,750|750,250|250,250|250,750

I'll hopefully try and add more information about the settings above in due course.

It seems having text-x-preview.icon and text-x-preview.svg (or another valid image file type) in the sub-directory for size 48px allows Nautilus to display thumbnails for all sizes from 48px upwards, but not for sizes below 48px, for which you also need text-x-preview.icon and text-x-preview.svg (or another valid image file type) at least in the sub-directories for sizes 22px and 24px (this lets Nautilus to display thumbnails also for 16px in some but not all icon themes).

These two files in the Humanity icon theme have exactly the same content:

[Icon Data]
EmbeddedTextRectangle=180,100,680,900

NOTE: Unfortunately this whole thing no longer works under Ubuntu 15.04


Location of packages installed by apt-get and more

The basic answer is no, different applications install in different locations, and consist of multiple files.  As a general rule the actual application will be installed in one of the locations in your PATH env variable, and you can check the directories in that variable with:

echo $PATH

But if you're trying to find a specific package's location you can use the dpkg command with the -L flag.  For example if you wanted to find all of the installed files for Apache2, you could run:

dpkg -L apache2


How to tell network manager not to show wireless AP with poor quality

I'm not aware of any commands or programs that do completely what you want.

But wicd does show you in percentages how strong your connection is and should give you a list of connections ranging from strongest to weakest signal. So I know it doesn't drop weak connections, but you'll only have to check the top of the list. Check the screenshot of the menu.

http://wicd.sourceforge.net/screenshot.php

When installing wicd it will replace networkmanager. It's in the ubuntu repositories so you can install it immediately with

sudo apt-get install wicd


Can all flavours of Ubuntu 16.04 run the same programs?

To simply answer your question, yes, all flavors can run all programs. There are a lot of choices for types of Ubuntu you want. Each one provides a different purpose for the user. These can be seen on the official page for the different flavors:

Kubuntu - KDE Plasma Workspace
Edubuntu - Designed for schools
Xubuntu - XFCE Environment with light desktop environment
Mythbuntu - Designed for MythTV based PVR system
Ubuntu Studio - Designed for handling multimedia creation
Lubuntu - Fast, lightweight, energy saving, LXDE environment
Ubuntu GNOME - GNOME Shell instead of Unity
Ubuntu Kylin - Ubuntu targeted towards Chinese users
Ubuntu MATE - Simple, traditional desktop - GNOME 2 Desktop

After reading through this and possibly on some community recommendations, you can tell which one is for you. The difference besides style and pre-installed (note the difference between what it can run and what it comes with) programs is only noted in two official flavors:

Xubuntu
Lubuntu

Both of these flavors are more optimized for less intensive resource consumption. Although, they do have the same potential as the other flavors. Hope this answer helped you with deciding which one you should get.


cannot boot windows 8.1 after installing ubuntu 14.04 (for dual boot)

I watched the video and i would recommend to anyone unfamiliar with hard drive partitions and master boot records not to attempt this.

From what i saw the guy presenting this video was installing a virtual box (An operating system inside an operating system). That may have given him a different context for the installation. What i suspect is that because you could not specify NOT to overwrite the windows "boot record", well it did scrapping your windows 8 install.

You may want to google file recovery software and use windows 7 with the ubuntu option to install alongside windows instead of doing the part of partitioning windows/linux yourself.


Download packages from repository and install local copy

The combination of -d and  --reinstall makes no sense:

$ sudo apt-get install -d --reinstall network-manager network-manager-gnome

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/1.087 kB of archives.
After this operation, 0 B of additional disk space will be used.
Download complete and in download only mode

You need only a

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

It's the local version, install with sudo apt-get install --reinstall ...

$ ping google.de

ping: unknown host google.de

$ sudo apt-get install --reinstall network-manager-gnome network-manager

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/1.087 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 417744 files and directories currently installed.)
Preparing to unpack .../network-manager_0.9.10.0-4ubuntu15.1_amd64.deb ...
Unpacking network-manager (0.9.10.0-4ubuntu15.1) over (0.9.10.0-4ubuntu15.1) ...
Preparing to unpack .../network-manager-gnome_0.9.10.1-0ubuntu4_amd64.deb ...
Unpacking network-manager-gnome (0.9.10.1-0ubuntu4) over (0.9.10.1-0ubuntu4) ...
Processing triggers for dbus (1.8.12-1ubuntu5) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (219-7ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for libglib2.0-0:amd64 (2.44.0-1ubuntu3) ...
No such key 'external-editor' in schema 'org.gnome.eog.ui' as specified in override file '/usr/share/glib-2.0/schemas/20_ubuntu-gnome-default-settings.gschema.override'; ignoring override for this key.
Processing triggers for libglib2.0-0:i386 (2.44.0-1ubuntu3) ...
No such key 'external-editor' in schema 'org.gnome.eog.ui' as specified in override file '/usr/share/glib-2.0/schemas/20_ubuntu-gnome-default-settings.gschema.override'; ignoring override for this key.
Processing triggers for gconf2 (3.2.6-3ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Setting up network-manager (0.9.10.0-4ubuntu15.1) ...
Setting up network-manager-gnome (0.9.10.1-0ubuntu4) ...


how to avoid open chrome with SmartShopSave?

have you checked your browser extensions with dev mode activated?

I also recommend that you review your instlled software. In fact, if you do not have any extension in chrome, but you have adware, than it is not an extension but a software that is running on your machine.. There is software for example, that installs itself and then infects all browsers. Even if you delete a supposed extension, it will keep coming back. So in case chrome remains clean, here is what you can do:

Revise your files and folders to see if there is anything that you don't remember or have not installed.
Check your System Monitor to see if there is any suspicious process or service running. If there is, attempt to kill it, find the source of said process and delete or remove it, so it doesn´t go back on. You
You might also consider installing a Virus Scanner. There are some on the store to download for free. Generally be CAREFUL when doing any online website scan. In most cases it doesn't work and chances are good it will infect you even more.


Where I find the usb-creator.exe that was included in previous versions of Ubuntu?

You can find all the information about usb-creator on Launchpad. Latest version is 0.2.52.

If you want the Windows installer: liveusb-creator-3.12.0-setup.exe (13M) (ChangeLog) (SHA1: ed3c8355821d419e68f3e7cce0ceef4c5b42aafb).


Not able to build Docker image (write /var/lib/docker/tmp/GetImageBlob997861703: no space left on device)

Docker's operational data is in /var by default.  This includes all containers and images, networking, temporary build layers, and objects it's transforming (for example when exporting or importing).

According to your df -h output:

/dev/mapper/centos-var   9.8G  9.2G   39M 100% /var

Being as that is a mapped partition (probably LVM?)  you should be able to change its size to be more appropriate to your needs.


(Ubuntu 18.04) (Chromium) (Flash) Plugin is not supported.

To enable Flash in Chromium on Ubuntu 18.04, you do not install the packages flashplugin-installer and/or ubuntu-restricted-extras. Instead you need to enable the repository "Canonical Partners" in "Software Properties", then install the package adobe-flashplugin.

To test flash support go to https://get.adobe.com/de/flashplayer/about/ and check the small area right of the first text paragraph. It's supposed to provide a box "Version Information"; you may have to click on it to enable the plugin.

As Flash is considered legacy software, and known for security holes galore, I strongly recommend to uninstall it once you're done.


when you boot up in grub, you should see a little list saying Ubuntu 11.10 and just below it you get something like: Ubuntu Recovery Mode or something like it, I don't remember exactly right now, but you should try it :)


I have answered this question on StackOverflow.

Short answer: it's a CMake bug which I have reported and offered a patch.


Two external hdd but one does not get recognized

try fdisk -l and then fdisk -l /dev/sdx to make sure you know which device it is, not much you can do if it turns out it really isn't showing up in /dev/
try a different usb port?


Why do Ubuntu notifications fade when I'm hovering them?

This is the design specification.

I can't find the original text to this, but as far as I can remember, the idea with the translucence on mouseover was designed so when a user needs to read what is below the bubble he/she can uncover it with the mouse pointer.

The Notify-OSD has changed a bit since this document appeared. Notably there are no more buttons on it. But the rational behind it is still the same.

However, I haven't seen a way to configure it as per your description. You would probably have to go to the source and create your own version.

EDIT
Webupd8 has an article how to patch the Notify-OSD to be click-closeable under Ubuntu 12.04.


Install the package using

sudo apt-get install vsftpd

If you have already installed it, try

sudo apt-get --purge --reinstall install vsftpd


Ubuntu 15.04 via virtualbox log in fails (using correct password).

Apparently your Ubuntu installation experiences a crash early at boot, and before you were able to login. This most likely is related to a bug or an incompatibility somewhere. To further find out what causes your virtual machine to crash you may try read the log files from a TTY which I believe you are able to access (press Host + F1).

Most bugs will get fixed over time. So the steps to take are:

Upgrade your Virtual Box appliance to the latest version (5.0 at the time of writing this)
Perform an upgrade of your Ubuntu installation to receive all security updates and bugfixes. From a TTY (or if that fails from a root shell) issue the following commands:

sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot

If these measures did not help you may try to install the virtual box guest additions, wich can also be done from a TTY or a root shell:

How do I install Guest Additions in a VirtualBox VM?

In all cases we need the virtualbox to reboot for changes to take effect.


How to get media card reader in NV52 Gateway to work?

It should "just work" and automatically mount when you insert a card.

If it's not, try this.  Insert a card with something on it.  Take a look at System > Administration > Disk Utility and see if the device appears as one of your storage devices.  If you can see it in the disk utility, look at its partitions and make sure the format is something we can read (ext, ntfs, fat or others).


You can start from reading manual page (man Xsession).


It seems example.local is a simple file in /var/www, not a new virtual host. Check the reference to vhost here


How do you edit the "Preferred Format" settings in Rhythmbox?

The following demonstrates how to modify the settings for the preferred format "Ogg Vorbis":

Create a GstVorbisEnc.prs preset file:

$ sudo gedit /usr/share/gstreamer-0.10/presets/GstVorbisEnc.prs
[_presets_]
element-name=GstVorbisEnc
version=0.10.36

[Default]
name=vorbisenc
bitrate=-1
quality=0.6
managed=false

The [Default] section contains the settings for the "Default" preset. The example I have given above is for 0.6 quality (~192kbps) VBR encoding. The default is 0.3 (~112kbps). Quality can be set from -0.1 to 1.0. There is further information on these settings at http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-vorbisenc.html

Now add the line "preset = Default" to the [streamprofile-oggvorbis-1] section in rhythmbox.gep:

$ sudo gedit /usr/share/rhythmbox/rhythmbox.gep
...
[streamprofile-oggvorbis-1]
parent = oggvorbis
type = audio
format = audio/x-vorbis
presence = 1
preset = Default
...

And this demonstrates how to modify the settings for the preferred format "MPEG Layer 3 Audio":

Create a GstLameMP3Enc.prs preset file:

$ sudo gedit /usr/share/gstreamer-0.10/presets/GstLameMP3Enc.prs
[_presets_]
element-name=GstLameMP3Enc
version=0.10.36

[Default]
name=lamemp3enc
target=bitrate
bitrate=128
cbr=true
encoding-engine-quality=high
mono=false

The [Default] section contains the settings for the "high" preset. The settings above are for 128kbps stereo CBR encoding. There is further information about the possible values at http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-ugly-plugins/html/gst-plugins-ugly-plugins-lamemp3enc.html

Add the line "preset = Default" to the [streamprofile-mp3-1] section in rhythmbox.gep:

$ sudo edit /usr/share/rhythmbox/rhythmbox.gep
...
[streamprofile-mp3-1]
parent = mp3
type = audio
format = audio/mpeg, mpegversion=1, layer=3
presence = 1
preset = Default
...

Thanks to preiaen for providing the link that helped me find a solution:

Bug #945987 “No Settings are available in “Preferred format”
https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/945987

This led to the following pages where I found further information:

[SOLVED] How to edit CDRip settings in Rhythmbox - Ubuntu Forums
http://ubuntuforums.org/showthread.php?t=1965432

Linux Format forums :: View topic - Ubuntu 12.04 LTS Released
http://www.linuxformat.com/forums/viewtopic.php?p=106176


Bars arround windows while using custom theme ubuntu 15.10

See solution on WebUpd8. Here is what it takes. Open a Terminal and:

mkdir -p ~/.config/gtk-3.0
gedit ~/.config/gtk-3.0/gtk.css

In the text editor window that appears enter:

.window-frame {
    box-shadow: none;
    margin: 1px;
}

Save file. Log out and then log back in.


Laggy brightness control on Dell Inspirion using function keys - Ubuntu 18.04

Rick.

I had the same problem on Ubuntu 18.04 and this worked for me. Have you tried?

The steps I followed are:

Opened the keyboard layout file for my language, in my case:
sudo nano /usr/share/X11/xkb/symbols/br

Commented the line:
modifier_map Mod3 { Scroll_Lock };

Logged out and logged in again.

These steps are specific for the Brazilian Portuguese ABNT2 Layout and may not work for other layouts, but it can help you find a similar solution.

The original posted by murilomentor on Reddit: https://www.reddit.com/r/gnome/comments/84453o/delayfreezecpu_spike_when_using_the_functionmedia/


You need to go one-by-one and install each of these dependencies to see what the problem is:

sudo apt-get update
sudo apt-get install wine1.6-i386
sudo apt-get install wine1.6
sudo apt-get install wine

Please post any errors, thanks.


Why are old distributions not partially supported indeffinetely if this is very inexpensive?

They are but it is not inexpensive. Just 1 simple thing like dependencies is going to be a nightmare.

  Why is recent software not available for Ubuntu 10.04?

Because it would require people from Canonical to spent time on an old release where they are needed to help with the newer versions and most will rather make new stuff. So this is done on a requested amount of programs. That system is called "backports".

Backports:

  What are Backports

  When Ubuntu releases a new version of its OS every 6 months, that release is largely frozen in time. While the software that is part of that release will get bug fixes and security patches, new major releases of software and the new features that come with them will not be available.

  That’s where Ubuntu Backports comes in. Backports offers a way to selectively provide newer versions of software for older Ubuntu releases. Most commonly, the Backports team will provide new versions of standalone applications which can be safely updated without impacting the rest of the system.

  Security Support for Backports

  Unlike the packages released with Ubuntu, Backports do not come with any security support guarantee. The Ubuntu Security Team does not update packages in Backports. When a package which has been backported receives a security update, the Ubuntu Backporters will make a best-effort attempt to update the backport.

But... backports need to be requested.

  Requesting a Backport

  Backports must be approved by the Ubuntu Backporters team, but anybody can request a backport. As backports require testing before they can be approved, the backports team recommends that requesters of backports also test them when possible.

  Backports are requested by filing a bug against the appropriate backports project, as listed here. The Ubuntu Backporters team recommends using the requestbackport tool in the ubuntu-dev-tools package to file backport requests. This tool is aware of many conventions for backports and can walk you through most of the verification steps.

  During the initial evaluation, the backports team will evaluate the request against the following criteria:

  Validity of the Backport
  Package Availability
  Source Packages Only
  Ensuring a Safe Upgrade Path

From comment:

  If not, any advice on how to handle ancient hardware that most parts of are not supported (at least out of the box) in 12.04.

If that is the case: it is a regression and those are -bugs- and should be treated as such.
Any Ubuntu release should include all hardware support available in any previous releases + bug fixes found for this release.

And a final note:

Nothing can stop you from making your own backport packages. All you need is a launchpad account and on your systems the following packages sudo apt-get install ubuntu-dev-tools gnupg-agent. On how to continue see ...

http://opensourcehacker.com/2013/03/20/how-to-backport-packages-on-ubuntu-linux/
http://architects.dzone.com/articles/how-backport-packages-ubuntu (backup of 1st link).


How to set up Ubuntu PC as bluetooth headset to attend calls

Bluez has experimental support for this but I have not got it to work properly before.

apparently it's possible if you use Bluez 5 and install "ofono"

then
in /etc/pulse/default.pa  modify the line:

 load-module module-bluetooth-discover

to:

 load-module module-bluetooth-discover headset=ofono

then restart pulseaudio

For now it seems that:
- if in /etc/pulse/default.pa you have added headset=ofono you will have the headset;
- if not you will have a2dp (restart pulseaudio every time).

This info is from the bottom of this long thread, which was last updated a few days ago


How to install dictionaries for GoldenDict?

The following command
sudo apt-get install goldendict
sudo apt-get install goldendict-wordnet

will do.

goldendict: dictionary lookup program.
WordNet  is a large lexical database of English. Nouns, verbs, adjectives and adverbs that are linked together by their semantic relationships


VMware wants /dev/dsp, but it does not exist

I seem to have had the same problem running a win 3.11 guest on a Gentoo host. Turned out modules for OSS was built and installed, but not loaded at boot. A simple sudo modprobe snd-pcm-oss made /dev/dsp accessible for vmware workstation 9.


Mouse wheel doesn't scroll after update 18.04.3 (4.15.0-62-generic)

Going back to kernel 4.15.0-58-generic worked!
You can choose it from GRUB menu (Advanced options).

Anyone can advise on what to do when the next update of kernel arrives and still has no fix for that?

The bug report and more info here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1843323


You have no viable route because you haven't specified one. I suggest you change your file to:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 10.1.17.10
    netmask 255.255.255.0
    gateway 10.1.17.1
    dns-nameservers 8.8.8.8 10.1.17.1

Of course, substitute the address of your router or access point if not 10.1.17.1.

Generally, setting such details is preferred in Network Manager rather than in /etc/network/interfaces.

If you have an interface eth1, it is either a second ethernet card or a wireless interface. Check:

iwconfig

Does your computer have two ethernet ports? Are you attempting to connect with wired ethernet?

Have you confirmed the gateway and other details by checking the network settings on other connected devices on your network?


How do I dual boot Ubuntu and Windows 10 using a SSD as a boot drive and a HDD for storage?

I would recommend first installing Windows on SSD with a 150GB partition. Then install Ubuntu on that SSD with just using the remaining 100GB (not worrying about boot or other partitions). 150-100 ratio can be altered according to your use case.
Regarding the data partitions on the second drive; I would use most space reachable from both OS, which would be an ntfs formatted partition.
Actual install: I would first install Windows, without making any prior partitioning. Just arrange the Windows partition as 150GB on the first drive selection / partitioning window. After installing and booting in Windows successfully, reboot with Ubuntu installer and arrange partitions within the installer.
Don't forget to make the device dual bootable during final phase of the Ubuntu install via Grub.
Hope it gives some useful idea. Have fun!


external volumes partitioning mount point

In many cases Ubuntu will create a mount point automatically and mount the partition(s) on the external drive.

If this is not the case, I suggest that you create a mountpoint / mountpoints and use them manually or via a line in the file /etc/fstab, for example

sudo mkdir /mnt/sd1

You should not mount the swap partition. It should be 'swapped on', also automatically via a line in /etc/fstab. If you want hibernation, 5 GB should be enough (slightly more than RAM in the same units, GiB). Otherwise I think 1 GB or 2 GB swap is enough.

Examples with template lines from my file /etc/fstab,

Partition in internal drive:

UUID=5ece9189-9a67-8176-a7ae-281890f4e3f6  /mnt/sd1    ext4    defaults 0       2

Partition in external drive, not always connected:

UUID=5ece9189-9a67-8176-a7ae-281890f4e3f6  /mnt/sd1    ext4    defaults,noauto 0       2

In this case you have to mount the drive manually (because of noauto).

Swap:

UUID=b260d471-caf5-37e3-b731-4b895c66a868 none         swap    sw              0       0

You can find the UUIDs with the command blkid.


Can I use this list of applications in Ubuntu?

No you can't.

If you need to use these tools as an enthusiast, wine is great but if your life depends on it then I won't recommend that you use wine. Its important that you chose the right tool for the job, in your case the software you list runs natively on windows and you should chose that. Linux is awesome, it has its own set of advantages such as security, speed and also being open source.

People will suggest alternatives like wine and virtualbox or vmware player and for enthusiasts it is just fine but for someone who makes a living using those tools, it might not be the best case. You are unlikely to get any support for Photoshop on wine if something was to go wrong.

If you do use any linux distro, then I'd suggest that you use alternatives that run natively on linux, some of them are really good and the others are slowly but surely catching up and with most software being available on the cloud, the linux platform will be easier to use for all pc users.

In the end its your life and your choice, all the very best.


GNU Make not found - How to install GNU Make on 12.04

$rvmsudo apt-get install make

solved the problem.


I would recommend using rsync for this:

rsync -avP /disk1/ /disk2

while /disk1 and /disk2 are the mount points of your two disks. The -a flag will keep file metadata intact and -vP will give you a verbose progress indicator.

Main advantage is that you can stop the process at any time and continue later simply by running the same command again.


To fix the DNS leak in Ubuntu, you need to add these three lines at the end of your .ovpn file as new lines:

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

The script named "update-resolv-conf" updates "/etc/resolv.conf" file automatically. It forces OpenVPN to use default DNS in the .ovpn file.

Source: http://www.ubuntubuzz.com/2015/09/how-to-fix-openvpn-dns-leak-in-linux.html


Ubuntu 14.04 installation: Ubuntu installer didn't detect windows 10

Dynamic disk is a windows only feature. see this on how to install Ubuntu: "Install alongside" option missing. How do I install Ubuntu beside Windows using "Something Else"?


Where should I store 3rd party jar (Java archive) files?

If all the users in your system don't need access the files, you can put them in your home folder or even better in bin folder (create one if not already done) under your home folder. That way you have a personal bin directory which can be accessed from terminal without specifying the file extension or the program to open the file.

For example,

my-app

would make the terminal to run my-app.any_possible_extension with proper program (Sun's Java or Openjdk in this case). If you create the bin folder, you need to log out and log back in order for the system to recognise the new bin folder. Also, files in the personal bin folder must have been set as executable, otherwise terminal will ignore the file.


"Error: File /etc/sensors3.conf: Permission denied" when running htop

Snap maintainer here. That's just a warning message caused by missing permissions due to snap confinement. As a result, optional CPU temperature stats are unavailable (N/A is shown to the right of each CPU bar, if enabled).
Just updated the snap with support for manually connecting the hardware-observe interface, which fixes it (and also adds support for battery stats, btw). So, you just need to:
$ sudo snap connect htop:hardware-observe

Also, before just uninstalling the snap, note that depending on your OS release the snap might be much newer than the one in the OS repositories (eg. 3.0.4 vs 2.1.0 on Ubuntu 18.04).


The OEM partition will be too small. to gain you enough space and if they are ordered in the way you say deleting it will be of little use unless you the move the recovery partition, moving partition does not always work. The OEM partition contains all your windows installers, so it is good to back this up onto a DVD.

You should be able just run the install on the live CD and it will give you the side by side option where it will shrink the windows partition and then create an extended one for windows. Shrinking partitions can cause data loss (I have never had a problem myself) so backing up is a good idea.


How to type science equations in Libre Office?

The most basic answer to your question is Insert -> Object -> Formula in LibreOffice Writer.


How to kill a process in state "T" (Terminated)

From your comment, you stopped the process with Ctrl-z (which is not the same as terminating).

If you want to kill the process, you have a few options

Restore it to foreground and kill it.

Use these commands:

$ fg
Ctrl+c

Kill it while stopped.

Just:

$ kill %

For completeness-sake (although not specific to your question), you could also tell it to resume and work in background.

Commands:

$ bg   # for background
$ jobs # to see what is running in background (current shell)


How to access an Androidphone's filesystem

You have to connect to your android phone through adb

Then you can type in your terminal "adb shell" and then "su" to have root access to your phone's files through your Ubuntu terminal.


why does ubuntu 11.10 take so much of power?

It is a problem that is supposed to be solved with Ubuntu 12.04.

Meanwhile you can use Jupiter. It will help you in reducing overheating and increased batter  life:

For more Info:
http://www.computerandyou.net/2012/03/how-to-install-jupiter-in-linux-mint-and-ubuntu-to-fix-over-heating-issue/


How to add a network to a node in openstack autopilot

I don't know what you mean by "I would like to add a new network to a connection to one of the existing network nodes".

You can access the inner juju environment directly, and then use juju to add nodes, outside of autopilot. It's not supported, but should work for compute and storage nodes. Not sure about the rest, really depends on what you want to do.

To access the inner environment, follow the instructions from Landscape openstack juju management


Ubuntu 20.04: error: “symbol not found: ‘grub_efi_secure_boot'”

Okay, I found the solution a few days ago. I doubt very many people will end up in a similar situation, but just in case:

What happened was that I had two bootloaders. I'm not sure why, but the default one was what caused that error message to appear.

I fixed it with this solution, and everything worked.

The most likely cause of this was installing Ubuntu (as well as a few other distros) multiple times, trying to get things working properly, and unknowingly choosing different partitions for the bootloader.


You don't necessarily have to erase the windows partition. Just boot off the Windows CD and hit "Repair your computer" You will have to restore Grub2 afterwards (see the grub2 ubuntu wiki page).

Since you can't, putting the OSs on different devices is probably the smarter decision because of HDD crashes. Put Grub2 on the first HDD, Windows on the second that way both will be able to boot independently.

You could of course also experiment with RAID for data or even for your Ubuntu partition.


It appears that my own cronjob does this. Removed it from crontab and it works fine now. LOL.


Desktop icons on left screen go down into black hole

iconic
The problem was solved by creating the iconic bash script to place icons by monitor dimensions rather than virtual screen dimensions.
iconic Main Menu
The main menu allows you to save and load desktop icon settings. The main menu leads you to additional windows to sort icons and manage monitors. Also you can apply new settings.
iconic Main Menu screenshot

iconic Sort Icons
You can sort icons alphabetically, or alphabetically by removing "Link to" from sort order. You can sort by date in ascending or descending order. After sorting you can reposition an individual icon to a higher or lower position.
iconic Sort Icons screenshot

iconic Monitors Notebook
The notebook provides multiple tabs for accessing Monitors General settings and a tab for each individual monitor. Up to three monitors are currently supported.
The General settings tab allows you to set the monitor where desktop icons are placed. Additionally global definition of reserved space on left, top, right and bottom of monitors where icons should not go. Use this to reserve space for window manager launchers and application indicator bars.
iconic Monitors Notebook General Tab screenshot

On this notebook tab you can also specify the number of seconds a test will last. Press the Test button to place icons on the Desktop after you change reserved screen space.
iconic Monitors Notebook Monitor 3 tab

Assign a user friendly name to each monitor. Set the number of rows and columnss to utilize for icon placement on each monitor.
Use the Test button to view what icon placement after number or columns or rows are changed.

Test button example
When you click the Test button all windows minimize and Icons are displayed exactly as they would appear on the Desktop if the current settings were implemented. After a number of seconds the Icons and Windows are restored as they were before the test.


This is not a partitioning problem -- your partition table appears to be fine. It is instead a filesystem problem, and in particular a problem with NTFS, which is a Windows filesystem. If you're sharing this disk with Windows, NTFS can be a reasonable choice, but if the disk is used only with Linux, NTFS is a poor choice, and your problem illustrates why: There are no good Linux tools for repairing damage to NTFS. The ntfsfix utility is named somewhat deceptively. Although it can fix some very minor problems, mostly ntfsfix just sets a flag in the filesystem that causes Windows to run more extensive checks and repairs the next time the disk is used from Windows.

In your case, the solution that's most likely to help is to use Windows. If Windows can't fix it automatically or semi-automatically (by using CHKDSK or its GUI front-ends), you should ask on a Windows forum, because NTFS is not a Linux-native filesystem. Beware, though: Attempts to fix filesystem damage sometimes make matters worse. You might want to back up the data (as in sudo dd if=/dev/sdb2 of=/path/to/some/backup-file.img) before doing anything else. The location pointed to by of= must have enough free space to hold the raw image data (about 300GiB).

If you can't get any results even after asking on a Windows forum, you could use PhotoRec to try to recover files. I gather that there are Windows-specific tools that can do a better job than PhotoRec in some cases, but I don't know much about them. (Again, perhaps Windows forum members will be more helpful on this score.)

If this is a Linux-only disk, you should convert from NTFS to a Linux-native filesystem such as ext4fs or XFS. This is a medium- to long-term solution, though, and it won't fix your immediate problem.


how can i mount partitons in recovery mode

There is a current bug with Recovery Mode. Please vote for the bug (click the green writing at the top left of that page).

The solution is to enter the following two commands as soon as you enter Recovery Mode:

mount --options remount,rw /
mount --all

This will allow you to continue normally.