From RCommander installation notes :

Linux/Unix systems typically have all of the software required for building packages already installed. The easiest way to install the Rcmdr package is to run R as root and issue the command install.packages("Rcmdr") at the R prompt.  R will ask you to select a CRAN mirror; pick the first, "0-Cloud" mirror, or a mirror site near you.

On Ubutu systems, in particular, the following procedure should work (slightly modified from a suggestion by Ista Zahn):

to Ubuntu (see http://cran.r-project.org/bin/linux/ubuntu/)

for ubuntu bionic

echo "deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/" | sudo tee -a /etc/apt/sources.list
sudo apt-get update

Install base R and the R dev package:

sudo apt-get install r-base r-base-dev

Start R from the Ubuntu command line as root so you can install packages system-wide:

sudo R

From the R command prompt, install Rcmdr:

install.packages("Rcmdr")

R will ask you to select a CRAN mirror
pick the first, "0-Cloud" mirror, or a mirror site near you.

It is also possible to install R and R packages from the Ubuntu package respository but these are almost always out of date.

When you first load the Rcmdr package with the command library(Rcmdr), it will offer to download and install missing dependencies; allow it to do so.


No focus on last opened document when opened after a first one

By default, and for many users, annoyingly, Gnome Shell indeed will not immediately focus a new window you open. Instead, it will display a notification "Your window is ready". You can then click that notification to go to the window, apart from hunting for the new window yourself. Aggravating the issue is that the behaviour does not appear to be consistent, at least not to me.

To immediately get the window you need, you can install a Gnome Shell extension, Noannoyance. The "out-of-the-box" supported way to install that extension is using Software Center. Search "noannoyance". Alternatively, install the package gnome-shell-extension-no-annoyance using the terminal (sudo apt install gnome-shell-extension-no-annoyance).

You may need to install GNOME Tweaks to turn the extension on. To install Tweaks, search "tweaks" in Software center, and locate and install "GNOME Tweaks". After launching Tweaks, you will find the extension on the "Extensions" tab, where you can enable it (if not already enabled during install) by changing the slider.


cant write in arabic after upgrading to ubuntu gnome 13.10

Yes because you've to give the Arabic Layout to first preference

When you open Keyboard Layout, and add by + button a new layout, either you've to switch to it that or give it the first preference.
You've to move Arabic layout on the top of the list, if needed you can try to remove the English layout and be with only to Arabic in the list, if still it doesn't help.
You can switch to English/Arabic from the top-panel Keyboard applet-indicator sign, by clicking on it.

Hope you can understand me in this short description


Check if computer went off by crash or shutdown in Ubuntu 14.04

Find in /var/log a dmesg issue, command last to see the exact reboot time. You will see a line starting with reboot (or may be shutdown) for all reboot/crash.
cat /var/log/messages from a terminal and check for messages at the time stamp of reboot or just before it. dmesg can give the last boot time messages.


How can I restart pulseaudio without having to logout?

I solved my problem.

Check if any pulseaudio instance is running:

pulseaudio --check

It normally prints no output, just exit code. 0 means running.
Mine were not running, so I just advanced to step 3.
If any instance is running:

pulseaudio -k

Finally, start pulseaudio again as a daemon:

pulseaudio -D

Start banshee again and enjoy!


How do I view the contents of a .snap file?

You can mount a snap-file as squashfs-filesystem:

sudo mount -t squashfs -o ro /path/to/my.snap /path/to/mountpoint

You can use the file-manager to browse to /path/to/mountpoint and view the contents of the snap-file.


No ~/.vim folder in ubuntu 13.04 where to go for it

You can copy the plugins in the /etc/vim folder, if you want them to be available for all users:

sudo cp -rv /route/to/nameoftheplugin /etc/vim/

Or, if  you only need them for your use, just create the vim directory in your home:

mkdir ~/.vim

Then to open that folder, just type:

nautilus ~/.vim


I only have the Ubuntu Server. Can I install Ubuntu Desktop?

If a server

If you want to run the computer as a server, you should not keep it busy with a desktop environment. I suggest that you try a simple window manager, for example fluxbox or openbox, that you can start when you need it and exit from it when you don't need it.

It is probably enough to install three packages plus the application program(s) that makes you want the graphic user interface,

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install fluxbox xinit xterm

(Installing the packages will bring a lot of 'necessary packages', but much less than a full desktop environment).

You can start the window manager with the following command

startx

and manage it via right-clicking to get menus (where you can also exit from the window manager and return to the text screen).

Else (if not a server)

If you do not want to run the computer as a server, it is probably a good idea to make a fresh installation of standard Ubuntu 16.04.1 LTS or one of the Ubuntu family desktop flavours,

Try Ubuntu (Kubuntu, Lubuntu, Xubuntu, ...) before installing it


Any Ubuntu version earlier than 12.04 has reached End of Life, so you can't revert back to it. You have no reasonable alternative except for backing up your personal files and reinstalling a currently suported operating system.
The minimal systems requirements have increased a lot since Ubuntu 12.04, so you may not be able to install the latest version of Ubuntu because of the minimal hardware requirements. Assuming that your netbook has at least 1 GB RAM, you could install Ubuntu on it, but your performance would be very slow, so you are better off choosing a more lightweight *buntu edition, and if your netbook has less than 4 GB RAM choose the 32-bit version. Check your hardware against the systems requirements here: How do I find out which version and derivative of Ubuntu is right for my hardware in terms of minimal system requirements?.
Whatever version of Ubuntu you choose you have an additional choice of the regular release or the Long Term Support (LTS) release. The regular release is supported by updates for only 9 months after it is released. The LTS release is supported for either 5 years in the case of Ubuntu or 3 years in the case of other LTS *buntu editions. The latest LTS release is 14.04.
The classic GNOME 2 desktop has been updated to GNOME 3 and is no longer available. If you want a lightweight desktop environment that is similar to GNOME 2, it has been replaced by the MATE desktop environment in Ubuntu MATE. Ubuntu MATE does not yet have an officially supported LTS release, only a regular release. Of all the *buntu editions that will run on a netbook, Ubuntu MATE looks the best on netbooks in my opinion.


I have downloaded Murguu 64-bit zip file and later found out that AutoClicker file required 32 bit binary:

Liso@thinkpad:~/Downloads$ file AutoClicker
AutoClicker: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=97621381fea36b46814d978e8ebab4f6caef9119, not stripped

So the issue seems to come from the 32-bit being of the required library, even though you install 64-bit version of Murguu.

Therefore you will need to install 32-bit version of libxtst6, it's quite easy:

sudo apt-get install libxtst6:i386

Will do the jobs.


With grub2 you do not need a separate /boot partition.  You can either have the other distros not install a boot loader, or reinstall the Ubuntu grub2 and when you run sudo update-grub from Ubuntu, it will detect the other installations and add them to the menu.

Note that the last time I tried this with Mint, its installer did not seem to recognize LVM.


Access mtpfs on the fly from any application

You'll be able to do this with a new enough version of gvfs and if you install CyanogenMod on your phone.

See this answer for guidance on how to upgrade gvfs and why you need CyanogenMod: Some Ubuntu 13.04 applications cannot access files on MTP-mounted systems. Why?


"ubuntu" shows up in boot menu but won't boot

Fixed It: There was a BIOS entry down below the boot priority selection that said "EFI Device Priority". I selected the "UEFI: Hitachi ..." to be 1st and "ubuntu" to be second and it boots now.

Notably, that second boot option (UEFI: Hitachi ...) didn't work the first time I installed Ubuntu.  I had to run the Boot-Recovery-Disk to get that "UEFI: Hitachi ..." boot option to work.

Still don't know what that "ubuntu" entry in the BIOS Setup and F12 menu is, or why it didn't boot on it.


Why did Ubuntu stop free shipping of its CDs?

Ubuntu used to have a "ShipIt" service which shipped free CDs.

This has now closed.

They have put up a notice on the former ShipIt website here:

http://www.ubuntu.com/shipit

  After delivering millions of Ubuntu CDs to millions of new users, our ShipIt programme has finally run its course. While we can no longer deliver free CDs through the programme, it’s still easy to get Ubuntu. You can download Ubuntu for free from Ubuntu.com or you can buy a CD straight from the Canonical shop.

You can read their official blog post about their decision, made in April 2011, here:

http://blog.canonical.com/2011/04/05/shipit-comes-to-an-end/

Here's an excerpt:

  Technology moves on and as we look at ways to spread Ubuntu further, a CD distribution programme, especially one of that size and delivered in that way, makes less sense. We have been slowly easing back the programme over the last two years to limit the number of CDs per person and the number of times a person could apply for a CD. But for Ubuntu 11.04 you will no longer be able to go to our website and apply for a free CD.

They go on to talk about a few ways that you may still be able to get a free Ubuntu CD.

TL;DR: They spent huge amounts of money shipping free CDs and decided that no longer makes sense, citing not much more than "technology moves on".


systemd-networkd.socket failed. Any ideas on what to do?

On ubuntu 20.04, you can open the application systemd-manager.
Then click on the Services button in top bar, a drop-down will open. You will need to select the option 'Sockets'. Left panel will show list of socket services, there you can find the service name as 'systemd-networkd'.
Against that service, there must be two green tick marks. If not, then select that service and click on 'enable' button in top bar and then click on 'Start' button (green button) to start the service. This will make the two green ticks against that service in left panel.


how can I change the language from english to spanish

Click on system settings --> Language Support

You may be asked if you want to update or add components to your currently installed language(s) when you first open the dialog.  Click Install to go ahead and install the additional components to complete the localization and avoid to be prompted next time you start Language Support.

Scroll down to Spanish, and Click Install / Remove Languages to add it.

Once you’ve made your selection, click Apply Changes to install your new language.  Make sure you’re connected to the Internet, as Ubuntu will have to download the additional components you’ve selected.

Type in your password, and then click Authenticate.

Drag Spanish to the top of the list, and click on Apply System-Wide.

Once you have your new language settings all set, go ahead and log out and log back in.  Once logged-in, Ubuntu may ask you if you want to update your user folders’ names to your new language, click Update.

Then you can add a Spanish keyboard layout, just follow the following images to do so.

Once done, go back into Language Support to change the Regional Format.  See image below.


Cant boot Ubuntu next to my Windows 8.1 OS

PLEASE, PLEASE, READ EVERYTHING FIRST. I DO NOT WANT TO BE RESPONSIBLE FOR SEVERE DATA LOSS. IF YOU FEEL UNCOMFORTABLE WITH MY APPROACH, DON'T ADVENTURE YOURSELF.

Assuming that you have backed-up everything that is on your laptop, I would follow the following steps. Make sure your read everything clearly before proceeding. This might result in an unstable Windows installation. I have a couple of suggestions to make.

1) The first time I wasn't able to boot anything (Ubuntu and the USB pendrive) but Windows, I booted back to Windows and formated my USB to FAT32. If in doubt, use different USB drives (not all of them allow Ubuntu as a live system), if possible. Try to boot again after using the pendrive on windows. Also try uNetbootin, works everytime for me. If it is not working, you probably touched some "vital" settings in your BIOS (disk configuration, USB port allowing to boot from USB). Whenever you enter your BIOS, are you able to view your USB somewhere? (When you say that you are unable to boot on USB or Ubuntu, make your statement clearer).

If you are successful into booting Ubuntu from your USB, you could install it and WIPE your disk entirely THEN reinstall Windows IF, and only IF possible. If you don't know your BIOS activation key of Windows, search for software which will find it for you. IF you do not understand, do not proceed.

2) My second advice would be that you repartition your disk straight from Windows (as it won't allow you to touch to Windows partitions (OS, recovery,...)). Make sure you leave some unallocated space equal to the amount of space you want to use to install Ubuntu. If not done, create your USB first. If you have a CD drive, buys DVDs (it is ANNOYING but saves your from so much trouble. I have lot's of experience when it comes to installing Ubuntu in the cleanest way possible) and burn DVDs of Ubuntu images. Boot from either the UBS or the DVD, and proceed with the installation. Now, this is when the hardest part comes in: selecting your installation mode.

When you arrive to a step when you have to choose between ERASING your disk and SOMETHING ELSE, choose SOMETHING ELSE. Then, recognize the unallocated space you created in Windows. Create and ext4 file system out of it, format it (again :) and mount it as "/". If you want to add swap, add it. Add anything else you want to. Also! This is important if you boot in UEFI mode (USB or DVD). Make sure you have your efi partition on (the same used by Windows). Don't delete it! Don't format it, use it as EFI partition!

Install Ubuntu and you should be safe.

3) Final solution. Throw all of you important data somewhere safe, WIPE your disk while installing Ubuntu and don't bother risking a Windows recovery partition's life!

In the worst case scenarios:

You still can't boot from neither your USB/DVD/Ubuntu fresh install. That means you played in your BIOS;
You didn't play in the BIOS, you don't have a CD drive: ask a friend for a USB drive that works well;
Buy a cheap USB at least having 2GB of space storage.
If you still can't install Ubuntu, explain everything you observe while/as you try to install so it'll be easier to track down. Good luck!


How do I verify the PGP downloaded signature of the TrueCrypt setup file with Seahorse?

I do not think you can do all of the steps with Seahorse and the seahorse plugins do not seem to be maintained beyond 11.04.

Create a gpg key

Start seahorse , under the main menu New -> Create a new GPG key

Fill in the subsequent information and password

2) Download the PGP key from Truecrypt You can do this with any browser, save the file where you wish. For this tutorial I will use Downloads in your home directory.

http://www.truecrypt.org/downloads2

The file is called "TrueCrypt-Foundation-Public-Key.asc"

https://www.truecrypt.org/download/TrueCrypt-Foundation-Public-Key.asc

3) With seahorse, import and sign the key

In the seahorse menu -> File -> Import

Select the truecrypt key ( "TrueCrypt-Foundation-Public-Key.asc" )

Now sign the key as trusted

Under the "other" tab, select the truecrypt key and sign it as trusted

4) Download the truecrypt PGP signature from here, save it in Downloads

http://www.truecrypt.org/downloads

5) As far as I know, you can only verify the signature from the command line

cd ~/Desktop
~/Desktop$ gpg truecrypt-7.1a-linux-x86.tar.gz.sig --verify truecrypt-6.2a-ubuntu-x86.tar.gz

Should yield

  gpg: Good signature from "TrueCrypt Foundation "

See also http://mindlev.wordpress.com/2009/09/07/verifying-the-truecrypt-installer-package-on-ubuntu/


xubuntu - CPU at 78C while watching youtube videos

Can be the fan/heatsink of the CPU? Maybe is full of dust.
Check Bumblebee here.


Never did find an answer to this one except that it was a fairly wide-spread issue. Purging the nvidia drivers so as to fall back on the open source nouveau drivers got the system back up and running


Your command should be,

sudo sh -c "echo 'deb http://people.linaro.org/~neil.williams/ubuntu/ trusty main' > /etc/apt/sources.d/lava.list"

Try to run the command in a subshell or otherwise you will get an permission denied error.


software-properties-gtk (software and updates) window not showing for any apparent reason

The problem was that the version of python I had installed as a user did not include the the gtk libraries required for this program to run.

When I ran it as root, it was using the system's python installation, which had all those libraries already built in, so naturally it worked then.

This problem has been fixed in later versions of software-properties-gtk because the shebang line at the top of the program now says:

#!/usr/bin/python3 instead of #!/usr/bin/env python3.

The later causes it to use the users's own version of python3, while the former (and now the defacto) is using the system installed version of python3


Right click on the touch screen doesn't work

Easystroke allows gesture-based actions. You can configure it so when you, say, draw a circle, it right-clicks. I find it to work well.

To install it, go to Ubuntu Software and type 'easystroke' into the search bar. You can install it from there.


How to change the password of an encrypted LVM system (previously alternate Installation, now advanced feature)?

Using the Disks application:

In Ubuntu 18.04 or newer there is the possibility of using (Gnome) Disks. Thanks for the hint, Greg Lever, after clicking around I found what Greg mentioned:
1. Open Gnome Disks.
2. Choose/Click on the main physical hard drive in the left panel.
3. Click on the LUKS encrypted partition, in this example it is Partition 3:

4. Click on the edit icon (cogs, gear wheels) and choose "Change Paraphrase".

Or... using the command-line:

Here is the answer that worked for me, after Hamish helped me to realize my typo.

WARNING (for older Ubuntu versions, newer (e.g. 19.04) should be bug-fixed but be careful anyway): If you only have one key and remove it before adding another, you will render your disk inaccessible after rebooting! This also means you can not add a new key anymore afterwards. Thanks waffl and khaimovmr for these helpful comments.

First, you need to find out which is the encrypted LVM partition, it may be sda3, but it can also be sda5 (default on Ubuntu LVM), sdX2, ...:

cat /etc/crypttab

To add a new password, use luksAddKey:

sudo cryptsetup luksAddKey /dev/sda3

To remove an existing password, use luksRemoveKey:

sudo cryptsetup luksRemoveKey /dev/sda3

View currently used slots of the encrypted partition:

sudo cryptsetup luksDump /dev/sda3

Cited from this blog. Thanks.

Be aware: Flimm experienced that Ubuntu's system keyboard layout changed from Dvorak to Qwerty. You cannot see which keyboard layout you are using (bug #1862656) and you cannot choose to display the password (bug #1862654). Also, you only get three tries before being forced to wait for 60 seconds (bug #1862660). Thanks flimm for the helpful comment!


any 3d drivers for ati fglrx which would support google earth and other 3d apps on chrome

i think enabling WebGl in your browser would solve this issue for further details about how to enable it ou should refer this question
how to enable WebGL in Chrome


How to make bash scripts execute when clicked upon?

The shebang is wrong, type this instead :

#!/bin/bash

xdotool key Super

and set the execution bit on the script.


ImageMagick can do it:

convert -delay 100 -loop 0 image*.png animation.gif

Replace image*.png with whatever your images are named.

Install it with:

sudo apt-get install imagemagick

Beware that you'll need a lot of RAM for 600 files.


Ubuntu 13.10 Mouse Scroll Wheel does in work in GTK3 apps

Here is a bug notice for this:

https://bugs.launchpad.net/compiz/+bug/1200829

There is a ppa with patched GTK code that fixes the issue

https://launchpad.net/~mc3man/+archive/test-scroll

I can confirm the ppa code fixes the scroll wheel issue


How to enable overlay scrollbars in my app?

You should use gtk_scrolled_window widget because is the only widget that support overlay scrollbars.

Source https://wiki.ubuntu.com/Ayatana/ScrollBars

If it doesn't work try with:

sudo su
echo "export LIBOVERLAY_SCROLLBAR=1" > /etc/X11/Xsession.d/80overlayscrollbars


Ubuntu 14 Vbox 4 install guest additions creates modprobe error

First of all you have to uninstall all currently installed virtualbox related packages. You can do this by typing sudo apt-get purge virtualbox* in a terminal window.  Right after that, you can follow this guide to install the latest Virtualbox:

Go to the official Virtualbox site: https://www.virtualbox.org/wiki/Linux_Downloads and follow the instructions on how to add the official Oracle update server to your system and acquire the necessary keys.  The instructions you need are the ones concerning Debian-based Linux distributions.  Since you are using 14.04, you must replace xenial with trusty on this line:  deb http://download.virtualbox.org/virtualbox/debian xenial contrib.  Be very careful when adding this line to sources.list.  If you feel unsure, copy the original file somewhere before you add this line at the end, so that you can restore it if something doesn't go as expected.  As for the keys required, it's easier to use the combine downloading and registering option.  After that, you can follow the instructions below and install virtualbox-5.1.
It is important to make sure that your username has been added to the vboxusers group after the installation is finished.  If it had been added by your previous installation, there's no need for you to do anything.  If not, you have to log off and back on for this membership to actually get activated.  You can check this by typing cat /etc/group in a terminal window.  You will see the vboxusers group at the end of the file and your username next to it.
Right after you finish virtualbox-5.1 installation, go to this page:  https://www.virtualbox.org/wiki/Downloads and download the VirtualBox 5.1.2 Oracle VM VirtualBox Extension Pack.  This will add support for USB 2.0 and USB 3.0 devices, VirtualBox RDP and PXE boot for Intel cards to your guest operating systems.  Right after you download the file, clicking (or double-clicking) on it will start Virtualbox automatically and it will install the pack.
You should be ready to use your new Virtualbox installation now and import your existing guest operating systems to it by selecting Machine->Add from the Virtualbox menus.
At this point you must install the new Virtualbox guest additions on the guest system.  Since your guest is Windows XP, there are two ways to install the additions.  If you want to use 3D acceleration on the guest and you have activated the corresponding option in the vm settings, you must boot Windows XP in Safe mode and install the guest additions in that mode, otherwise you can do the installation after you start Windows normally.  In both cases, the guest additions are installed by clicking on Devices on the host window menus and instructing virtualbox to insert the guest additions disk in the guest system.  The installation program will start automatically after that.

If everything went ok, your system should now be configured to check for updates on the Oracle server and update virtualbox automatically.  Note that every time an update is detected and installed, the first time you run the updated virtualbox, it will prompt you to update the extension pack too, which you should do in order to keep everything fully functional.  Also, after such an update, you should update the guest additions too the same way you did this time.

I hope this will help you update your Virtualbox installation successfully.
Good luck!  ;-)

P.S.  Since you cannot connect to https://www.virtualbox.org, I am pasting the instructions here:

Debian-based Linux distributions
Add the following line to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian xenial contrib

According to your distribution, replace 'xenial' by 'vivid', 'utopic', 'trusty', 'raring', 'quantal', 'precise', 'lucid', 'jessie', 'wheezy', or 'squeeze'.

You can add keys with

sudo apt-key add oracle_vbox_2016.asc
sudo apt-key add oracle_vbox.asc

or combine downloading and registering:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

To install VirtualBox, do

sudo apt-get update
sudo apt-get install virtualbox-5.1


Screwed up partitioning, are my old files redtorable?

Ouch.

Sorry, with the possible exception of the make-believe computer tricks on CSI, when a partition is deleted or changed (to a different type,) the data that was there is gone.  You will have to do a fresh install of Windows.

FYI, to streamline things a bit, I would use a live Linux disk and do a full wipe of the HDD using "gparted" ("disks"), and then set the HDD up as 2 partitions.  Then, install windows FIRST on one of them, then install Ubuntu on the second one.  Ubuntu setup should be able to divvy up the second partition automatically between swap, home, etc.

Installing Windows after Ubuntu can work, but it is potentially painful to get it to dual-boot that way.  Far less problems to install ubuntu after windows.


Your script restart.sh use the systemctl command, which is part of systemd; because this command needs root rights due to his role, you need to use the sudo command to be able to use it (and your user must be refered in sudoers as an authorized sudo user). Your command would be like below :

sudo /home/myuser/restart.sh

/home/myuser/restart.sh is just the absolute path to start the script, which is the same thing as doing sudo ./restart.sh inside /home/myuser/ folder

Also, as OP mentionned it in comment, you can also call sudo with absolute path with /usr/bin/sudo (/usr/bin/sudo apt update is the same as sudo apt update)


Intel Ivy Bridge Z77 Driver for Ubuntu 12.04

Thanks for your replies everyone.

My question was answered at the Ubuntu forum to which one of the members recommended upgrading my kernel to avoid the random freeze-up issues. Once I upgraded into the latest stable 3.3.7 kernel, the video card is now identified and the freeze up has stopped too.


Use Tab Key to switch between files / text windows

You can use Tab to navigate to boxes while you are in a webpage. I do not think tab will help you in navigating files. For this I suggest  F2 to rename the file, type your desired file name and hit   ▼   twice to save and highlight the next file.


Boot stuck - how to start GUI from the command line?

lightdm is not the standard Gnome window manager, it is gdm3, so there is some misconfiguration. Easiest way to try to remedy it is to, when logged in, run:
sudo apt-get install --reinstall ubuntu-desktop

and reboot.


Wireless internet connection randomly disconnects in dell inspiron N5110

This is a common problem caused by some kernel versions. Try to upgrade, or downgrade and see if it helps.

You can download different versions from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/


How do I install the Gnome Do plugin for Banshee?

I cannot say for certain, but I would try the following:

sudo apt-get install gnome-do
sudo apt-get install gnome-do-plugins

From there, run gnome-do and configure the plugins such that the banshee plugin is enabled.  It had been a while since I have used gnome-do and I would be curious to know how this works for you.

I apologize for not having read your post a bit more closely (it has been a  long day).  I did not read correctly that you are not seeing the Banshee plugin in the Gnome-Do plugin list.


Based on the screenshot you provided, I would recommend that you open a terminal, and run the command sudo apt-get install -f.  This should look like the following:


How to map Ctrl/Shift to thumb buttons of Mouse?

Install xdotool and xbindkeys

sudo apt-get install xdotools xbindkeys

Then copy the following code into ~/.xbindkeysrc

"xdotool keydown shift"
        b:9
"xdotool keyup shift"
        release + shift + b:9
"xdotool keydown ctrl"
        b:8
"xdotool keyup ctrl"
        release + control + b:8

where b:x is the number of your button which you can find out using xev.
As I don't want this bindig permanent everytime I need it I start a terminal and type xbindkeys -n. When I don't need it anymore I simply close the terminal.


The message * Not enabling Memory Error Detection and Correction since EDAC_DRIVER is not set is a needlessly scary message from the edac init script (part of the edac-utils package). What it's telling you is that it is not manually loading a specific edac kernel module because the variable $EDAC_DRIVER is not set in /etc/default/edac. You can see this from the relavant bits of the init script:

   if [ -n "$EDAC_DRIVER" ]; then
     log_daemon_msg "Enabling ${DESC}" "$SERVICE"
     modprobe $EDAC_DRIVER
     STATUS=$?
     case $STATUS in
       0) log_end_msg 0 ;;
       5) log_failure_msg "No EDAC support for this hardware"; log_end_msg 1 ;;
       *) log_failure_msg "failure with exit code $STATUS"; log_end_msg 1 ;;
     esac
   else
      log_daemon_msg "Not enabling ${DESC} since EDAC_DRIVER is not set"
      log_end_msg 0
   fi
   log_daemon_msg "Loading DIMM labels for ${DESC}" "$SERVICE"
   $edac_ctl --register-labels --quiet

Given that the kernel is automatically determining which edac driver to apply and the $edac_ctl command (immediately following the if-then-else block that checks whether $EDAC_DRIVER is set) successfully registers the DIMM labels, it looks to me like everything is functioning correctly here (but, full disclosure, I don't know anything specifically about EDAC).


X.org continues to be packaged for 14.04 Trusty Tahr, as evidenced by the xorg source package's Launchpad page (showing package version 1:7.7+1ubuntu8 in Trusty) and the xserver-xorg binary package's Ubuntu Packages database page. The file list shows it's not just a transitional package, but actually provides software--in particular, the /usr/bin/X executable.

Also, I'm currently running Trusty on a VMware virtual machine and when I log in to a Unity desktop, /usr/bin/X is running:

ek@Gnar:~$ ps ax | grep `pgrep Xorg` | head -1
 2494 tty7     Ss+    0:04 /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

And this executable is provided by the xserver-xorg binary package, on my system:

ek@Gnar:~$ dpkg -S /usr/bin/X
xserver-xorg: /usr/bin/X

(To reproduce this, one may perform those steps or one may choose to look for /usr/bin/Xorg from xserver-xorg-core instead.)

And for additional assurance that X.org is still present in Ubuntu 14.04 and remains the default display server:

As cited in Wikipedia, it was at one time intended that Mir fully replace X.org in 14.04, but this was postponed and is expected for Ubuntu 16.04 instead. See also this article summarizing the history.
Although you can run Mir with a preview version of Unity 8 in 14.04, this version of Unity is provided by a separate package (unity8-desktop-session-mir) from the regular unity package. The Unity (major) version in 14.04 remains 7. Here's the unity source package page and the unity binary package page.

Or if you prefer to check from a 14.04 system, running apt-cache policy unity yields:

unity:
  Installed: 7.1.2+14.04.20140321-0ubuntu1
  Candidate: 7.1.2+14.04.20140321-0ubuntu1
  Version table:
 *** 7.1.2+14.04.20140321-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Unity 7 uses X.org on Ubuntu.
As of this writing, 14.04 has entered its final beta freeze. At this point, improvement of 14.04 consists mainly of fixing bugs. Huge new features are extremely unlikely to be added.

As may be part of your motivation for asking this question, it's true there have been some concerns about driver support for Mir, with at least one major video vendor (Intel) having said they don't plan to support it. But X.org and Mir aren't the only display servers. In particular, it appears the Kubuntu project (the Ubuntu flavor with KDE as the default desktop environment) will be trying to adopt Wayland. Wayland already has significant support in commercial video drivers.

Rather than speculate wildly about what might happen, I want to limit the focus of this answer to what has happened, been developed, and been announced. (More subjective or speculative answers, or forum-like discussion, would be more appropriate on Discuss. Credit to onrea for suggesting that site.) But you may find useful information and news in some of the citations within this section of the Wikipedia article on Mir.


Dual boot "Ubuntu Desktop 12.04" "Ubuntu Server 12.04" grub mess up!

You can also boot from your Desktop 12.04 live medium and reinstall Grub. Make sure your second disk is plugged in, then from a terminal:

sudo grub-install /dev/sda
sudo update-grub

Note that's /dev/sda (without the 1 at the end).

If you add installs or distros in the future, you can keep Grub associated with your first install by either 1) choosing the option to not install any bootloader in the new install or 2) if you don't have that option, choosing the same partition (this time with number) that you are using for the new install. Then boot the first install as normal and run update-grub again. If you forget and install a bootloader to /dev/sda again, you can always boot from the live medium and run the two commands above.


How to share internet connection between two computers one which is connected to a dongle

Sharing internet connection via LAN cable.
Here are the steps:
PC Sharing Connection
PC that will share connection
Open your Network Manager via the Network Icon on the Unity Panel:
Goto the Edit Connections option and click on it.
Select the Wired connection you wish to edit and double click on it or select the EDIT button.
You will appear on the Wired Tab (Again). This time, go to the IPv4 Settings if you are using IPv4 or IPv6 if you are using that one. On the Method option select Share to Other Computers. Now SAVE. You are done.
Now just connect the 2 computers and you are done.
Client PC
PC That will receive Shared Internet Connection (Depends on Network Setup)
Open your Network Manager via the Network Icon on the Unity Panel:
Goto the Edit Connections option and click on it.
Select the Wired connection you wish to edit and double click on it or select the EDIT button.
There on the Wired Tab, go to the IPv4 Settings if you are using IPv4. On the Method option select Manual. The options in Addresses will be editable now. Add the IP you want, the Mask you need and the IP of the PC that is sharing the connection.

Eg:
The IP of the Client PC will be 192.168.0.2, the Mask is 255.255.255.0 to imply that is a Class C (LAN) network and 192.168.0.1 to mention that the computer sharing the connection has the IP 192.168.0.1 with it. Additionally add the same IP of the computer sharing the connection to the DNS Servers.

This should cover all the possible scenarios in a home LAN when one wants to share the internet connection over Wired cable.


Fix connecting betwen 2 virtual machine in Ubuntu 18

I am not sure what “full connection” means… As @AlexOnLinux noted, VirtualBox offers several networking modes and you must choose the appropriate one.

If your guests don’t need to access the internet, you can use Host-only to connect them both together (and with the host as well).

If you are allowed to connect more than one client to the network, you can use Bridged mode to allow guests to access each other, the host and the internet as well.

NAT Network might also be interesting for you (but I have no experiences with it).


upgraded by the book 11.04 to 11.10. I want 11.04 back

Downgrading doesn't fix the booting options. The problem is that the GRUB settings have been changed by the install script. Can be fixed with this: Other Linux Distros deleting Ubuntu from GRUB

You can use the Unity2D or Gnome classic shell How to revert to GNOME Classic Desktop?


Text file has appeared on my desktop - Unkown Origin

There's a possibility you could've dragged a selected piece of text to your desktop by accident and that's how it ended up there.


Ubuntu 18.04 cannot set hardware clock as local time

An alternative to the method suggested by @PrahladYeri is that instead of brute-changing the RTC time from the BIOS, boot into Windows and let Windows automatically overite the RTC.

sudo timedatectl set-local-rtc 1 --adjust-system-clock

Now boot into Windows and in "Change the Date and Time", disable and then again enable "Set time automatically". This should overwrite the local time on the RTC.


Ubuntu 20.04.2 LTS won’t boot on Raspberry Pi 4

I was just able to get the 32 bit version to work using this article:
https://linuxhint.com/install-ubuntu-desktop-20-04-lts-on-raspberry-pi-4/
Instead of creating the wpa_supplicant file I updated using Ethernet.


Why do ntpdate queries take twice as long to execute in 12.04 than 10.04?

I don't know if it is relevant  but I guess may be due to this Change in DNS from Ubuntu 12.04 Release notes

  Network Manager now uses dnsmasq for improved DNS reliability and
  support for split-DNS on VPN links. You can learn more here.


How Can I Get Transparent Right Click Menus Back in Ubuntu 12.04?

There is a way to do this using the CompizConfig Settings Manager (CCSM), although it is a bit more complicated.

Warning!
You can very easily break your desktop using CCSM. Follow these instructions and any other answers recommending CCSM at
your own risk. If you run into problems, see this question for
instructions on how to restore Unity to working condition.

You can install CCSM by looking for it in the Ubuntu Software Center or by entering in a terminal:
sudo apt-get install compizconfig-settings-manager

Once installed, start it up and go into the options for the Opacity, Brightness and Saturation plugin. Click the checkbox to the left of it to enable the plugin first, then add a new rule under the Window specific settings section of the Opacity tab. The "Windows" textbox should contain:
Tooltip|Menu|PopupMenu|DropdownMenu

...and the "Window values" slider should be set to 90 (recommended). This value can be tweaked to your taste.
For more detailed information and screenshots, see my (sourceExpired domain).


Opening a port on two networks -- connection refused

tl;dr: Delete the default route to 10.132.1.1 and incoming connections on 10.132.2.x will be successfully returned on the 10.132.2.x network.  Note that this relies on the fact that I do not use the 10.132.1.1 for incoming connections.
LONG VERSION:
After posting this question on various forums, someone suggested that my configuration is what is called "dual home", and that I was not set up correctly to support two networks.  Some research on this brought me to these entries from "ip route":
default via 10.132.1.1 dev eno1 proto dhcp metric 100
default via 10.132.2.1 dev wlp1s0 proto dhcp metric 600

This is saying that the machine is currently set up with two default routes. Putting a tcpdump on the 10.132.1.10 side of COMPUTER B and then attempting to ssh in to 10.132.2.20 showed that COMPUTER B was attempting to send responses with the IP address 10.132.2.20 out on the 10.132.1.x network -- which failed.
The weird thing is that before this, I never detected any problems with this setup.  The simple solution for my system was simply to delete the default route on 10.132.1.1.  Since the routing tables also include the following:
10.132.1.0/24 dev eno1 proto kernel scope link src 10.132.1.10 metric 100

any connections to local devices continue to work.


Trouble removing ruby 2.3.0p0 from Ubuntu

You can't use apt-get because  it contains a older version of ruby.
You can use dpkg -r ruby2.3.0 .If you want to purge use dpkg -P ruby2.3.0
Assuming thats the name of the package if you are not sure you can find out the name using dpkg --list

Source


Apparently, this is a bug, but gparted manages to format.

Strange that I get an error message when trying to format from nautilus, but not from the command line.


Making an Ubuntu installation disc UEFI bootable

Precisely what Ubuntu version are you trying to install? Please specify the exact filename of the .iso image that you downloaded. My first guess is that you've got a 32-bit (i386) version, which won't be bootable in EFI mode on a 64-bit computer -- at least not without additional tedious mucking about. It's also possible that you've downloaded a Mac version (amd64+mac), which likewise also lacks EFI support. Another possibility, for rEFInd at least, is that you've accidentally reconfigured the scanfor line in refind.conf to omit the optical option, which is required to "see" EFI-bootable optical discs. This last possibility seems rather remote, though; by default rEFInd does scan for EFI-bootable optical discs.

I just checked, and in VirtualBox, at least, rEFInd has no problems detecting the EFI boot mode of an AMD64 Ubuntu 12.04 system (ubuntu-12.04-desktop-amd64.iso).


Btrfs out of space, but OS reports lots of disk space free

Btrfs has not freed up blocks for reuse.  For Btrfs, this is a manual process.

btrfs balance start / is the command to do this process.

  Done, had to relocate 352 out of 352 chunks

It will take a long time to complete, but you can check on the progress of the command in another console window with:

$ btrfs balance status /
Balance on '/' is running
239 out of about 352 chunks balanced (240 considered),  32% left

Once the rebalance operation was completed:

$ btrfs fi show
Label: none  uuid: 76eb29fb-6909-4cc9-9848-f0b5723802b9
    Total devices 1 FS bytes used 287.93GiB
    devid    1 size 353.90GiB used 298.90GiB path /dev/sda5

Label: none  uuid: 229c7745-144f-4dd0-98c5-476248b308ad
    Total devices 1 FS bytes used 384.00KiB
    devid    1 size 348.77GiB used 1.02GiB path /dev/sda3


can't connect to BigBlueButton from external address


How in APT to choose a specific source to provide installation instructions for virtual package?

You should change the prefix:

apt-get install php7.2-ctype


Ubuntu 12.10 boot hangs at purple screen when integrated NIC (ethernet card) is enabled in BIOS

I'm not sure about the cause of the hang, but one workaround is to boot Ubuntu in BIOS/legacy mode and Windows in UEFI mode. This is awkward with most firmware implementations, but my rEFInd boot manager can help, since it can redirect the boot process from EFI-mode to BIOS/legacy-mode. To do this, you'd need to install rEFInd, add hdbios to the scanfor line in its refind.conf file, and install the BIOS version of GRUB (grub-pc in Ubuntu's packages). Thereafter, you should see rEFInd menu options when you start up for booting either Windows or a legacy OS, and the latter will take you to the BIOS-mode GRUB. Initially you'll also have additional menu items that will launch the EFI version of GRUB and perhaps directly launch Linux kernels in EFI mode, but you can eliminate those by removing the EFI-mode GRUB's boot loader on the ESP and by removing the ext4fs driver that rEFInd's installer will set up (or by setting it up without the file to begin with). OTOH, there's a slim chance that booting in EFI mode via a rEFInd->kernel path (without involving GRUB) will fix the problem, so it may be worth trying that before you even install grub-pc.

Another option is to convert from a GUID Partition Table (GPT) disk setup to a Master Boot Record (MBR) setup and boot both Windows and Ubuntu in BIOS mode. This will involve more work, though, since you'll need to convert the partition table type (which is possible with gdisk) and install appropriate BIOS-mode boot loaders for both OSes. I've seen instructions on doing this for Windows, but I don't happen to have any URLs handy.

Of course, it's probably better to get the computer to boot Linux in EFI mode without hanging, so if somebody has a fix for that, you should try it first.


The AMD Catalyst driver is having issues to work with kernel 4.2.

Reference : A Fix For AMD Catalyst On Ubuntu 15.10 Is Coming.

As a workaround uninstall the AMD proprietary drivers meanwhile.

sudo apt-get purge fglrx

There is a workaround fix in wily-proposed but it is recommended to wait until it is tested.

Use the open source radeon drivers in the meantime until the final Catalyst fix is released.

Note :

In case you are experiencing problems to do this from the desktop you can use a virtual console.

From login screen press Ctrl + Alt + F1 - enter user name and password - execute the command.


Is it possible to use all the space in app section and increase icon size more than the maximum size in Ubuntu 20.04 LTS?

Your first request can be done with Gnome extensions.
In particular you may use More columns in applications view
Not sure how to increase icon size though.


From the snapcraft.io web site:

HOME This environment variable is re-written by snapd so that each
snap appears to have a dedicated home directory that is a subdirectory
of the real home directory.

Perhaps you can get where you want by making n3dr more snap-aware, or by creating a sym-link from the ~user/.n3dr.yaml to the snapd home for n3dr.
ln -sf /home/user/snap/n3dr/x1/.n3dr.yaml /home/user


can I delete old vmlinuz in /boot manually?

It's possible to delete just about any file manually, including kernels and initial RAM disks (initrds); however, when the file was installed by a package (as these were), deleting them manually leaves the package system in an inconsistent state. Thus, deleting the files manually is not recommended. I have three suggestions for how to proceed.

Approach 1:

My first choice is this:

Type uname -r to discover what kernel you're currently running. For instance, one of my systems returns 4.8.0-51-generic.
Type ls /boot/vml* to see all your installed kernels.
Select a kernel from those listed that is not the one you're currently using, and that's not the oldest one (which is probably the "base" of the kernel series). The kernel that comes just "before" the one you're running is a good candidate. That might be vmlinuz-4.8.0-46-generic, for example.
Type dpkg -S /boot/vmlinuz-4.8.0-46-generic, changing the kernel version as necessary. (Note that's an uppercase -S in the command.) This should reveal the package name associated with that kernel. In this example, it's linux-image-4.8.0-46-generic. Note that you should not pass a kernel with a name that ends in .efi.signed to dpkg -S; these kernels are installed in a different way that won't work with this command.
Type sudo dpkg -P linux-image-4.8.0-46-generic (changing the kernel version number, of course). This tells the system to delete the package. This may is likely to result in a complaint about broken dependencies. In this case, you should add the package(s) it claims as being dependent on the one you said to remove. In my case, I had to make the command sudo dpkg -P linux-image-4.8.0-46-generic linux-signed-image-4.8.0-46-generic linux-image-extra-4.8.0-46-generic (deleting three packages rather than one).
With any luck, the preceding command will work and clear up enough space for sudo apt-get autoremove to work.

Approach 2:

If this doesn't work, then I recommend manually deleting the .efi.signed version of a kernel you're not using, if it's present. These files are not installed directly; they're created by merging the standard kernel image with a small signature file installed from another package. Thus, deleting them won't upset the package system in the same way that manually deleting a non-signed kernel file will. Note, however, that if Secure Boot is active on your computer, or even if it's not but GRUB is configured to boot through the .efi.signed version of the kernel, deleting this file will make it impossible to boot that kernel. Thus, it's important that you not delete the .efi.signed version of a kernel you're currently using.

Approach 3:

Another approach is to temporarily move your /boot directory off of its separate partition and onto the regular root (/) filesystem. Note that although I've done similar things for other reasons, I've not tried this exact procedure for your exact reason; but it should work. Note also that this is rather risky; a mistake at the wrong point could render your system unbootable! If you're willing to take the chance, the procedure is:

Type sudo mkdir /boot2 to create the /boot2 directory that will temporarily house your kernels.
Type sudo umount /boot/efi. This command will fail on BIOS-based computers, but is necessary if your computer boots via EFI.
Type sudo cp -a /boot/* /boot2/ to copy everything from /boot to /boot2.
Type sudo umount /boot to unmount the /boot directory.
Type sudo rm -rf /boot. This deletes the old /boot mount point and any files that may have wound up accidentally placed "under" it.
Type sudo mv /boot2 /boot. This renames your copy to the original location, as far as Linux is concerned.
Proceed with your sudo apt-get autoremove operation. This should succeed.
Type sudo mv /boot /boot2 to move the updated copy of your kernels out of the way.
Type sudo mkdir /boot to create a fresh mount point for your /boot partition.
Type sudo mount /boot to restore the original /boot partition. Note that it will still be too full.
Type sudo rm -rf /boot/* to delete the contents of the original /boot partition.
Type sudo cp -a /boot2/* /boot/ to copy your modified /boot directory to the /boot partition.
Reboot to be sure everything works.
Type sudo rm -rf /boot2 to delete the temporary files.

A mistake (either by me or by you) could create serious problems, including a complete inability to boot the system. Thus, this approach is something of a last-resort one.

Moving Forward

It's imperative that you do a periodic sudo apt-get autoremove to keep the /boot partition from overfilling. Personally, I do this almost every time I upgrade my packages, and especially if I notice a new kernel was installed. Note that there are a couple of official bugs related to this issue:

Kernels not autoremoving, causing out of space error on LVM or Encrypted installation or on any installation, when /boot partition gets full
Size of /boot partition is too small

The first of those bugs can be fixed for existing systems, but for various reasons even the official released fix isn't 100% effective. The second bug is about a choice made at system installation time, so existing systems continue to suffer from a too-small /boot partition moving forward. The only way to fix that issue is to resize your partitions to increase the size of /boot. Personally, I consider 500 MiB a minimum reasonable size for /boot these days.


Why can't I launch Ubuntu in a computer with Windows 10?

Boot into Windows.
Go to Start Menu (Windows icon) --> Power --> Select "Restart" while holding down Shift.
Go to Troubleshoot --> UEFI Firmware settings.
The system will reboot and you will be allowed to go to the Firmware Settings (If not press the appropriate key, some common are DEL,F2 or F10. Alternatively, go to "One-time Boot Menu" (Usually F12 and select the appropriate option to go into "Firmware Settings").
There should be something like "Boot Sequence" in there (Firmware settings change depending on the Motherboard).
Make sure "Ubuntu" is 1st in the boot order. (Above Windows boot manager)
Save and exit. (Sometimes F10 does this)


Gnome shell weather extension is not showing correct weather information

This is what i did:

go to http://weather.yahoo.com and enter your location
klick on "RSS" (on the right side)
your location code is shown in the address-bar
(eg. weather.yahooapis.com/forecastrss?p=GMXX0087&u=f)
copy your code (GMXX0087 in my case) and open a terminal
set location and city with

gsettings set org.gnome.shell.extensions.weather woeid "'GMXX00187'"

gsettings set org.gnome.shell.extensions.weather city YOURCITY
logout & login again


Intel graphics cause shutdown on laptop (CPU Intel i7 6700HQ)

Previous post got deleted for not being a "proper answer"... -_-.  Oh well.

There is no answer right now. Linux Kernel 4.4 is bugged with Skylake and 4.2 does not support it. 4.3 is a similar but more stable situation, but the iGPU situation is the same.  Bumblebee is also broken it appears on 15.10 for me. Kernel 4.5 is just around the corner and your best bet is trying to install Arch with 4.5 when they update it in the next few days. Apparently Skylake support is much better.

FIXED!
OK... add the ppa:graphics-drivers/ppa to your sources with sudo add-apt-repository ppa:graphics-drivers-ppa/ppa, sudo apt-get update, sudo apt-get install nvidia-358.  Then go to nvidia-settings and enable the intel GPU.  Logout, Ctrl Alt F1 at the login page, sudo apt-get install bumblebee-nvidia nvidia-358 (seems unnecessary to install nvidia twice I know, but precautions).  Then sudo nano /etc/bumblebee/bumblebee.conf and change the line KernelDriver = nvidia-current to nvidia-358 and then Ctrl X, y, Enter.  sudo reboot and you're good to go.


Is there a way to add icons to the scale mode?

Yes, see that example. It's in Window Management -> Scale -> Bottom of first tab.

And (before you ask), you can also filter your tons of windows. See that post to see what it is and how to use it.


How can I add Chrome's Incognito Window mode to Unity's Dash?

How to create a .desktop

Create an empty file
Write the following:

[Desktop Entry]
Name=Chrome Incognito
Comment=Opens chrome in incognito mode
Exec=google-chrome --incognito
Icon=google-chrome
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;
OnlyShowIn=GNOME;Unity;
X-GNOME-Keywords=Network;Chrome;Incognito

Name, Comment, Icon, and X-GNOME-Keywords may be changed as your prefer.

Icon: All icons that are under the directory /usr/share/pixmaps don't need to have their full path specified, but their filename without the extension. For example, if the icon file is /usr/share/pixmaps/wallch.png, then the Icon field should be just 'wallch'. All other icons should have their full path specified.

Save it and name it as SOMETHING.desktop
Now you should be able to find it, using the keywords used at X-GNOME-
Keywords

You can easily add it to the launcher as well, just by dragging the .desktop to the launcher, it will be automatically locked there.

Source / Extra information: https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles


How can I speed up boot on one of my machines?

You should check your last bootchart in /var/log/bootchart.

I don't remender if bootchart is part of the standard installation but if not, only sudo apt-get install bootchart pybootchartgui and reboot. Also see here for more information.

There you should be able to analyze what takes so much time ! On my 5 years old laptop, it "only" takes 65s to boot up. What duration is reported on your's ? This tool helped me to resolve some issues : fsck was always checking all partitions and ntp-date wanted to synchronize the clock while the network connection wasn't already enabled.

I would also recommend to check the system logs for errors or warnings and to correlate them with the bootchart but as you already did it, it won't be of much help.

As you were able to see the cursor before the 2min pause I suppose the issue isn't grub related.

Also remove quiet and splash boot options in grub and, as Javier suggested, try to boot in safe mode.

Good luck !


How to change login order when there are two or more IDs in Ubuntu

Accounts on login screen are sorted by the frequency of logins. So your second ID will switch its position once you log in into it more time than into the first ID.

You can also backup your first ID home folder, then create new account, replace its home dir with your backup and change its owner.


Conky does not use instructed font with "can't load Xft font" error

I poked around on this, and with my environment, I had some different issues.

I'm using Unity with Compiz. My Lua Rings weren't working, and neither were my fonts. My Lua Rings were just in the wrong directory.

I had changed the font to Ubuntu. However, the format was wrong as indicated in this thread. However, my format didn't match any of the ones listed here in previous comments.

I'm attaching a sample of some of my properly formatted text from the memory section of my Seamod that works with my environment:

${offset 90}${font Ubuntu:bold:size=10}${color5}MEM

So for me, I had to find and replace:

font Ubuntu:size=10,weight:normal

with

font Ubuntu:bold:size=10


audio cd s not burning to mp3 format-burning to wav format in k3b and brasero using ubuntu 12.04.2

There is nothing wrong to fix.  The audio format used for audio CD, is the WAVE (.WAV) and AIFF (.AIF) formats.

So, for the highest possible fidelity on your audio CD, it is best to burn WAVE or AIFF files.

If you want to burn as MP3, then you may want to choose create a Data CD.


Error open repository from Apache server using GitKraken on Ubuntu 18.04

The reason for the described behaviour is that snap applications are installed by default with confined permissions. This is a deliberate choice and you can read more on the subject here:

https://tutorials.ubuntu.com/tutorial/advanced-snap-usage#3
4. Handling interfaces and permissions in your snaps

The plugin removable-media seems to be declared in:
https://github.com/mmtrt/gitkraken/blob/master/snap/snapcraft.yaml

The snap connect for this plugin did not work for me either. (I am unsure the above was the correct git repository for this snap, as the author mentions not maintaining it any longer as it now released by Axosoft.)

Thus leaves you with few options:
(1) actively do something to make it work by contributing to the code (if possible)
(2) trust the application and install it with "devmode" permissions
(3) wait utill snap connect gitkraken:removable-media starts working

In case you wish to proceed with option (2) and install the application with devmode permissions (you should know that you grant access to the app to anything your user would have access to):

sudo snap remove gitkraken
sudo snap install --devmode gitkraken

to verify if the installation happened as intended you can check for "devmode" by running the command "snap list" (see how this are supposed to have changed, you may have more snaps listed here, I have included only the one you should check)

snap list

Name               Version        Rev   Tracking  Publisher         Notes
gitkraken          4.1.1          134   stable    gitkraken✓        -

targeted outcome

Name               Version        Rev   Tracking  Publisher         Notes
gitkraken          4.1.1          134   stable    gitkraken✓        devmode

Cheers,
Happy Coding!


Reinstalling Ubuntu after botched installation

On the CD, there should be a "replace old ubuntu" option or something like that. This should meet your requirements.


Java will not run in Chromium, Google Chrome and Firefox

cd /usr/lib/chromium-browser/plugins
sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/libnpjp2.so libnpjp2.so

Restart chromium-browser.

Or if you have the latest 64-bit version (installed in /usr/lib/jvm/jre1.7.0/) use this as the second command:

sudo ln -s /usr/lib/jvm/jre1.7.0/lib/amd64/libnpjp2.so libnpjp2.so


Change default 'Print Screen' save folder

Install dconf-editor:

sudo apt-get install dconf-editor

Open it up and head to org --> gnome --> gnome-screenshot. Under auto-save-directory set the URI to your default directory:

file:///path/to/directory


How come the update manager won't let me upgrade to Ubuntu 12.10?

there two ways to do that

First way you can do it by terminal
just copy this command and drop it in your terminal

update-manager -d

Second way
is by doing it by yourself
"and i prefer this method at least you know what you are doing so you can avoid some mistakes "

1- Open Update Manager from either the Power Menu or the Dash.

2- Click the ‘Settings’ button in the lower-left corner of the Update Manager window:

3- This will open Software Sources.

4- Click the menu next to “Notify me of a new Ubuntu version” and select ‘For Any New
   Version’.

5- Once you’ve made the change you will likely be prompted to input your user password.
    After this, close Software Sources, then close and then reopen Update Manager.

6- You’ll now see the following prompt displayed at the top of the window of update Manager

Important Note :
* It also pays to back-up any important files and folders before upgrade.


Ubuntu 14.04 installer has an invisible cursor

Usually you can click buttons using tab and then spacebar on the keyboard.


Official guide to compute modeline (with cvt) is here:

Resolution: Adding undetected resolutions

I think will be adequately to quote this part here:

  Due to buggy hardware or drivers, your monitor's correct resolutions
  may not always be detected. For example, the EDID data block queried
  from your monitor may be incorrect.

  If the mode already exists, but just isn't associated for the
  particular output, you can add it like this:

$ xrandr --addmode S-video 800x600

  If the mode doesn't yet exist, you'll need to create it first by
  specifying a modeline:

$ xrandr --newmode <Mode``Line>

  You may create a modeline using the gtf or cvt utility. For example,
  if you want to add a mode with resolution 800x600 at 60 Hz, you can
  enter the following command: (The output is shown following.)

$ cvt 800 600 60
# 800x600 59.86 Hz (CVT 0.48M3) hsync: 37.35 kHz; pclk: 38.25 MHz
Modeline "800x600_60.00"   38.25  800 832 912 1024  600 603 607 624 -hsync +vsync

  Then copy the information after the word "Modeline" into the xrandr
  command:

$ xrandr --newmode "800x600_60.00"   38.25  800 832 912 1024  600 603 607 624 -hsync +vsync

  After the mode is entered, it needs to be added to the output using
  the --addmode command as explained above.

Be careful and pay attention for last sentence.
Either, look your modeline for the words -hsync +vsync that typed with small letters. Use official guides. Enjoy.


You really want to contact the manufacturer directly for clarification:

http://www.tysso.com/

There's also little to be said if you do not provide the exact model of display. In very general terms, capacitive displays work mostly out-of-the-box in the newest (14.04+) versions of Ubuntu while resistive displays usually require you to install additional drivers which might or might not be available for Ubuntu. And this is precisely what you should ask your provider given that you don't want to research yourself or just go and try to install Ubuntu 14.04 or 15.10.

Hope it helps

Regards


Notification icon always the same, even when Liferea has new items

One of the design decisions in the creation of the indicator menus was to have constant icons, rather than changing ones.  In some versions, indicator-messaging will have a colour change when it detects new items, although this will not necessarily be present at login, depending on the interaction between the messaging provider and indicator-messages.

When a user opens the messaging menu, for any reason, the colour is adjusted to the base colour, even when the user has not viewed messages in all available applications: this allows the user to tell the system they are aware there are pending messages, and not be reminded to check again until more new messages arrive.

In the special case of liferea, there are some interaction issues related to parsing large numbers of feeds that can cause indicator-messages to be confused about the status.


Just updated to Ubuntu 20.04, unable to send emails now using same email client I used on 19.10

Just want to answer my own question, it seems that my new email address was not properly verified through microsoft. After ready my email that I received from them I verified my account and retried sending the email through "thunderbird" again, it worked perfectly. I guess I need to read my emails more often.
Jim C.


Document Viewer Defaulting to Inverted Colors

I figured out what happened. Apparently, I had been displaying inverted colors and I inadvertently clicked "Save Current Settings as Default".


How to enable an Intel PCI WiFi adapter which is not enabled / access denied?

The terminal command ifconfig doesn't enable a wireless connection because there is no mechanism to specify the access point name, or SSID, nor the WPA2 password.

The usual way to enable wireless in recent Ubuntu versions, including Bionic or Ubuntu 18.04 is with netplan.

First, find the exact name of your netplan file:

ls /etc/netplan

It may be called 01-netcfg.yaml. Whatever it is called, please amend it as follows:

sudo nano /etc/netplan/01-netcfg.yaml

Change it to:

network:
  version: 2
  renderer: networkd
  wifis:
    wlp8s0:
      dhcp4: yes
      dhcp6: no
      access-points:
        "network_ssid_name":
          password: "**********"

Of course, substitute your exact details here. Please note that the name of the access point as well as the WPA2 password are enclosed in quotation marks ". Netplan is very strict about indentation, spacing, etc. Please proofread carefully twice. Save (Ctrl+o followed by Enter) and exit (Ctrl+x).

Follow with:

sudo netplan generate
sudo netplan apply

Did you get an IP address?

ip addr show

Can you reach the internet?

ping -c3 www.ubuntu.com


If you want to use stable and latest Mesa drivers, I suggest you to use PPA

sudo add-apt-repository ppa:paulo-miguel-dias/pkppa
sudo apt-get update
sudo apt-get install mesa


To ease the QEMU setup process you can use QuickEMU.
sudo apt-get install git
git clone https://github.com/wimpysworld/quickemu.git

sudo apt-get install snapd
snap install qemu-virgil --edge
snap connect qemu-virgil:audio-record
snap connect qemu-virgil:kvm
snap connect qemu-virgil:raw-usb
snap connect qemu-virgil:removable-media

cat << EOF > ~/vm.conf
boot="legacy"
guest_os="linux"
iso="/path/to/file.iso"
disk_img="/home/$USER/path/to/disk.qcow2"
disk=16G
EOF

And then run it
./quickemu --vm ~/vm.conf

The resulting VM will have sound, SMB, SSH, USB, good video performance and other features.

Note: under the hood QuickEMU sets -audiodev option with corresponding parameters.


After upgrading to 20.04 my Gnome Software Centre has problems displaying a list of installed applications

I found a problem. I noticed that the list of installed applications is randomly either empty or full in both Ubuntu Center and Gnome Center. The presence of two centers confuses me very much. I am a typical Ubuntu desktop user, and cannot understand why there are two functionally identical Centers, and when I received two Centers instead of one. Both, look the same. Even when I install the update in any center, I see a progress bar in both centers at the same time. Anyway, I returned to the empty list problem. I don’t know why, but both gnome-software and the snap-store are active in the background after exiting the GUI. The last time my Installed list was empty, I detected and killed a running snap-store in the background. Then I ran the GUI again, and after a while, my list returned to Ubuntu and Gnome Centers.
I will report this error for both gnome-software and snap-store.


Are Optimus Notebooks working properly on Ubuntu 14.04?

I'm using 14.04 on an Asus N76VB with a NVIDIA GeForce 740M.

Every time I try to install Bumblebee I end up with a totally broken system at least once. When this happened on my fresh 14.04 installation I read something about nvidia-prime, and decided to give it a try.

Installation is really easy. Just install the NVIDIA driver using the GUI or the CLI (sudo apt-get install nvidia-331). That's all.

You can switch using sudo prime-select intel, sudo prime-select nvidia or using NVIDIA's control panel. You can also install an applet to quickly switch between your cards and it always shows you the card that you're currently using (Google for prime-indicator).

My performance using the NVIDIA driver from Ubuntu's repository was horrible. Every 5 seconds or so I had huge framedrops.

Now I'm using the xorg-edgers PPA and performance is much better. However, NVIDIA's control panel is broken in their packages, so you'll have to use one of the other methods to switch cards.


I had the same problem with the model Xerox-Workcenter-6605DN. The printer could be installed using the driver for the newer model Xerox WorkCenter 7228 which is included in Ubuntu 14.10.


Does Ubuntu update the installation media?

The LiveCD images for an Ubuntu version which is still in beta/development get updated on a daily basis in its daily live images. For instance, you can get an up-to-date development version of upcoming Ubuntu 12.10 here.

The LiveCD for a version is not update once it is released as final. Then, updates are only pushed through the Update Manager.

For an LTS release, however, Canonical releases maintenance updates (like Windows Service Packs) periodically, which include patches released for the version. For instance, Ubuntu 10.04 is in its 4th maintenance update which can be downloaded here.


Follow the instructions at http://developer.android.com/sdk/eclipse-adt.html
The process is quite straightforward.

Ubuntu does not have yet the latest package for Eclipse, therefore, it is advised to install Eclipse by downloading it from http://www.eclipse.org/


Download this Ubuntu release. Unless you need Ubuntu 13.04 for any particular reason, Ubuntu 14.04 should work fine.


Why am I seeing error configure: error: No package 'gtk+-3.0' found when I installed libgtk-3-dev?

okay. Figured it out with some googling. Needed to set the the environmental variable PKG_CONFIG_PATH as follows:

export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig


I am running Ubuntu 18.04 on Dell Precision T5500, and also receive dell_smbios: Unable to run on non-Dell system from the kernel. The system seems to run perfectly normal. I believe that the message is coming from libsmbios. libsmbios-c2 was installed automatically. It is provided by Dell, and is looking for vendor specific BIOS extensions.

It appears that this is not a critical error, and may be treated like a warning message.


Google up  project Sputnik. It seems that a new driver has been released.

http://bartongeorge.net/2012/06/20/sputnik-update-touchpad-driver-now-available/


depending on how you have setup your filesystem, you should fairly easily be able to re-install ubuntu.

If this isn't an option (ie. you have things in your home drive that will have to be deleted in order to reinstall due to a / and /home being on the same drive.)

if you upload your apt history.log, found at /var/log/apt/history.log, we can have a look through what you have installed in the past couple of days.

Do you remember what was installed that broke the system?
If the live cd is working, then it doesn't sound like a hardware problem, and maybe it's a config error of some kind.


forgot password for another one user account created in my system, how to solve it?

Login with the user where you still know the password.
Open a terminal and get a root shell, e.g. sudo -i.

Then change the password for the user you don't know the password:

passwd username

Replace username with the name of your user.

Afterwards close the the root shell with Strg+D
and test with su - username the new password.


Hibernation and suspending on the Cinnamon desktop

it's easy to fix. Insert:

[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes

into

/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

and remove tuxonice


hp 4500 stopped working not installed. after an update

It seems like problem with cups. What is status of cups - sudo systemctl status org.cups.cupsd? If it's just stopped, then sudo systemctl start org.cups.cupsd and if you want it running after boot then sudo systemctl enable org.cups.cupsd.


I know this was a while ago, but here is a solution.
(Duplicate of 14.04 missing “/etc/init.d/ufw”? my firewall never auto starts)

For the effort that went into figuring out the solution, the answer is surprisingly simple.

In /etc/init/ufw.conf:

1) Comment out lines 9 - 11
2) Insert after line 11: start on startup

Fixes the whole problem, including logging to /var/log/ufw.log.

Note
If you have iptables-persistent installed, you must disable it.
Move iptables-persistent out of /etc/init.d and rename all the symlinks in rc0.d-rcS.d by making the 1st letter (S or K) lower case.  (Or move them out.)


How do I get Pidgin connected to ICQ again?

Start Pidgin and go into Edit Account (Accounts -> your account name -> Edit Account), then change to the Advanced tab and uncheck "Use clientLogin". If you still can't login, try unchecking "Use SSL" too (although that may not be recommended).

Hope it works for you!


Ubuntu software installation in air-gapped environments

Apt can use repositories on your local file system.

You would need to create the repo and know the packages you want to install on a computer with Internet access and apt-get.

apt-get -d install [packages]
mkdir /media/usb/MyRepo
cp -a /var/cache/apt/archives/*.deb /media/usb/MyRepo
dpkg-scanpackages /media/usb/MyRepo /dev/null > /media/usb/MyRepo/Packages

Now MyRepo can act as a repository. Transfer the directory to the system you need to install on such as on a USB drive. Then

echo "deb file:///media/usb/MyRepo ./" > /etc/apt/sources.list.d/myrepo.list
apt-get update
apt-get install [packages]

There are other tools that you can install separately such as apt-medium for shared caches, apt-mirror for mirroring repos etc.


A command-line clipboard copy and paste utility?

xsel

I am using xsel Install xsel, but I am only using it with plain text and unicode text.

xsel can copy and paste to three different "clipboards".

By default, it uses the X Window System primary selection, which is basically whatever is currently in selection. The X Window System also has a secondary selection (which isn't used much), and a clipboard selection. You're probably looking for the clipboard selection, since that's what the desktop environment (e.g. Gnome, KDE, XFCE) uses for its clipboard. To use that with xsel:

xsel --clipboard < new-clipboard-contents.txt
xsel --clipboard > current-clipboard-contents.txt


Using Virtualbox, with Ubuntu as host, do I have to re-install Windows as the guest?

When you already have Windows installed on your hard disk, usually there is no need to install it in VirtualBox. The only advantage to additionally create a Windows VM in VirtualBox is to launch Windows from within the running Ubuntu system ... but does this really make any sense at all ... ?
In case you you decide to only use Ubuntu and wipe Windows from the hard disk - it would make more sense to create a Windows VM in VirtualBox for occasionally using Windows as a guest OS.


I couldn't get it to install either, finally figured out it had to do with bleeding edge packages I had added.

I went around and around trying to get it working then ended up finding this and running it out of desperation: http://code.google.com/p/apt-downgrade/.

Took a while, but wine installed perfectly afterwards.


@reboot works with command but not script - Cron

I think the vbox modules just isn't available in time of execution.
Why don't you create a service? Refer to corresponding documentation of your init system.


Selections for graphics drivers are disabled

To revert back to open source radeon drivers - open a terminal and execute :

sudo apt-get purge fglrx
sudo reboot

If you want to use AMD Catalyst drivers again, open a terminal and execute :

sudo apt-get install fglrx
sudo reboot


Installing ubuntu on usb and booting on uefi

Here is all the info you need. Scroll down until you get to Installing Ubuntu on USB drive using Windows.


Broken 3.5mm jack input and sound quality very poor through usb soundcard

Depending upon where you live and if you know where such work is done, and what kind of system you have, you might simply get the 3.5mm jack replaced.

You see, the 3.5 mm jack is straightforward, can be acquired from any decent electronics store and can be easily replaced.

If the system is a laptop, anyone with decent soldering skills can remove and replace the jack. That might be the best option for you (as you seemed to be happy with the sound from your older setup).


How to install bnetd in Lubuntu from command line?

The configure file is placed in the src folder. To install it:

From the terminal go to your src folder:

cd /home/andrey/Desktop/bnetd-0.4.25/src/
Configure the installation:

./configure
Compile it:

make
Install it:

sudo make install

Now you should have installed the application correctly

To have in mind: inside the compressed package you can see the INSTALL file, it contains instruction for the installation of that specific software. So the next time open it ;)


How do I activate a local caching nameserver?

If you want a DNS cache on your local machine, use dnsmasq, not BIND.

Unless you really need a local iterative nameserver, de-install BIND.

sudo apt-get purge bind9

Now for dnsmasq. There are two ways of using dnsmasq.

1: If you are using NetworkManager to manage networking then you already have the dnsmasq-base package installed; you just have to enable the NetworkManager-controlled dnsmasq instance by editing NetworkManager.conf

sudo gedit /etc/NetworkManager/NetworkManager.conf

and ensuring that the line

dns=dnsmasq

is present. Next enable caching in this dnsmasq instance. Create a new configuration file called, e.g., local

sudo gedit /etc/NetworkManager/dnsmasq.d/local

and add the single line

cache-size=150

to change the default cache size from zero. Then restart network-manager

sudo restart network-manager

which will also start or restart the NetworkManager-controlled dnsmasq instance using the new nonzero cache size.

This only works in Ubuntu 12.10 or later. In Ubuntu 12.04 the NetworkManager-controlled dnsmasq configuration cannot be customized and the cache size is zero.

2: The other way of using dnsmasq is to run it as a server. To do this, install the dnsmasq package and configure it by editing /etc/dnsmasq.conf and setting cache-size to a value greater than zero.

In Ubuntu 12.10 the dnsmasq server will forward queries to external nameservers if the NetworkManager-controlled dnsmasq instance is disabled and will forward queries to the NetworkManager-controlled dnsmasq instance at the address 127.0.1.1 if the NetworkManager-controlled dnsmasq instance is enabled.

In Ubuntu 12.04 the same thing can be achieved but some additional manual configuration steps are required because in Ubuntu 12.04 the NetworkManager-controlled dnsmasq instance listens at 127.0.0.1 which conflicts with dnsmasq server in its default configuration.


Port seems to be open, but connection refused

If your server is listening on the localhost interface only, you won't be able to access it from a remote computer. This appears to be your primary problem, as only 127.0.0.1:3000 is listed in your netstat output.

You will also need to ensure that "mydomain.com" resolves to the correct IP address for your machine, such that connecting to it will result in communication with the external interface of that machine.


Keyboard shortcut in Ubuntu 17.10 doesn't exist

You probably want to install the gnome-tweak-tool package. Then you can search for and open Tweaks via the Activities overview.
You'll find the options for alternative switching shortcuts in Keyboard & Mouse -> Additional Layout Options -> Switching to another layout.

Otherwise, this is a command line way to get rid of the "Alternative switch to next source" setting, and with that make your Right Shift key work as expected:

gsettings reset org.gnome.desktop.input-sources xkb-options


GSM-USSD is an utility that enable you to send USSD codes via modem.

You need to configure it correctly. Here is thread that gives idea about configuration.

Read post #13 also

You can try with sudo gsm-ussd *123# or

According to the post A execution command would be

sudo gsm-ussd *123# -m /dev/`dmesg | grep "usb 1-3" | tail -n 1 -c 8`

Where *123# is your ussd command.


Docker in docker has use cases but from a security perspective it's a bad idea since it requires that the docker container is run in privileged mode.

This allows the docker container to do almost everything the host can do.

For example modifying kernel parameters of the underlying host and accessing information from within other docker containers.


Why does Lubuntu automatically reset my CPU into performance mode after a short time?

From the top right hand gear-like icon, go to System Settings, where you will find an icon called Power. There you can select "Suspend when inactive for 'n' minutes. You can change this setting and see what happens.

If it is a laptop that you are using, it is better to read manufacturers instructions to see if there is a battery-saving feature installed by default.


How to use VirtualBox as a SQLServer Host?

First you need to set your guest OS networking as Bridge. In my case I use eth1, but proably your is eth0.

Now when you start windows, check that the ip is of the same local network of your host machine (launch cmd and next digit ipconfig).
If the ip is right, try to ping your guest machine from Ubuntu host machine:

ping ip_guest

If all is ok, now you can access your guest machine (windows) from your host machine (Ubuntu).

I've recently migrated an application from mssql 2005 to MySql (precisely MariaDB) and I have developed a set of scripts in php to do this task.

For remotly connect to a sql server I'have installed through Synaptic the php5-sybase extension.

Next from my php scripts I have opened two connection, one with sql server and one with MySql and migrated the desired data.

/*mssql*/
$server_from="ip_guest\SQLEXPRESS";
$username_from="mssql_user"; //mine is sa
$password_from="mssql_password";

/*MySql*/
$server_to   = "127.0.0.1";
$username_to = "mysql_user";
$password_to = "mysql_password";

//FROM Connect to MSSQL
$link_from = mssql_connect($server_from, $username_from, $password_from);
//TO Connect to MySQL
$link_to = mysql_connect($server_to, $username_to, $password_to);

Mssql function are analogue to the Mysql one: http://it.php.net/manual/en/book.mssql.php
It change only the prefix...


SD card reader not detected in Ubuntu 16.04

Probably an installation-issue which can be resolved with re-installation?! This would concern package udisks2.

Reinstall package udisks2

sudo apt-get install --reinstall udisks2

Reboot the machine

systemctl reboot

SD cards should be recognized then, after inserting them (in and out and in cautiously).


I'm not sure there is a way to set the user and group for a symlink with udev. I don't see one either. I'm also doubting whether one should be needed.

I signed on to tty6 and as root, created a symbolic link/tmp/tty6 to /dev/tty6. After I did its user and group were both root, but /dev/tty6 was owned by me.

I was able to use

echo hi >/dev/tty6

but also
    echo hi >/tmp/tty6

The reason is that the necessary permission is carried by the final inode pointed to, not the symbolic link.

If I'm right, there is another reason for the problem you are having, although I guess it could be that the program you are using does, incorrectly, look at the permissions on the symbolic link.

If that's the case, as a circumvention, perhaps you could create your own link and use that instead of one udev sets.

ln -s /dev/arduino ~/arduino

should produce a symbolic link to the target of /dev/arduino but with your user and group.

As a test, as root, you might also change the group yourself on the udev created symbolic link and see if it helps when going through /dev/arduino.


Is Ubuntu going to provide security support for python2 packages by back porting evident security issues from python3 to python2. ?

No. There is no back porting from python 3 to python 2 by Ubuntu. If there are  issues the python developers need to fix it in python 2 before we get an update for it. Regardless of security related fixes.

  What kind of support would be provided on python 2 packages?

Python 2.7 will not be maintained past 2020. So we do not get any more updates after that.

All software needs to be python 3. I assume the active Ubuntu releases will be as is but there will be more emphasis on upgrading to a python 3 system.

Straight from Guido van Rossum:

  Let's not play games with semantics. The way I see the situation for 2.7 is that EOL is January 1st, 2020, and there will be no updates, not even source-only security patches, after that date. Support (from the core devs, the PSF, and python.org) stops completely on that date. If you want support for 2.7 beyond that day you will have to pay a commercial vendor. Of course it's open source so people are also welcome to fork it. But the core devs have toiled long enough, and the 2020 EOL date (an extension from the originally annouced 2015 EOL!) was announced with sufficient lead time and fanfare that I don't feel bad about stopping to support it at all.


How to remove or recover password from a LibreOffice document

About LibreOffice encryption

I found 2 interesting links. From the links Libreoffice seems to use AES (http://en.wikipedia.org/wiki/AES_(cipher) ) as of LibreOffice 3.5. Before that it was blowfish.

Aveesplace.wordpress
According to LO mail archive (2012 so recent) a brute force with a Windows program called Accent Office will take:

   Max pwd   Accent OFFICE
    Length   Time Estimate (same conditions)
        5    27m03s
        6    1d19h
        7    173d3h
        8    45y197d

Conclusions:

AES has no known flaws.
The only way is to provide the correct password.
and you should always save an unencrypted copy on an external media like an USB disc that is kept safe in your house.


I found the reason was I removed file in /etc/pam.d, restore those files system resumed.


How do I get hardware info about my laptop camera?

try lsusb -v
or lsusb

for example:

description: Video
                   product: Laptop Integrated Webcam
                   vendor: OmniVision Technologies, Inc. -2640-07.05.16.3
                   bus info: usb@4:6
                   version: 1.00
                   capabilities: usb-2.00
                   configuration: driver=uvcvideo maxpower=500mA speed=480.0MB/s


Added key, but dget still shows "gpg: Can't check signature: public key not found"

I got the same problem as you and after checking the man page of dscverify I found a solution:

Add following line to your ~/.devscripts:

DSCVERIFY_KEYRINGS="/etc/apt/trusted.gpg:~/.gnupg/pubring.gpg"


I cant get back into Ubuntu after turning off my Acer c710 Chromebook

First, make sure your chromebook is in developer mode, then open a crosh window. depending on what kind of ubuntu desktop you downloaded, run this command: sudo startunity

or: sudo startxfce4

and so on...

I hope this helps!


K7AAY's comment was right on the money!
These two sites helped solve it too:

Building a kiosk computer with Ubuntu 14.04 and Chrome
https://thepcspy.com/read/building-a-kiosk-computer-ubuntu-1404-chrome/

Allow of Block Access in Chrome
https://support.google.com/chrome/a/answer/7532419?hl=en


Juju returns "No matching node is available" when trying to bootstrap a MaaS

This means that there are no nodes in the "ready" state on the MAAS server.
They could either all be in use (allocated) or not past commissioning yet.

Did you start up the virtual machines? They need to run and boot at least once, during which time they signal to the maas server that they are ready.


Open a terminal window Ctrl+Alt+T and type alsamixer, followed by Enter, which will open then in the same window.

On the far left you can set the master volume, which is also controlled by using the keyboard volume keys.

Also in this case I suggest you familiarize yourself with the audio-settings while turning the volume down on your external audio-set?! When you found a good setting the issue is resolved and you can turn the volume up again.


I use PYTHONPATH:

PYTHONPATH=/user_name/pythonEx
export PYTHONPATH
python -m ex1

CLASSPATH is, as far as I know, a Java path.
PATH is a bash path. So, you can also make ex1.py executable, then you can run

PATH=/user_name/pythonEx:$PATH
ex1.py


Creating graphical VM on Ubuntu Server but can't connect to VNC

I have feeling that you have virtual bridge configured to 192.168.122.1/24 and your lan is 192.168.0.1/24. If this is correct, your virbr0 interface is nat interface, and you need to make 1:1 nat or port forward to your virtual machine, to access it outside your lan subnet. I suggest bridged networking --network bridge=BRIDGE, explained in virt-install manual:

virt-install manual page


Install Ubuntu 17.04 Desktop on 8GB USB Stick

Mkusb will produce a flash drive with FAT32 boot partition, ISO9660 read only OS partition, EXT4 casper-rw persistence partition and a NTFS Linux/Windows data partition, that will fit on a 4GB drive

After making a drive to suit your requirements you can make a .img clone of your drive and install it using image writer in Windows or mkusb/dd in Ubuntu.

Link - https://help.ubuntu.com/community/mkusb


Are changes in a point release applied progressively to a released version before it comes out

The point release essentially contains the bug fixes the version has gone since it was released to the public, which includes security fixes, package updates, translation packs updates, etc.

These point releases will include support for new hardware as well as rolling up all the updates published in that series to date. So a fresh install of a point release will work on newer hardware and will also not require a big download of additional updates. --Mark Shuttleworth this may be dated back but still holds true

If you update frequently you will essentially be at the "point release" as soon as the general release is made available.


Network printer recognised but not printing

Try manually installing the drivers.

sudo apt-get install hplip hpijs

With more recent versions of Ubuntu, hpijs is now printer-driver-hpijs, not sure when the change was made, to you may need:

sudo apt-get install hplip printer-driver-hpijs

Then delete and re-configure your printer (from system-config-printer) .


I recently ran into this error and determined that by placing an IPv6 address within brackets causes ssh to interpret the IPv6 address as a FQDN and perform a DNS lookup.

The OP may have been using brackets when invoking ssh.

ssh -vvv6 zzz@[3ffc:1900::dead:bea7:dad]
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /Users/zzz/.ssh/config
debug1: /Users/zzz/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolving "[3ffc:1900::dead:bea7:dad]" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to [3ffc:1900::dead:bea7:dad] [xxxx:xxxx:xxxx::1] port 22.
debug1: connect to address xxxx:xxxx:xxxx::1 port 22: Operation timed out

The intended [IPv6] resolves to the wrong IP address. Instead, remove the brackets surrounding the IPv6 address:

ssh -vvv6 zzz@3ffc:1900::dead:bea7:dad
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /Users/zzz/.ssh/config
debug1: /Users/zzz/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolving "3ffc:1900::dead:bea7:dad" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 3ffc:1900::dead:bea7:dad [3ffc:1900::dead:bea7:dad] port 22.

The latter example would work if it were a legitimate address.

Solution: Remove the brackets when connecting to an IPv6 address.


Yes, it will be deleted. If you intend on erasing Windows when installing Ubuntu, use a flash drive, SD card, Google Drive, Dropbox, etc. to make backups of all your important files.


Blank screen after suspend on 17.10 using NVIDIA and xfce

Ooh, you are another fellow victim of the Nvidia-related bricking that royally ticked me off on Tuesday. Here's what I did to un-brick myself. Start your computer, make sure it doesn't suspend while you're doing all this.

sudo apt install linux-headers-$(uname -r)

After that:

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-396

cross fingers, reboot and you should be in business. Worked for me.


with nvidia optimus + xorg 1.19.3 + kernel 4.10.0-15 and still having screentearing

Have you tried the following? https://freedompenguin.com/articles/quick-tips/nvidia-linux-video-game-tearing-fix/


Internal Errors Galore, Ubuntu not installing

I finally got it to work for me! Yay!

Here is what I did, I downloaded a new ISO, check the MD5 again, brand new flash drive and checked the MD5 on that as well. I then did a memory test and found the memory that was possible causing issues. After fixing that I had the install run with nomraid and edd=on.

After that the install worked fine. Not sure which part was what allowed it to work for me but if you are having the same issue try these.


Ubuntu 20.04 LTS systemd start up script is not working "bad unit file setting"

This line
ExecStart=/home/mcadmin/MCServer/ ./start.sh is incorrect.
It should look like this:
ExecStart=/home/mcadmin/MCServer/start.sh
if start.sh is located in the home/mcadmin/MCServer directory.


Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

It seems that some other window might be having the lock . Close all the window and retry , if it doesn't help , reboot.

Installing from terminal:

32-bit:

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -

64-bit:

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

Next, run the Dropbox daemon from the newly created .dropbox-dist folder.

~/.dropbox-dist/dropboxd


Steps to take before resizing partition to prevent damaging data

Data loss is rare when resizing a partition, but obviously can happen. I an not aware of anything you can do to reduce the risk, rather I advise you back up your data first (a working backup is always a good idea anyways).


Error messages

To address your immediate concerns you have nothing to worry about. The WMI hotkeys are not needed for WiFi to function.

Date of WMI updates

To address comments posted above; although your Dell-WMI compiled binaries haven't been updated for 9 years, the source code was updated 2 years ago:

/*
 * Dell WMI hotkeys
 *
 * Copyright (C) 2008 Red Hat <mjg@redhat.com>
 * Copyright (C) 2014-2015 Pali Rohár <pali.rohar@gmail.com>

The full source code can be found here.

Additionally it is compatible with kernel versions 2.6.30–2.6.39, 3.0–3.19, 4.0–4.12, 4.13-rc+HEAD according to this link.

What are Dell-WMI hot keys?

This picture shows the Dell WMI hotkeys in the top right hand corner of the picture. Three keys immediately above the keyboard:

How to tell if the driver is loaded?

Press each of the three keys in order and type in the terminal:

dmesg | tail

If the keys are undefined in Linux (as on my Dell 17R 7720 SE) you'll see this:

[22029.994271] dell_wmi: Unknown key e0f0 pressed
[22032.865727] dell_wmi: Unknown key e02a pressed
[22033.153981] dell_wmi: Unknown key e02b pressed
[22035.538910] atkbd serio0: Unknown key pressed (translated set 2, code 0x60 on isa0060/serio0).
[22035.538919] atkbd serio0: Use 'setkeycodes 60 <keycode>' to make it known.
[22459.638125] dell_wmi: Unknown key e0f0 pressed
[22460.857257] dell_wmi: Unknown key e02a pressed
[22461.174731] dell_wmi: Unknown key e02b pressed
[22461.958683] atkbd serio0: Unknown key pressed (translated set 2, code 0x60 on isa0060/serio0).
[22461.958689] atkbd serio0: Use 'setkeycodes 60 <keycode>' to make it known.

If the keys were working a pop-up menu according to that keys function would appear on your screen. If they aren't assigned, you can assign these keys as shortcuts to your everyday work functions. Personally I use a wireless backlit keyboard (Logitech K800) so never touch the laptop's backlit keyboard and haven't looked at these keys in years.

If you require further details don't hesitate to ask via comment below.


You can install the pidgin-skype package from the Software Centre (or using apt-get)

This protocol plug-in allows libpurple to communicate with Skype. Applications using libpurple (Pidgin, Finch, Empathy/Telepathy, etc.) can thus show your Skype contacts alongside those from other protocols, and you can communicate with them using that application instead of the Skype user interface.

This plug-in communicates with the Skype application in the background to perform its work, so it's necessary to have Skype installed and running. This product uses the Skype API but is not endorsed, certified or otherwise approved in any way by Skype.


Unable to boot Ubuntu 13.10 with Windows 8 ..

How did you install Ubuntu? When you boot into Ubuntu, there are 3 options. One is showing dual boot, second one clears Windows and installs Ubuntu and third one is something like advanced options.

If you used 3rd one, try re-installing with 1st option. Ubuntu will setup everything for you and after POST screen before OS loads, Ubuntu will welcome you with start-up options (Load Ubuntu, Load Windows etc.).

I had the same issue. I've chosen 3rd option and installed Ubuntu on the other partition and after installation complete my pc loaded Windows directly without asking me which OS I prefer. After that I re-installed Ubuntu with 1st option which was showing me dual OS.