What can I safely remove from Ubuntu and still have a decent graphic interface?

Been there, did that, got the t-shirt, not doing it again! ;)

What you're trying to do is: "I just want Windows, not this stupid System32 stuff that is eating up all my hard disk!  Let's delete it!" ;)

I did the same thing you did and had to install from scratch as I deleted too much, and now I'm much more careful as to what to delete...

E.g. Python: Python is an interpreted programming language, so to run any Python programs, you need the interpreter... You personally do not need to program Python, but maybe some of the programs you use are written in Python!  :)
Compiler: you don't need to compile stuff, but Ubuntu updates do, or some driver update does!

Ubuntu come with much less cr*pware then Windows: if it's there and you don't know what it is, you probably need it...

Safe to remove: applications you're never going to need and that take up a lot of disk space. E.G. on a home sound system, it's safe to remove LibreOffice, Thunderbird, games, ...
But stuff like Bluetooth, Printers, Python, compiler, ... I wouldn't remove, because Ubuntu expects them to do its updates...


Choice of 32 bit or 64 bit Ubuntu for notebook

Your processor is a 64 bit processor so I would just install a 64 bit version of ubuntu. What you do want to watch out for is your optimus enabled graphical card. you'll need bumblebee to get it to work correctly.
Now it has come to my attention that ubuntu 13.10 will have support for optimus graphical cards but my source isn't an official one so if someone can confirm this.

ubuntu 13.10 will be released next month (oct 2013) if I'm not mistaken.


How to restart X Window Server from command line and be able to login again afterwards?


How can I make my Lexmark x2480 (2400 series) printer work?

There is no driver support for this printer... that is known from various searches online at many sites which all say "no driver support available for this printer" like me , you'll have to get another printer.


3840x2160 resolution with Radeon HD 7870 not working

Removed fglrx-updates and fglrx-amdcccle-updates and installed the latest catalyst driver downloaded from the AMD website. After that monitors correctly auto detected and set to correct resolution 3840x2160 30hz. Dual monitors also working correctly.


Gave up on 18.04LTS. Downloaded Ubuntu Studio 19.04, burned to DVD, installed from DVD and booted from hard disk first try ... 18.04LTS install scripts have bugs!


This is not a satisfying answer, but this problem appears to be resolved by upgrading to 19.10 Eoan Ermine—the network settings all now work as expected.


fstab folder bind on partition mounted with defaults parameter

Default mount options are:

rw,suid,dev,exec,auto,nouser,async

This means that by using defaults in fstab the drive will be:

rw: read-write
suid: set-user-identifier  or set-group-identifier bits take effect
dev: interpret character or block special devices
exec: permit execution of binaries
auto: auto-mount or allow mount -a
nouser: only root is allowed to mount
async: I/O to the filesystem should be  done  asynchronously

These options can be adapted to personal needs. All possible options are listed in the mount manpage.

For mounting an NTFS filesystem you may want to add the options: uid=0,gid=46,umask=007,nls=utf8.

This would be an example fstab entry for NTFS-filesystem using LABEL rather than UUID where all users are allowed to mount:

LABEL="NTFS_Disk"   /media/windows   ntfs  umask=007,gid=46,uid=0,nls=utf8,noauto,users   0       0


How can I solve my boot error with Natty and btrfs?

Does this still happen with the newest version of GRUB in Natty (1.99~rc1-13ubuntu3)?  I backported a number of btrfs-related fixes from upstream in the period since you asked your question.


How to install Gallium 0.4 on AMD RV620?

Summing it up, it comes preinstalled, although not visible.

To make it visible it suffices to run sudo apt-get install mesa-utils in a terminal and checking the system info GUI again.

Thanks


Installing ubuntu 18.04 on asus rog strix G15CX: how to disable RST so linux can see nvme drives

As far as I can tell the only option you currently have is switching the SATA mode to AHCI in your computer's BIOS. There seems to have been work in 2019 trying to add support for remapped NVME drives to the kernel, but it doesn't seem to have been accepted/released. There's also an Ubuntu bug here.


Ubuntu 9.04 was released in April, 2009. As a normal release, it was supported until October, 2010. These are the current supported releases:

Ubuntu 10.04 Lucid Lynx (until April, 2013)
Ubuntu 11.04 Natty Narwhal (until the end of October, 2012)
Ubuntu 11.10 Oneiric Ocelot (until April, 2013)
Ubuntu 12.04 LTS Precise Pangolin (until April, 2017)
Ubuntu 12.10 Quantal Quetzal (until April, 2012)

Ubuntu 12.10 is the newest release, so it has better hardware support than Ubuntu 12.04, but it is supported only until the end of April in 2014. I recommend you to choose Ubuntu 12.10.


I have installed Ubuntu 17.04, I am not able to connect to internet

Try running the command contained in this answer https://askubuntu.com/a/905045, I had the same problem and I solved only with that post. After the "touch" command you have to restart the network-manager demon.


It is supported at least since Karmic Koala on the amd64 architecture and since Natty Narwhal it is supported also on the i386 architecture.

You can find that out by looking at the kernel configuration files found here. Search for the term CONFIG_CRYPTO_AES_NI_INTEL.


Replace all sub-domains in a file with the another domain name using sed & wildcard

If you use .*.domain1.com as your pattern, you will essiantially match unwanted characters, because . means any character.
You want to replace only "word characters" (ASCII letters, digits or underscore) using \w+.

As normal sed regex doesn't know about +, make sure to add -r for sed to use extended regex.

Also make sure you use quotation marks! Otherwise * might be interpreted by bash.
And you should escape . in the pattern, otherwise it will also match any character.

sed -i.bak -r 's/\w+\.domain1\.com/domain2.com/g' file


How can I install Telegram app in 18.04?

It looks like you've got LibreOffice installed, but somehow managed to break its installation. To fix it, try:

sudo apt-mark auto libreoffice-common

If you've got an old version of apt-get (before 11.something, I think – well before Ubuntu 18.04's version) and this doesn't work, try instead:

sudo apt-get markauto libreoffice-common

and then update your package manager immediately.

After running one of these commands, run:

sudo apt install

(I think.)


Procedure to follow after a distro upgrade

User configurations are completely independent on the operating system. As long as you don't touch the users home, the settings will be automatically applied. No action required.

With regards to PPA, you'll have to add them afterwards since it will be different software. You can not depend on a PPA being available for new versions. It's up to the developers of the application to make sure it'll be available for future versions.


I believe the problem in your case is that you are trying to mount a remote device before the network has finished coming up.  You should add the _netdev option to /etc/fstab for the iSCSI device to make it wait to mount until the network is up.


How to backup and restore downloaded gnome-shell extensions?

I guess I figured it out. You have to replace (after backuping, for safety) the following three folders with the original ones previously saved from the system you want to clone:

~/.local/share/gnome-shell/extensions

~/.local/share/gnome-shell/quicklaunch

~/.config/dconf

Then logout and login.

Let me know if it works, or if you find better ways!

(tested on Ubuntu Gnome Shell Remix 12.04)


Do I stick with 12.04 lts or upgrade to 12.10 or higher?

The LTS in 12.04 LTS is supposed to mean Long Term Support, so it should get important updates like security updates for a "Long Term" (currently 5 years). You should be safe keeping 12.04 and just updating it, no need to upgrade to 12.10 or a newer version.

That said, the newer versions could offer newer features that 12.04 LTS may not have, like newer versions of programs (not just security & bigfix updates) or maybe even newer kernels with newer hardware support (someone correct me if I'm wrong there...)

But if everything works well on your 12.04 then keeping it is a fine idea.

FYI, for more available software options, you can enable main, universe, restricted, and multiverse (I think they're separated by license type) in the "Software Sources" or "Repositories" See this link for more info https://help.ubuntu.com/community/Repositories/Ubuntu


Ubuntu installed on hard drive does not boot "no boot device found"

Go to BIOS setting and check Boot-Device Option setting, Internal HDD must be enabled there or Simply Load Default the BIOS setting.


Multiple workspaces on Ubuntu 18.04.1 LTS and later with GNOME Shell

GNOME shell in Ubuntu 18.04 has a "dynamic workspaces" feature by default, which means there is no fixed number of workspaces.

  Workspaces can be created on demand, and are automatically removed when empty.

There will always be an empty workspace below the workspaces you're using. Just open an application window in the second workspace, you should find a third workspace appearing (which is empty) and so on (check the official documentation for more info).

You can disable this feature and switch to fixed number of workspaces. First install (GNOME) Tweaks by running

sudo apt install gnome-tweaks

Then launch Tweaks and go to the "Workspaces" section. Select "Static Workspaces" instead of "Dynamic Workspaces" and set the "Number of Workspaces" to your preferred one, 4 for example.


lshw output: unclaimed and strange lines in memory

The first line looks like a translation error message.  Try running LANG=C lshw and see if it goes away.  The second one is simply saying that your motherboard has an I2C controller that no driver has claimed, which is normal since it is just used by the BIOS to identify what kind of DIMMs you have installed.  The third appears to be a power supply that your vendor did not properly fill in the descriptions for.  I'm not sure why that is unclaimed, but it wouldn't cause any extra power draw.


First make sure the package has been installed correctly:

dpkg -l easytether | grep "^ii"

if you get nothing, it means package is not correctly installed.

After that find about package binaries:

dpkg -L easytether | grep '/bin/

it gives you a list of binaries which you can run. Use them to run the program.


Error message *-network UNCLAIMED showing after install wifi driver with Windows Wireless Drivers

Run the following command:

sudo modprobe ndiswrapper

If this show you  "Required key not available",then follow this link.
I don't have much knowledge of Ubuntu but this fixed my problem.


Which file on Ubuntu 12.04 LTS contains Skype credentials?

It should be in

/home/$USER/.Skype/{SKYPE_USER}/config.xml

So you can easily find out your user name. The password is encrypted using AES-256 so you will need to contact skype or use a password reset tool from them.

Source: see page 67

Thunderbird see retrieve password from Thunderbird 17


You have to use a + sign when specifying the size.

So for 10 Gb

    +10G


How to force dhcp client to allow a self defined domain name

Edit /etc/hostname to contain your desired hostname

vim /etc/hostname

hostname -f /etc/hostname
exit

The next terminal you open, or your next ssh session will show the hostname in /etc/hostname.

Other machines on the network may still refer to your machine as the domain provided by the DHCP server, but locally your computer should respect the contents of this file.


Are there any plans to create a standard based on libunity?

I'm the evil mastermind behind libunity where many of these things will be implemented :-)

There is an inherent problems with standards - namely that they are standards :-) If you set them in stone you gotta stick to them if they should be worth the paper they are written on. If they turn out to have unforeseen drawbacks or design problems you're in trouble. You can either extend-and-embrace it or do something completely different. No matter what you'll get flamed somewhere for your choice.

That said, I don't think you can find many that will object to fact that a well written, thought through, and proven standard is a good thing. The problem is getting to that point.

For Ubuntu we have some very rapid cycles for feature development and if we would first negotiate a standard on FDO and after that implement it we would simply have no way of delivering features at the pace we're doing right now.

The approach we're taking now is mostly to try stuff out in practice and then when if we feel really good about something we can draft them up as standards. But if we see our selves changing the specs every cycle it might just be wasting everyone's time if we pull people in to standardization discussions, don't you think?

So in principle I'm pretty sure we agree :-) The problem is how to get there without jeopardizing the user experience.

Another way to look at this is to not necessarily mandate that a "standard" is  DBus API or written spec. An API+ABI stable library is just as good in my book. Then the standard is not human readable words, but machine readable binary instructions.

Sorry for the long response, but it's a complicated matter :-)


In addition to the above answer, you can have some checks.

From your Software Center you can know the recent installed or updated apps.

And you can know which apps have imagemagick as dependency so you can know which app had installed it.

apt-cache rdepends imagemagick

sample output:

Reverse Depends:
  inkscape
    graphicsmagick-imagemagick-compat
  formatjunkie
    graphicsmagick-imagemagick-compat
  playonlinux
    graphicsmagick-imagemagick-compat
  lives
    graphicsmagick-imagemagick-compat
  variety
    graphicsmagick-imagemagick-compat
 |ejabberd
    graphicsmagick-imagemagick-compat
  imagemagick:i386
 |qt4-qmlviewer

From man apt-get

rdepends pkg...
           rdepends shows a listing of each reverse dependency a package has.


How can make the controler configuration window show in pcsxr?

Ubuntu 18.04 shipped with many broken packages, and pcsxr is one of them. Fortunately, pcsxr is among the few packages that can be easily fixed. The solution is to install the functioning input plugin from the 16.04 version of pcsxr. (All credit goes to josefien for figuring this out)

Install pcsxr normally: sudo apt install pcsxr
Download the 16.04 version of pcsxr: https://packages.ubuntu.com/xenial/pcsxr (most likely the amd64 version; uname -a will give display your architecture, if you see x86_64 then pick amd64 in the download)
Extract the deb archive (right click -> extract here). You will find a file data.zip that needs to be extracted as well.
From the data file, you'll need to copy three files. Two of the three will replace preexisting files. In the terminal, go to the extracted data file and copy the folling files:

sudo cp usr/lib/x86_64-linux-gnu/psemu/cfgDFInput /usr/lib/x86_64-linux-gnu/psemu/cfgDFInput
sudo cp /usr/lib/x86_64-linux-gnu/psemu/libDFInput.so -> /usr/lib/x86_64-linux-gnu/psemu/libDFInput.so
sudo cp /usr/share/psemu/dfinput.glade2 /usr/share/psemu/dfinput.glade2

Since we're using glade again, you'll also need to install or it wont work: sudo apt install libglade2-0
This is not strictly related to this question, but the pcsxr package is still broken but in another way: You need to set Cpu = 1 in ~/.pcsxr/pcsxr.cfg or pcsxr will crash.

With that, you're all set. The configuration window should appear normally and your controller should be detected and ready for configuration.


Ubuntu 12.04 ASUS USB-N13 802.11 b/g/n wireless connection weak after reboot

If your slowdown is heavily linked with reboots, you might want to see if there's a startup application that is hampering your wireless card. See if there's anything suspicious in "Startup Applications". (open from Dash)

Or instead, run another OS on your computer and see if the same problem occurs. If not, then we'd know the issue is Ubuntu-specific, which would narrow down our scope of possible error sources.

Also have your computer scanned. Just to be on the safe side.

If none of these work, install an earlier, more stable version of your wireless driver. My USB 3.0 driver, for instance, doesn't work with the latest version. Manufacturers make mistakes every once in a while.


How to list text files without a .txt file extension?

To match files that do not have an extension at all, you can use the command

ls | grep -v '\.'

To match files that do not have a .txt extension, you can use the command

ls | grep -v '\.txt'

This will pass the list of files in the current directory to grep, which will remove all file names that have a . (or .txt for the second command) in them.


Problem with update-manager: No module named 'apt_pkg' in Ubuntu 13.10, having installed Python 3.4 on /usr/local/lib

Reinstall apt_pkg using:

sudo apt-get install --reinstall python3-apt

The error is primarily because of library apt_pkg.cpython-35m-x86_64-linux-gnu.so not being present in /usr/lib/python3/dist-packages.

Removing and reinstalling should help.


How can I regenerate the System V symbolic links?

The most reliable way to get the symlinks back would be reinstalling the packages which have an initscript in it.

I've noticed that neither dpkg-reconfigure nor apt-get --reinstall install restores the symlinks. Not all scripts comply with the LSB standards and do not provide a # Default-(Start|Stop) line.

The below (tested) script looks in the post-installation script of packages for the update-rc.d command which adds the startup script. Previous links had to be deleted in order to work, hence the update-rc.d -f [script-name] remove line. I've verified that all links are properly put back, the only missing file was a README file, but that's not critical.

#!/bin/bash
cd /etc/init.d && for file in *; do
    if [ -x "$file" ]; then
        pkg=$(dpkg-query -S "/etc/init.d/$file" | cut -d: -f1)
        if [ -z "$pkg" ]; then
            echo "**WARNING** No related package found, skipping file: $file"
        else
            postinst="/var/lib/dpkg/info/$pkg.postinst"
            if [ -r "$postinst" ]; then
                update=$(grep -Po "(?<!#)\s*update-rc\.d\s+$file\s+((start|stop|defaults)[\s\dS\.]+)+" "$postinst" | sed -e 's/^\s*//' -e 's/\s\+/ /g')
                if [ -n "$update" ]; then
                    sudo update-rc.d -f "$file" remove
                    sudo $update
                else
                    if [ -e "/etc/init/$file.conf" ]; then
                        echo "$file has been moved to Upstart"
                    else
                        echo "No update-rc.d line found for $file"
                    fi
                fi
            else
                echo "No post-installation script found for $pkg"
            fi
        fi
    else
        echo "Not an executable, ignoring file: $file"
    fi
done

If you want to repair it manually, you can use the following:

dpkg-query -S /etc/init.d/[script-name] - retrieves the package name responsible for the file
less /var/lib/dpkg/info/[package-name].postinst - search for "update-rc.d" to get the command needed to install the startup scripts

Resources:

Manual page of update-rc.d


Removing a block of text (saved in variable) inside file

You could try perl, in paragraph mode:
perl -00pe 'BEGIN{$pat = shift}; s/\Q$pat\E//' "$oldvalue" advancedplexapi.txt


What is the default interface on a fresh Kubuntu installation

I think it will install plasma by default without asking you, but then you can change.  If you want to choose during the installation Debian does it.


can't create wallpaper slideshow in fvwm-crystal

I found the various background changing programs either didn't work or did not work as I liked so I created the following script to run automatically at login:

#/bin/bash
find -L ~/Pictures -name  '*.jpg'>~/jpegs.text
while true ; do
    convert `shuf -n 1 jpegs.text` -resize 1920x1080 ~/temp/backgroundtemp.jpg
    gsettings set org.gnome.desktop.background picture-uri file:///home/john/temp/backgroundtemp.jpg
    cp ~/temp/backgroundtemp.jpg ~/temp/background.jpg
    gsettings set org.gnome.desktop.background picture-uri file:///home/john/temp/background.jpg
    sleep 60
done

All my pics are jpegs in my Pictures folder in many subdirectories. The script at startup creates a jpegs.text file containing path names to all my files then sets a random backgound once every 60 seconds. I have hundreds of pictures of family and our many trips. Don't ask why I use the gsettings command twice on the same file because I don't remember. It may have been for debug purposes but I'm too lazy to figure that out.


Deleting multiple sub directories with in multiple directories

This should work always test safely dangerous commands:

cd ~/Documents/Directory
find . -maxdepth 2 -mindepth 2 -type d -exec rm -rf {} +


Press Ctrl+Alt+T , to open terminal/command line. Type alsamixer, hit enter. This will bring up Alsa Mixer application.

Do you see Auto-Mut part? Do you have it enabled? If not, speakers won't be muted. Using left/right arrow keys navigate to it, and using up/down, enable this option.

Do you see your line  with a vertical bar? What do you have bellow? If it is MM, it means your headphones are muted, so no sound will be comming out. Using right/left keys navigate to headphones, unmute them by pressing m on your keyboard, up/down arrows bring the volume level to desired percentage. Master volume is also important - if you have that muted or at 00, nothing will come out. Change it just like I already explained

For  some reason 14.04 version ships with volume muted by default, which is very weird. Had that issue when installed on chromebook and when updated on my Toshiba laptop from 13.10. Pretty sure Auto-Mute is disabled by default as well


How can I install VMware on Ubuntu 13.10?

Download the bundle from here to your Downloads folder.
Open up the terminal: Ctrl+Alt+T
Enter the following commands:

cd Downloads
chmod +x VMware-Player-6.0.1-1379776.x86_64.bundle
sudo ./VMware-Player-6.0.1-1379776.x86_64.bundle

Follow the install GUI.


In the builds present in the ppa:grasch-simon-listens/simon there is a build for  Ubuntu version 12.04 LTS.

More recent Ubuntu version (>= 14.04 LTS) will have simon  available from the universe repository.

Alternatively we can always install software from the source available for download from the Simon KDE Project or from it's Launchpad branch.


Accidentally deleted /var/log. How can I fix it?

In my system I have this:

% ls -lad /var/log
drwxr-xr-x 21 root root 12288 Nov  8 16:01 /var/log

So my first try would be to recreate that and reboot... (no guarantees: never tried that, and I have no time now to set up a VM just to try it...)

sudo mkdir /var/log
sudo chmod 755 /var/log

I hope that the various daemons will repopulate the directory correctly.


wget get-pip.py script using

wget https://bootstrap.pypa.io/get-pip.py

Run the script

sudo pypy get-pip.py

Now run

pypy -m pip install pytest


Dual Boot Win7 and Ubuntu 14.04 Bootloader

You need to tell the EFI which boot image to use. The EFI remembers the last used boot image. Now, how exactly to do this depends on the EFI implementation. For example, on my Lenovo laptop I would enter the EFI setup by hitting a special button on the side of the computer. Then, I would go to the Boot tab and there is a list of bootloaders. You should see Ubuntu and a Windows Boot Manager of some kind. Use the designated keys to re-arrange the boot order.

Alternatively, you should be able to set it from the LiveCD/USB by running efibootmgr . Note that the process below will only work if the CD/USB was booted in EFI mode, not compatibility/legacy/BIOS mode.

sudo efibootmgr

Gives you a list of your current boot order. In order to change this, you have to type a long command that is highly dependant on your system. For example, my system boot order looks like this (note the BootOrder line):

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0007,0002,0003,0000,0008,0009,000A,0005,2001
Boot0000* Lenovo Recovery System
Boot0001* ubuntu
Boot0002* Windows Boot Manager
Boot0003* Ubuntu
Boot0005* Network Boot: Atheros Boot Agent
Boot0007* Windows Boot Manager
Boot0008* Internal HDD: SAMSUNG MZMPA016HMCD-000L1
Boot0009* SATA HDD    : ST1000LM024 HN-M101MBB
Boot000A* SATA ODD    : HL-DT-ST DVDRAM GU70N
Boot2001* EFI USB Device

It does 'ubuntu' first, followed by 'Windows Boot Manager', then 'Windows Boot Manager' (again?), then 'Ubuntu' (yet again? -- guess I gotta get that sorted out), then 'Lenovo Recovery System', etc.

So, in order to change my boot order to be Windows first, I would enter the command:

sudo efibootmgr -o 0007,0001,0002,0003,0000,0008,0009,000A,0005,2001

This will set it in the EFI so that 'Windows Boot Manager' loads first, followed by 'ubuntu'. Every thing else stays where it was.

Note that some machines are hard coded to boot '[ESP]/BOOT/Microsoft/bootmgfw.efi', (where [ESP] is your EFI system partition's filesystem) -- the Windows boot manager. However, simply copying '[ESP]/BOOT/ubuntu/bootx64.efi' to '[ESP]/Boot/Microsoft/bootmgfw.efi' (after moving the original 'bootmgfw.efi' out of the way/backing it up of course) should suffice to fix the problem on those systems. If this is required, it can also be be done from within Ubuntu like this:

cp /boot/EFI/BOOT/Microsoft/bootmgfw.efi /boot/EFI/BOOT/Microsoft/bootmgfw.efi.bak
cp /boot/EFI/BOOT/ubuntu/bootx64.efi /boot/EFI/BOOT/Microsoft/bootmgfw.efi


Problem with /usr/bin/ld: main.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'

This is a bit of a kludge, but it works:

Edit the file configure.ac found in the emerald source folder. There, approximatively on line 55, you will find the following line:

LIBS="$LIBS $EMERALD_LIBS"

Change it to

LIBS="$LIBS $EMERALD_LIBS -lm -ldl"

and redo the steps. It will work.


Difference between using `add-apt-repository` and adding a link to the sources.list

Adding via PPA does add a list. file in /etc/apt/sources.list.d, which is sourced by apt so there is a repository there.

The convenience that add-apt-repository provides is that it not only adds the source, it adds the GPG key of the repository so you don't have to do that manually.


How to Setup a printer over a Speedport router (Telekom)

GUI/Ubuntu - After successful setup on my Kubuntu desktop, here is an answer for Kubuntu 18.04.3 LTS. (But look at the end for a general CUPS solution!)

Activate the printer and connect it by USB with the Speedport.
Essential step: search in the Kubuntu menu for a "printer" program, then install the printer manager and start it.

(using CLI: sudo system-config-printer & )
In the printer manager GUI, select add,printer, network  printer, Find, which adds a device named (in my case) JetDirect(speedport.ip)(192.168.2.1) and finds a port number port=9100

Go on with: forward,HP,Officejet6210, name= Net-HP-OfficeJet6200, ok.
Here as entered for my old HP from 2005. But the decisive advantage of system-config-printer over what I had tested before lays in the "find" step.

CUPS/Linux - In the Printer Manager double click on the icon of your new crated printer. I get "Device URI=socket://speedport.ip:9100",

which is exactly  the net address of the printer for entering in CUPS (in your browser, over the URL=http://localhost:631/).

Whith this information you can setup and manage any printer type using CUPS alone. And this should work also outside Kubuntu.


You could use a .tar.gz download from MySQL's homepage and extract the files to the proper folder, but for greater updateability, using the package manager (apt-get) is more recommended.

Use symbolical links instead

You can create symbolical links with the command ln, so that you will access the files from both directories.

How to create the symbolical link?

The command is used as follows: ln -s target_file link_name. Creating a symlink for libmysqlclient.so will look like this:

codeartist@computer:/usr/lib/mysql$ sudo ln -s /usr/lib/i386-linux-gnu/libmysqlclient.so libmysqlclient.so

This way, opening the file /usr/lib/mysql/libmysqlclient.so will open the file at /usr/lib/i386-linux-gnu/libmysqlclient.so. Be careful, because if you delete the target file (at i386-..., the symbolical link will be broken.


Curly brackets Norwegian ( Macintosh, no dead keys ) - how to enable them?

With the basic Norwegian layout you access those symbols via AltGr+7 respecive AltGr+0. So one option is to use that layout instead.
As regards Norwegian (Macintosh, no dead keys), and unlike most other layouts, it does not automatically enable a key for accessing 3rd and 4th level keys, so you need to do that yourself. You can do that by opening Tweaks (the gnome-tweaks package needs to be installed) and then Keyboard & Mouse -> Additional Layout Options -> Key to choose the 3rd level.
If you pick Right Alt, you can do
AltGr+0 => }
But
AltGr+7 results in a bar, so it looks like you need to edit the layout as well...
Are you sure you don't prefer the basic Norwegian keyboard layout? :)


How to send an email when laptop battery is low?

There is a Ubuntu software called Cuttlefish which enables you to create some tasks when some events occur on your computer. Perhaps you may create a task which sends you an email when the battery is low.

You can install it by writing it in a terminal : sudo add-apt-repository ppa:noneed4anick/cuttlefish && sudo apt-get update && sudo apt-get install cuttlefish.


Making program always run on the background

(while true; do echo "$(date) hello world"; sleep 1; done) &

Or for your script:

(while true; do ./python_script.py; done) &


How to sum specific rows using awk and other methods?

You don't need awk for this, a bash script will do:

#!/bin/bash
IFS='|'
while read -r -a array line
do
  i=0;sum=0;line=""
  for element in "${array[@]}"
  do
    if [ $i -gt 1 ]
    then
      let sum=sum+$element
    else
      line=$line$element$IFS
    fi
    let i=i+1
  done
  echo "$line$sum"
done < "${1:-/dev/stdin}"

If the above script is called process and your data file is called data, running

process < data

will produce

123|Raghu|230
234|Maya|60
123|Atul|110
413|Gita|216
745|Mohan|145


Press Ctrl+Alt+T, which is the keyboard shortcut for most(all?) Ubuntu versions.

Alternately, you can go to Dash and search for "Terminal".

Pressing Alt+F2 and typing gnome-terminal will also open one.


grub won't start ubuntu desktop automatically

Try the below command and check to start the grub,

nano /boot/grub/menu.lst

After doing so check whether the GRUB has able to open the GRUB automatically,

 sudo gedit /etc/default/grub/

Hope the above helps.


Burning CD stuck at 100% Creating image checksum

First solution:

Just disable the checksum: Open Brasero > Edit > Plugins > Uncheck Image Checksum.

Second solution:

Install cdrdao and this should solve the problem. Unfortunately, it can't solve it in the middle of the burning process.

sudo apt-get install cdrdao


Help with using Nepali Unicode Keyboard Layout ( Romanized ) and Language Support!

Here's a snapshot of the keyboard layout with Nepali Unicode based on devnagari script in Ubuntu:

click to view; Ctrl + +/- to zoom in/out; Ctrl + 0 to restore)

A few keyboard mappings and combinations:

click to view

click to view

click to view

Adding and using Nepali Keyboard Layout:

Click the keyboard icon at the panel and select keyboard layout settings or select System Settings -> Keyboard Layout:

Click the add (+) icon, search for nepali input, select and hit Add button.

Click the keyboard icon at the top panel select the layout you want to use. You can toggle the layout with the keyboard shortcut: Shift + Caps Lock

Adding and using Ubuntu's Nepali Language Support

Go to System Settings:

Select Language Support:

Click Install / Remove Languages ..., search for Nepali and mark it, then click the Apply Changes button; wait for the installation to complete.

Goto Language Support window again and rearrange the language preferences.


Using (nautilus) Files 3.20.4 from Ubuntu 17.04 to access a second hard drive (sdb)

On older versions of Ubuntu (not sure which ones), you had drives show up on the left panel of Nautilus. In this version you mentioned those icons are moved to 'Other Locations' tab, including options for adding network drives, devices and ftp servers.


What is the name of the application to find automatically the package to install?

I guess it should be provided by command-not-found package. This package also provides the feature that suggests similar command names when your command is not found:

$ gdit
No command 'gdit' found, did you mean:
  Command 'edit' from package 'mime-support' (main)
  Command 'gedit' from package 'gedit' (main)
  Command 'gdis' from package 'gdis' (universe)
  Command 'git' from package 'git' (main)

Source: CrunchBang Linux Forums


How to install a Ubuntu dual boot with Windows 10, when the UEFI partition is NTFS?

EDIT: Turns out, the below was "false alarm" of sorts; somewhat later, I realized the disk hosting this NTFS "EFI" partition is formatted MBR, not GPT; and it does not have an EFI folder either, nor typical expected Windows EFI files as EFI/Microsoft/Boot/bootmgfw.efi. I guess, the presence of the "esp" flag on this partition is what got me confused.
In the end, I ended up doing this:

First installed Ubuntu on a spare partition from an EFI booted USB, and ignored fails in installing grub on NTFS
I hoped that I could flash GRUB2 manually on NTFS partition, but grub2 2.04 has explicit check for FAT, so that is for the time being impossible:

if (!efidir_is_mac && grub_strcmp (fs->name, "fat") != 0)
  grub_util_error (_("%s doesn't look like an EFI partition"), efidir);

Then I tried recommendation in comments:

To change the off ntfs EFI partition, just copy the files off, change the partition type and reformat to FAT, then copy the files back

This still didn't help dual boot at this point, however, now that I had a FAT32 partition, I could re-install Ubuntu, from stick booted in EFI mode, while flashing GRUB2 on this partition.

Now Ubuntu did start up, but os-prober simply did not detect Windows at all; boot-repair did not correct anything, but it mentioned that it saw "legacy windows"
Finally, from the Ubuntu installation, I re-installed grub2 on the partition, but with --target=i386-pc; and forced legacy-only boot from BIOS
Rebooting into Ubuntu now, boot-repair removed all grub EFI-related packages - and finally, os-prober could see Windows partition; but the entry it added (with chainload) could not boot into Windows, claiming disk was not bootable (which it isn't, as the Windows install is on partition 2, which is not marked bootable)
Finally, as per suggestion in How to boot into Windows 7 when grub is installed in the Windows partition? - I added manuall a Windows 10 entry which used ntldr ($root)/bootmgr - and finally I have dual boot!

Which is to say - this first NTFS partition, which was bootable (and marked esp) was most likely not a real EFI partition - maybe it somehow facilitated recovery or something; which is (I guess) proven by the fact, that I could only achieve dual boot to Windows, by forcing legacy boot.

Not an answer, but just wanted to respond to this:

I'd like to see the output of sudo parted -l and sudo blkid on this system with the allegedly-NTFS ESP. I've seen such claims a couple of times before, but without evidence. ...
Please provide the parted -l and blkid output first, though; that could provide vital information.

Yup, just ended up with a system like that, refurbished ThinkPad.
I booted up Slax on my USB thumbdrive on this laptop (in legacy mode), and it provides this information (note that I've done a bit of manual partitioning, in addition to what was present upon disk already; I've also removed info about other drives):
root@slax:~# parted -l
Model: ATA KINGSTON SUV400S (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  368MB   367MB   primary   ntfs            boot, esp
 2      368MB   54.1GB  53.7GB  primary   ntfs
 4      54.1GB  118GB   64.4GB  extended
 5      54.1GB  75.5GB  21.5GB  logical   ext4
 6      75.5GB  108GB   32.2GB  logical   ntfs
 7      108GB   118GB   10.7GB  logical   linux-swap(v1)
 3      118GB   120GB   1611MB  primary   ntfs            diag

So, partition 1 is marked both as ntfs, and as boot & esp.
root@slax:~# blkid
/dev/zram0: TYPE="swap"
...
/dev/sda1: LABEL="System" UUID="64C89227C891F78E" TYPE="ntfs" PARTUUID="5e4a12da-01"
/dev/sda2: LABEL="Windows" UUID="EE3E98553E9818A3" TYPE="ntfs" PARTUUID="5e4a12da-02"
/dev/sda3: LABEL="Recovery" UUID="28DE98A6DE986E36" TYPE="ntfs" PARTUUID="5e4a12da-03"
/dev/sda5: UUID="80bbb011-a20f-489f-99dc-bbcc9422f7f4" TYPE="ext4" PARTUUID="5e4a12da-05"
/dev/sda6: LABEL="XXXXXX" UUID="3BBF7C062DC0E351" TYPE="ntfs" PARTUUID="5e4a12da-06"
/dev/sda7: UUID="abf91577-e9e8-4cd5-9e3f-48393f6c084c" TYPE="swap" PARTUUID="5e4a12da-07"
/dev/sdb1: UUID="D4D5-9DAC" TYPE="vfat" PARTUUID="000568d1-01"

I wanted to install Ubuntu dual-boot on this machine along with Windows, so I booted up the mini.iso from USB thumbdrive (in EFI mode), which runs the text installer; originally it showed this state of partitions:

I then tried to to set up partition 1 to be "Used as" EFI system partition, which resulted with this state being shown:

... however, the text installer would have none of it - and it failed with "The attempt to mount a file system with type vfat in SCSI2 (0,0,0), partition #1 (sdb) at /boot/efi failed.":

So, yeah - the text installer does seem to make the assumption that the EFI partition is always vfat, and as in this case it is NTFS, the process there fails ...
So I cannot really tell, what I can do, to have Ubuntu installed on this system in dual boot configuration with Windows - without changing the EFI partition ...

EDIT: Here are approximately the files present on this first NTFS partition, mounted on /mnt here (I had cut off some obvious translation and font files to make it easier to read) - note that there is no EFI folder anywhere:
$ tree /mnt/

/mnt/
├── Boot
│   ├── BCD
│   ├── BCD.LOG
│   ├── BCD.LOG1
│   ├── BCD.LOG2
│   ├── bg-BG
│   │   └── bootmgr.exe.mui
│   ├── BOOTSTAT.DAT
│   ├── bootuwf.dll
│   ├── bootvhd.dll
│   ├── cs-CZ
│   │   ├── bootmgr.exe.mui
│   │   └── memtest.exe.mui
│   ├── da-DK
│   │   ├── bootmgr.exe.mui
│   │   └── memtest.exe.mui
...
│   ├── Fonts
│   │   ├── chs_boot.ttf
│   │   ├── cht_boot.ttf
...
│   │   ├── segoen_slboot.ttf
│   │   ├── segoe_slboot.ttf
│   │   └── wgl4_boot.ttf
│   ├── fr-CA
│   │   └── bootmgr.exe.mui
...
│   ├── memtest.exe
│   ├── nb-NO
│   │   ├── bootmgr.exe.mui
│   │   └── memtest.exe.mui
...
│   ├── Resources
│   │   ├── bootres.dll
│   │   ├── da-DK
│   │   │   └── bootres.dll.mui
...
│   ├── ro-RO
│   │   └── bootmgr.exe.mui
...
│   └── zh-TW
│       ├── bootmgr.exe.mui
│       └── memtest.exe.mui
├── bootmgr
├── BOOTNXT
├── gboot
│   └── grub
├── grub
├── manboot
│   ├── bcd
│   ├── bootfix.bin
│   ├── boot.sdi
│   ├── efisys.bin
│   ├── efisys_noprompt.bin
│   ├── etfsboot.com
│   └── fonts
│       ├── chs_boot.ttf
│       ├── cht_boot.ttf
│       ├── jpn_boot.ttf
│       ├── kor_boot.ttf
│       └── wgl4_boot.ttf
└── System Volume Information
    └── tracking.log


Hotstar videos on Ubuntu keeps freezing Google Chrome

Sorry, hotstar.com does not support chrome on Linux ... the website opens however but the videos take forever to load(which is result of lack of support by hotstar for linux OS).

Where did you come across or hear about they supporting linux OS ?

You could install Windows version of firefox on wine if you are so particular to watch hotstar.com and you are an avid linux user just like me, that way hotstar.com is a go on linux


'tail' command not getting only the new lines

First, you get the error because you are using a text editor for this. This means that every time you open the file, edit and save it, the original is overwritten with the new contents. Whether you added a single line to the end or 100 lines all over the place is irrelevant, the point is that the file is being opened, edited and saved and that overwrites the contents.
For example, compare your workflow to running this:
for((i=0;i<20;i++)); do echo $i >> file.txt; sleep 1; done

That will write a number to file.txt every second for twenty seconds. If you open another terminal and run tail -fn 0 file.txt, you will see the output you expect.
So, to get the desired behavior add the text to the file using >> from a terminal instead of manually editing it.

More details
nano seems to be the odd one out here. Most editors when opening a file then saving it will actually delete the original file and save a new one with the same name. You can test this by checking the inode number of the file:
$ ls -il file.txt
16647801 -rw-r--r-- 1 terdon terdon 9 Apr  6 18:19 file.txt

Files are simply hardlinks to specific inodes, in this case, file.txt points to inode 16647801. Now, open the file in gedit, add a line and check the inode again:
$ gedit file.txt
$ ls -il file.txt
16647854 -rw-r--r-- 1 terdon terdon 13 Apr  6 18:23 file.txt

As you see, the inode number has changed, in other words, the original file was removed and a new one was created. nano does not do that, trying the same thing with nano does not change the inode. It does, however, delete the original contents overwriting them with the new contents. That's why tail actually shows the output, if you try it and edit the file with gedit (or emacs or a number of other editors), the extra lines you add won't be shown in the output of tail at all.


NFS client's nautilus hangs when NFS server is ofline

This looks a little old, so I'm not sure if you've already found an answer, but I've recently solved a similar issue.

This problem is compounded by multiple issues:

The new files browser always pulls information about the various filesystems that are available to it - meaning if you have 5 mounted shares, whether they are SSH, CIFS, or NFS and are visible under the "network" section of the places pane (left side), they will always have an fread() called on them.
Some of these shares, will take longer to respond - even with proper credentials, and will make it appear that nautilus has hung when opening it up after a period of inactivity, or if a server goes away.
Many other applications cause nautilus fread()s - I witnessed this doing an strace on the nautilus process, but this issue seems to be connected only when something requests a full list (like a file open window).
Any time you open nautilus up (by just clicking on the file folder icon in your panel) it does a scan of the folders in your home directory and the contents inside. If you make your mount point something like /home/$user/server_mount then nautilus will hang when the server becomes unavailable.

Note, this also affects other applications like Evolution. Receiving calendar events, or replying to a message would cause Evolution to 'dim' as it was waiting. I'm guessing it was requesting a full file listing for the attachment button, but I didn't investigate that further.

My quick solution for myself, was to just unmount the network shares I had connected to. For now, I'll only connect when I need to access the resources, then unmount when I'm done.

You're semi-permanently attached, so your solution will be a bit different, and its something I've done in the past.

To handle reattaching after the server comes back up, you'll want to use an automounter - like autofs
To handle the nautilus hangs when the server isn't available, relocate the mount point somewhere that isn't a default starting point for nautilus, like a sub-directory. /home/$user/mounts/server_mount
You'll need to have your mount gracefully fail back to your application in a timely fashion when the sever goes away. To do that, you'll want to add the soft,retrans=1,retry=0,intr switches to your mount. If memory serves me correctly, the retrans,retry values only work with NFS over UDP, which is the default. If you're using it over TCP, then the timeout values will be based on the TCP stack settings.

HTH


Reset Windows Password with Ubuntu Live CD

You mustn't change the password with chntpw, what you can do is reset it (if you could change it that means that you can read the previous password). The correct way to use it is:

cd /media/B830C9BC30C981BC/WINDOWS/system32/config
sudo chntpw SAM SECURITY

(change B830C9BC30C981BC as appropiated)

Once in this screen you will get to answer several questions. READ CAREFULLY. Select the account you want to modify then reset the password.

1 - Clear (blank) user password
2 - Edit (set new) user password (careful with this on XP or Vista)

If reseting the password directly doesn't work, you can activate the Administrator account and from there reset your password.


Dell WD19TB Thunderbolt dock - Failed to authorize device

I figured this out, mostly by accident. In the BIOS, there are several settings related to Thunderbolt. One is "Thunderbolt Security Level," which defaults to "User Authorization." I changed this setting to "No Security," reconnected the dock, booted it up, and now it sees everything that is connected to the dock.

Now, when I look in "Devices -> Thunderbolt," the dock shows up as "Authorized."

Hope this helps someone in the future.


When did Ubuntu become a "by Canonical" product?

If you go to The Ubuntu Story page, you will find this:

  Governance

  Version 4.10, codenamed the 'Warty Warthog', the first official Ubuntu release, was launched in October 2004. Global interest in Ubuntu was dramatic from the outset. The year following the Warty Warthog release saw huge growth in the Ubuntu community as thousands of free software enthusiasts and experts joined.

  The governance of Ubuntu is somewhat independent of Canonical, with volunteer leaders from around the world taking responsibility for many of the critical elements of the project. It remains a key tenet of the Ubuntu Project that Ubuntu is a shared work between Canonical, other companies, and the thousands of volunteers who bring their expertise to bear on making it a world-class platform for the whole world to use.

So you can see that who powers Ubuntu is Canonical and it have ever been, but Canonical is for the Open-Source and the Collaborative Work, it's because of that you have never been hired by Canonical, but contributed to the development of Ubuntu. As you said Ubuntu is a community work, but it has one company that is responsable for it, Canonical, that works like a gatekeeper of the Ubuntu development.

We are not fanboys surronding Canonical, we are enthusiasts surrounding Ubuntu, Canonical supports Ubuntu, but does not take it's development to closed doors, it just regulates the path of the development, takes care of legal issues and decides some major issues about the OS. I don't see Ubuntu separately from Canonical, they are one thing, Canonical is all about Ubuntu.


How to reduce WUBI installed Ubuntu drive space?

You can resize a Wubi install. Either by creating a new smaller root.disk and then deleting the old one: https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk

or you can do an inplace resize, which will shrink the current root.disk, but this needs to be done from a live environment (CD/USB) not while running wubi: https://help.ubuntu.com/community/ResizeWubiDisk (this may be your best option if you don't have enough space to duplicate your disk).

The only requirement is that you choose a new size that is big enough for your current files and also a free space buffer required for the operating system to run (and for new data/programs you may need). The script (first option) enforces a bare-minimum (requires about 500MB only), but not the direct resize. I'd recommend more than the minimum e.g. at least 3 GB free space, because if you try to upgrade a Wubi install with less it will likely fail.


The answer to your problems is remmina (GUI) or rdesktop (Terminal command which opens GUI after) before that You should install this package.


Help with moving partitions in dual boot system

0) Changing partitions is risky. Please make a backup of your data, then verify the backup matches the source data; then backup again to a different drive or cloud, verify that matches the source, and only then start with partition changes.

00) Make one change at a time with gparted. After you specify a change (e.g., deleting the swap partition, if you decide that's OK), then click on the green check mark at top center to commit that change. Change-commit, change-commit, change-commit.

1) You can't change things unless the partition you want to change is unlocked. In this case, you must boot from a LiveDVD or a LiveUSB, such as was used to install Ubuntu in the first place.

2) If you are using Ubuntu 18.04 or newer, and you do not use Hibernation, you can eliminate the Swap Partition /dev/sda5 and give its space to /dev/sda6, then create a Swap File once you finish changing the partitions. Otherwise, if you either use Ubuntu 16.04 or older, or use Hibernation, you have to delete the Swap Partition and recreate it at the beginning of the unallocated space.

3) Once you have moved or deleted the Swap Partition, then you can move your ext4 Ubuntu partition, /dev/sda6, forward into unallocated space.

4) Once the move completes, then expand the end of the ext4 partition to occupy all remaining unused space. Thanks to heynnema https://askubuntu.com/users/4272/heynnema for the advice!


Make curl download using non-Privacy extension IPv6 address?

You can force curl to use a specific source address with the --interface option of curl, e.g.

curl --interface 2001:db8::f00:1234 http://example.com/updatedns.html


Upload all release versions of tools with juju's local (lxc) provider?

You can set this when you bootstrap juju. From the help page for that:

--series  (= )
    upload tools for supplied comma-separated series list
--upload-tools  (= false)
    upload local version of tools before bootstrapping

So if you do something like

juju bootstrap --upload-tools --series=precise,quantal,raring,saucy,trusty

it will upload the tools for those versions.


Wi-Fi Atheros QCA8171 driver not working in Ubuntu 14.04

So usually when there's a Permission denied error, it is because your account doesn't have access to that directory. In this case, that's kind of weird since it looks like you're in your own home directory, but in either case, try running sudo make instead of just make and it should fix your problem.


Install dolphin-plugins using apt-get or whatever.

Close all open instances of Dolphin, open Dolphin, click on Control, Configure Dolphin, Services, and activate the Dropbox service.

Again close Dolphin and restart it. You'll see an additional option Move to Dropbox.

If you right-click on the Dropbox icon in your panel, and click on Open Dropbox Folder, you'll see various Dropbox-associated options (boxed in a blue rectangle) in the image below:

Please note that all this is with Kubuntu 16.04 with the kubuntu-backports ppa enabled. Things may be different with other Kubuntu versions.

Edit: while you're in the Services tab of Dolphin, you'll see a Download New Services ... link. If you click on that and sort by rating, there's a Dropbox service having the second highest rating. However, I won't be trying it.


As lsblk -a shows the device, just no partitions, maybe it's the master boot record. Try and delete it.

dd if=/dev/zero of=/dev/sda bs=512 count=1

or just the MBR:

dd if=/dev/zero of=/dev/sda bs=446 count=1

But - be warned - if you pick the wrong outfile (of) you could corrupt your system!


How do you navigate without a Windows key?

ccsm has an option for that

Install CompizConfig Settings Manager (CCSM).

sudo apt-get install compizconfig-settings-manager

Alt + F2
type about:config and press Enter
change the "Key to Show the launcher" setting. (Note: Though the option is named to define showing the launcher it really defines the behavior of the key desktop wide.)

All the interaction/shortcuts are now using that key.

How can I configure Unity?


Windows 8 not recognised when installing Ubuntu 13.10

Few pieces of advice

Create a recovery media disk of Windows 8.1. In most cases 2 DVD's are required.  (Cannot emphasis this anymore)
Back up all your data, I am assuming you have access to required software.

Answers to your questions.

"Install Ubuntu along side windows" options is not presented all the time (Sorry I don't have an explanation)
Select "Something else"
There are a few good tutorial and YouTube videos explaining the process. I have listed them below.

Referances

Dual boot windows 8 and ubuntu-12-10 in uefi mode
Install Ubuntu Linux alongside windows
Installing Ubuntu on a Pre-Installed Windows 8 (64-bit) System (UEFI Supported)
Here is a YouTube video of someone installing Ubuntu along side windows 8
Here is another YouTube video on how to install Ubuntu along side windows 8


Ubuntu MATE 21.04: is it safe to remove Debian keyring GPG files?

Direct removal of files is a bad idea.
You can remove their packages - find them by
dpkg -S '/usr/share/keyrings/debian-*' | awk -F: '{print $1}' | sort -u

and then remove by
sudo apt-get purge $(dpkg -S '/usr/share/keyrings/debian-*' | awk -F: '{print $1}' | sort -u)

For example on my 18.04 LTS I see two packages debian-archive-keyring and debian-keyring. Aptitude says that they were installed as recommendations:

$ aptitude why debian-archive-keyring
i   bikeshed         Recommends ubuntu-dev-tools
i A ubuntu-dev-tools Recommends debian-archive-keyring

$ aptitude why debian-keyring
i   bikeshed         Recommends ubuntu-dev-tools
i A ubuntu-dev-tools Recommends debian-keyring

You can try to execute all above commands on your machine and then decide.
For my machine it is safe to remove these keyrings, I'll save about 35,6 MB.


`prime-select intel` doesn't power off the NVIDIA GPU

In order to run sudo tee /proc/acpi/bbswitch <<<OFF, you will first have to install bbswitch. You can do this on Ubuntu 20 with
sudo apt install bbswitch-dkms

Followed by a reboot of your system.
If it still doesn't work, try running
sudo tee /etc/modules-load.d/bbswitch.conf <<<bbswitch

And then reboot again (That modules-load line is to ensure that bbswitch is initialized on boot)
Warning: On some systems, bbswitch crashes the computer on boot, giving you a black screen. From grub, instead of pressing "enter" to select your OS, press "e" to edit the boot parameters. At the end of the line that starts with linux, append  modprobe.blacklist=bbswitch. After reboot, sudo apt remove bbswitch-dkms. You'll likely have to give up trying to use bbswitch at this point.


This is a bug and was solved by adding a PPA:

sudo add-apt-repository ppa:gnome-dvb-daemon/ppa
sudo apt-get update
sudo apt-get upgrade

After that, the user could activate the DVB-Plugin in Totem and watch TV.


Okay very nice, I fixed the issue by editing chrome setting and change force color profile to sRGB!
Described here: https://stackoverflow.com/questions/48129374/chromium-and-firefox-display-colors-differently-and-i-dont-know-which-one-is-do


For your "plymouth" line: I have had that one for as long as I can recall:

$ dmesg | grep plym
[   61.114383] init: plymouth-upstart-bridge main process ended, respawning

I do not think it is an issue.
For your "failsafe" line: I have it also, and think it is normal, but am not certain:

$ dmesg | grep failsafe
[   49.144668] init: failsafe main process (870) killed by TERM signal

I do not have the docker.io package installed, so don't know about that one. Perhaps try to re-install it.


External graphics card (eGPU) on mPCIe is not detected in Ubuntu 14.04

The following has worked:

sudo sh -c "echo 1 > /sys/bus/pci/rescan"

But first you should be sure that you can see your device through direct hardware access.

sudo lspci -H 1

worked for me and

sudo lspci -H 2

did not.


Does Thunderbird Ubuntu One contacts sync work in 11.10?

From the Service Status page at one.ubuntu.com:

  2011-11-02 Syncing of contacts is not working for some users due to server issues. On 2011-10-10 we released an update to all clients to help ease the load on the server and improve reliability of syncing. We're now working on finishing up adding additional server hardware.

As such, it is not working personally for me at the time of this writing. However, the way one would set up the contact sync is through the Ubuntu One control panel interface:


What command does Unity use to launch a program

In /usr/share/applications there will be a .desktop file for the app. This may not have the most obvious name, but you will be able to figure it out by trial and error...

Open the .desktop file and look for the first line that starts with

Exec=

After = is the command the launcher uses to start the program, so you can use it in a terminal.

You may be able to simplify the command, for example, if it is a path, but the application is in your path, you can type only the name of the application. Or, your system might even have a shortcut to it.

Examples

In libreoffice-calc.desktop I find the line

Exec=libreoffice --calc

Typing libreoffice --calc launches libreoffice calc

In python2.7.desktop I find

Exec=/usr/bin/python2.7

But I can launch it with only python because:

$ file $(which python)
/usr/bin/python: symbolic link to python2.7

In the file telegram.desktop I find

Exec=/opt/telegram/Telegram

But I can launch it only with Telegram because I have added /opt/telegram to my path:

$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/telegram:/opt/lks-indicator:/snap/bin

(See how to add directories to your path here)


Want to write command in terminal and open application

Probably best solution will be creating soft symbolic link to /usr/bin.

Just type into terminal sudo ln -s <full_path_to_matlab> /usr/bin/matlab, and thats all.

How to create a soft symbolic link


What are the .android folders and adbkey files on my computer?

If your computer has never had an Android device connected, then I don't know where those files came from.

On my computer (as I use both Android and its SDK) those files are an SSH key-pair that allow me to mark my computer as "trusted" to my phone.

SSH keys shouldn't be harmful.

If you want to verify that these are SSH keys, open ".android" in the file browser (Nautilus), right-click on "adbkey", and select Properties. The file's Type should be "PKCS#8 Personal Key in PEM format (application/pkcs8+pem)" and its Size exactly 1,704B. "adbkey.pub" should be a little over 700B.

("adbkey.pub" is unhelpfully described as a Microsoft Publisher file: I put this down to Nautilus making a guess from the extension; equally unhelpfully, the file command describes them both as "ASCII text".)

I can attach a sample copy of each file, if you want to confirm yours have the correct format.


How can I export Evolus Pencil mockups to SVG?

Overview

Turns out there is a way to do this using xsltproc, a command-line xslt-processor. The style-sheet we are going to use was developed by Robert Kosten and released on the issues tracker of the evolus Pencil project page.

Quoted from the bug report:

  I would love to have this through the UI, but until then I've written
  a small XSLT-Sheet that basically only strips everything from the
  http://www.evolus.vn/Namespace/Pencil namespace (Mostly management
  data not needed in an export anyway). The resulting file should work
  fine in Firefox (where the foreignObject tag of SVG is well
  supported), but libraries like batik (used in apache fop for example)
  will have trouble with the XHTML, XUL or XLink in it. I intend to
  extend the sheet to support at least a few of those elements I
  encounter, but I won't make promises I can't keep ;-)

  The file attached can also be found as part of my collection of tools
  (used to generate DocBook and then PDF for my projects):
  https://github.com/Robert-Kosten/de.robertkosten.tools/blob/master/xsl/ep2svg.xsl

  It is currently under GPLv3, but I'd be willing to release it under
  GPLv2 so no-one has to invoke "any later version" should anyone wish
  to include it in their software ;-)

Installation

Either download the style sheet from the link above or copy and paste the following passage into a file named ep2svg.xsl:

<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of de.robertkosten.tools. de.robertkosten.tools is
free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.
de.robertkosten.tools is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details. You should have received a copy of the GNU
General Public License along with de.robertkosten.tools. If not, see
<http://www.gnu.org/licenses/>.

I suggest calling this with:
xsltproc -o dir/ ep2svg.xsl input.ep

@author Robert Kosten
-->
<xsl:stylesheet version="1.0" extension-element-prefixes="exsl" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/2000/svg" xmlns:p="http://www.evolus.vn/Namespace/Pencil" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:exsl="http://exslt.org/common">
    <xsl:output omit-xml-declaration="yes" />
    <xsl:strip-space elements="p:Document p:Pages p:Page"/>

    <xi:include href="includes/tools.xsl" />

    <xsl:template match="/p:Document">
        <xsl:apply-templates />
    </xsl:template>

    <xsl:template match="p:Pages">
        <xsl:apply-templates />
    </xsl:template>

    <xsl:template match="p:Page">
        <exsl:document href="{p:Properties/p:Property[@name='name']}.svg" method="xml" version="1.0" encoding="utf-8" doctype-public="-//W3C//DTD SVG 1.1//EN" doctype-system="http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" media-type="image/svg+xml">
            <svg version="1.1">
                <xsl:apply-templates />
            </svg>
        </exsl:document>
    </xsl:template>

    <xsl:template match="p:Content">
        <xsl:apply-templates />
    </xsl:template>

    <xsl:template match="*[namespace-uri() != 'http://www.evolus.vn/Namespace/Pencil']">
        <xsl:copy>
            <xsl:copy-of select="@*[namespace-uri() != 'http://www.evolus.vn/Namespace/Pencil']" />
            <xsl:apply-templates />
        </xsl:copy>
    </xsl:template>

    <xsl:template match="*">
        <!-- Void -->
    </xsl:template>

</xsl:stylesheet>

Save the following script as ep2svg.sh:

#!/bin/bash

# converts evol.us Pencil mockup files to svg
# (c) 2013 Glutanimate (http://askubuntu.com/users/81372/)
# released under GNU GPL v2
# XSL source: (c) 2013 Robert Kosten (https://code.google.com/p/evoluspencil/issues/detail?id=260#c1)

XSLFILE="./ep2svg.xsl"
WORKINGDIR=$(dirname "$1")

xsltproc -o "$WORKINGDIR"/ "$XSLFILE" "$@"

Make sure to point XSLFILE to the right location.

Usage:

ep2svg.sh <mockup1.ep> <mockup2.ep> ...


Start daemon after specific samba share is mounted

How is deluge starting automatically at boot? Via Upstart?

You need to add a line to the end of the start function in /etc/init.d/mount_shares_locally :

initctl emit --no-wait mounted-samba-shares

then have deluge "start on mounted-samba-shares" in deluge's Upstart job.


error installing on via motherboard C3 CPU

From 12.04 onwards, ubuntu using PAE kernel which require PAE support of the processor.

700 MHz processor is required to run the desktop edition. Also ubuntu 12.10 require 768Mb RAM.

You can read the minimum requirement here  or in ubuntu site.

You can try with alternet cd (which is strip off version) or server edition. This will enable you to boot into text mode.


How can I use the arrow sign in my bash prompt?

You can use bash’s PROMPT_COMMAND to run a function which builds your prompt, e.g.:
PROMPT_COMMAND=build_prompt

build_prompt() {
  EXIT=$?               # save exit code of last command
  red='\[\e[0;31m\]'    # colors
  green='\[\e[0;32m\]'
  cyan='\[\e[1;36m\]'
  reset='\[\e[0m\]'
  PS1='${debian_chroot:+($debian_chroot)}'  # begin prompt

  if [ $EXIT != 0 ]; then  # add arrow color dependent on exit code
    PS1+="$red"
  else
    PS1+="$green"
  fi

  PS1+="→$reset  $cyan\w$reset \\$ " # construct rest of prompt
}

Add this code to your ~/.bashrc file and open a new terminal or run . ~/.bashrc in an existing one for the changes to take effect. Note that I added the usual \$ at the end, this prints $ normally and # if you’re root, thus preventing you from running commands as root unwittingly. The false command is a good way to test the non-zero exit code variant:

If you’re into prompt themeing you should definitely take a look at the zsh shell (package zsh), whose famous configuration framework Oh My Zsh alone comes with over hundred themes. Additionally there are many other plugins available, for example the ￼Spaceship ZSH prompt.
Links

How can I shorten my command line (bash) prompt?
Bash Prompt with Last Exit Code
Easy Bash PS1 Generator
Bash tips: Colors and formatting
What color codes can I use in my PS1 prompt?
What does "${debian_chroot:+($debian_chroot)}" do in my terminal prompt?


Can not install UBUNTU from USB or CD/drive

Prior to your edits, I thought there was something wrong with your computer but now that you mention extracted and XP disc booting without a problem, I'm pretty sure the problem's with your disc and flash drive.

You should burn the ISO image using proper utility tools to do it, instead of simply extracting the content onto the disc and burning it that way. There's a difference between the two, as burning it as an image will keep the bootloader whereas simply extracting won't (for more information). As for the bootable USB drive, do what To Do mentioned instead.

The only other explanation I can give is the MD5 checksum of the ISO being wrong in the first place (possibly an incomplete download), but you should always check it after downloading it, and after burning it to a disc to be safe.

I'm not exactly sure of which OS you're using currently (I'm guessing XP), but here are some links which I think may help:

CDBurnerXP, a freeware burner that should work on any Windows platform above 2000 SP4

How to verify integrity for Ubuntu ISO


How does Nautilus mount Windows network drives?

Assuming you've already stored all the required users and passwords on the keyring, and the keyring is accessible (it's already unlocked), you can mount on the command line with:

gvfs-mount smb://user@server/sharename

This will mount your share on ~/.gvfs for 12.04, or on /run/user/$USER/gvfs for 12.10.

If the password is not stored on the keyring, or the keyring is locked, you will be asked for the password on the console, and that's not cool for a script.

When you're done, to umount use this command:

gvfs-mount -u smb://user@server/sharename


403 Forbidden errors when trying to install tlp

First try with
apt update --fix-missing

then
apt update


How do I reorder buttons in the window-list (taskbar) via drag and drop?

According to a bug report this feature was introduced in XFCE 4.6, but removed again in XFCE 4.8 for the sake of code simplicity.

Anyways - after some long discussion it was reintroduced and is available in XFCE 4.10 which comes with Ubuntu 12.10 - it just has to be enabled:

Rightclick on an empty space of the task bar (or at the corner)
Choose "properties" in the "Window Buttons" context menu
Choose "Sorting order": "None, allow drag-and-drop"


How can I type a diameter symbol in Kubuntu Kmail?

I have found no way to use the unicode character index (2300) for ⌀ to create ⌀ in a Kmail or a LibreOffice Writer document.  I have found that the compose key can do it and easily. The compose key codes have worked in every document or environment I've tried them, including here in my browser.   The trick is to know which compose code to use.  For my system, I found my compose codes here:

/usr/share/X11/locale/en_US.UTF-8/Compose

Here is a post on Where can I find the full list of Compose combinations for my locale?

There is actually a lot in this file. You can create all kinds of characters. There is a section on Korean characters, and Greek.  Fractions are pretty intuitive but you need to use the keyboard not the keypad. Here are a couple example lines from the Compose file:

<Multi_key> <o> <o>                 : "°"   degree # DEGREE SIGN
<Multi_key> <C> <equal>             : "€"   EuroSign # EURO SIGN

As you can see there are descriptions of the characters so you can easily search the file to find what you need - it's a large file (6146 lines).

Also, listed in Discover (Kubuntu's Software Center) is an application called Character that will insert special characters.

So, I'm <Multi_key> <colon> <parenright> ☺


No VirtualBox.so file while running VBox

It looks like you might need to install a package that provides libGL.so.1. The following might help guide you to the correct package:

Ubuntu package contents search


New User Account has no password even sudo passwd accountname

It looks like username belongs to the nopasswdlogin group, which means that only the name is required to log in, regardless of whether a password is actually set for the account (note: this is not the same as autologin - which bypasses the login screen altogether).

You should be able to just remove the user from the group e.g. with terminal command

sudo gpasswd --delete username nopasswdlogin


The short answer.

The default Desktop Environment that installed with Ubuntu is Unity.  Unity as I said, is the default desktop environment used in Ubuntu. It is compatible with the GTK platform used by Gnome. It was designed to be used for netbooks, but is developed by Canonical to be useful on all types of devices.

But there are a few desktop environments that you can install.  XFCD, LXDE. KDE, Gnome. and others.


TexLive can't find wrapfig.sty while package is installed

wrapfig package is a part of texlive-latex-extra. You must install it:

sudo apt-get install texlive-latex-extra

Then, to use wrapfig, you must first add this to the preamble:

\usepackage{wrapfig}


How to remake image of extracted files in usb?

You can use dd for this. Make sure that your USB device is recognized
  by the system as /dev/sdb. You should make sure that this is the case
  before executing any of the commands below, because if you get the
  device name wrong, the second command below will end up overwriting
  the wrong device and destroying your data.

  To make an image from your existing USB setup and write it to the file
  usb-image.iso:

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

sudo dd if=/dev/sdb of=usb-image.iso

Again it is EXTREMELY IMPORTANT that you make sure you're using the correct device name before executing the command above. Otherwise you run the risk of clobbering the data on some other disk device that may be critical to your system.

Source: Ubuntu Forums


Cannot set LD_LIBRARY_PATH in /etc/profile.d

From Ubuntu wiki help page

  Note: You can only set this environment variable inside an interactive
  shell. [ie a terminal ] Since Ubuntu 9.04 Jaunty Jackalope, LD_LIBRARY_PATH cannot be
  set in $HOME/.profile, /etc/profile, nor /etc/environment files. You
  must use /etc/ld.so.conf.d/*.conf configuration files. See Launchpad
  bug #366728 for more information.

How to fix it:

cd /etc/ld.so.conf.d

Make a file with the .conf extension here

sudo nano cuda.conf

Add the paths to it as two lines

/usr/local/cuda-7.5/lib64
/usr/lib/nvidia-361

Save and exit. Check with ls -l that the file has the same ownership and permissions as others in the directory, they should be:

-rw-r--r-- 1 root root

Then run

ldconfig

This doesn't set the env variable, but includes the libraries appropriately so CUDA works


I've solved the problem adding test.o in OBJECT in the makefile in src/backend/tcop.

An istance can be

subdir = src/backend/tcop
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global

OBJS= dest.o fastpath.o postgres.o pquery.o utility.o test.o

ifneq (,$(filter $(PORTNAME),cygwin win32))
override CPPFLAGS += -DWIN32_STACK_RLIMIT=$(WIN32_STACK_RLIMIT)
endif

include $(top_srcdir)/src/backend/common.mk


Installing Ubuntu 12.04 LTS with a blank dvd/cd/disk problems

If you look on your disc, does it contain your downloaded file ?

What you need to do is follow the instructions on http://www.ubuntu.com/download/desktop/burn-a-dvd-on-windows

For information on how to install Ubuntu alongside Windows, called dual booting following the instructions on https://help.ubuntu.com/community/WindowsDualBoot


Best practice:
use apt-get or aptitude or Ubuntu Software Center.
Is there a difference?
Yes
The actual installation/uninstallation is always done by dpkg. Apt and other utilities ask dpkg to do its job.
dpkg can not handle dependencies automatically. You either figure out dependencies, fetch all those packages and give them to dpkg all at once, or deal with the unmet dependencies mess. Apt handles this, and that is what I believe its primary use. Apt also brings in some fancy stuff. Look at its conf files for the full details.
Barring the dependency handling, the remove commands are equivalent. The only difference is apt refuses to remove a package that others depend on, without removing them, and it can be set up to remove automatically the packages that no one else needs as a dependency.


Is Radeon Dynamic Power Management Enabled By Default By Now?

Yes, Dynamic Power Management is enabled by default in Ubuntu 14.04. It was actually enabled upstream in Linux 3.13.


The files you want to keep are not the old Ubuntu programs. These would be replaced and should be replaced when you upgrade. The files you want to keep are any personal - sensitive - or important - data. All these personal files rely in you /home directory. During the upgrade procedure they will not be deleted. Only if you specify this option (delete everything). But a backup is always a good practice in case that something goes wrong.

You can read here on how you can create a second partition (shrink the big one you have now with gparted) and create another one and use it as a backup partition. It is a very well tested procedure, if you make a mistake I cannot say that. You have to be careful and always shrink from the end to the beginning. Not the opposite.

Then read here on how you can upgrade. Multiple answers there, pick the one you like and what seems to you the easiest.


Command shows up under 'which' but system can't find it

It's because you're using sudo, which resets your environment to use its own secure path. You can tell it to use your normal path like this:

sudo env PATH=$PATH pacstrap


2x USB C Thunderbolt ports not being recognized on Lenovo 730S

With Ubuntu 18.04.3, I've checked using the 5.0 Linux kernel and there still does not appear to be a driver stack in place for thunderbolt devices. I tested with an external TB3 drive. You can verify that the device is detected by Intel's bus driver by typing boltctl. You can also authorize the device with that utility. If the full stack was in place, it should result in a block device becoming available. The boltctl utility provides a pci sysfs path where you can probe the device for information. That also works fine. Perhaps Linux TB3 peripheral support will be included with USB 4?


I don't know what's the problem or why it happens, but that worked for me.

pulseaudio --kill
pulseaudio --start


How to change the Xfce4 default window manager?

The easiest way I found to permanently change the default window manager is:

Download your desired WM.
Then go: system tools > preferences > startup applications.
Then click "add".
If you wanted, for example, to change your default WM to metacity, at "name" put "metacity" and at "command" put "metacity --replace". Click "add".
Log out > log in.


How do I get a TP-LINK WN723N wireless USB adapter working?

Its probably a bad signal, or signal interference. As far as plug and play adapters for linux it doesn't get much simpler than the Tp link; I fiddled around with it for like an hour just to figure out it was already installed, I didn't expect it to be so easy. I too lost connection many many times but it was mainly due to interference as the problem was solved when I moved to a different residence,, how short a time frame you talking about and does the amount of time vary. Do you have a television or microwave between your computer and the source signal?


Laggy and buggy Dash performance could be caused by a either a buggy upgrade from an earlier Ubuntu release or by installing Ubuntu 17.10 when it was still in alpha or beta and then upgrading it after Ubuntu 17.10 was officially released.


How can I change the standard files in nautilus?

You might use xdg-user-dirs to set up user directories.
http://freedesktop.org/wiki/Software/xdg-user-dirs

Your directories are stored in ~/.config/user-dirs.dirs

xdg-user-dirs man page is readable at http://www.unix.com/man-page/OpenSolaris/1/xdg-user-dir/


Not really an emulator, but you can run an Android OS in a virtual machine such as VirtualBox.  Depending what your end goal is, this may be all you need.

You can download an Android ISO from here:

http://www.android-x86.org/download

Instructions can be found here:

https://visualgdb.com/tutorials/android/virtualbox/


I ssh into my desktop and issue the x11vnc command.

I then can vnc into my current desktop.


Screen flickering on Ubuntu 16.4 while inactivity

I finally found a solution and I thought I share it in case somebody is experiencing the same issue. I downgraded the kernel to v3.19 and now everything seem to work fine. Still have no idea what the actual problem was though.


Not able to disable the cups service using boot-up manager

To disable the cups service via upstart, try running the following as root:

echo "manual" > /etc/init/cups.override

You can become root by running: sudo -s or su

Taken from the Upstart Cookbook

This stanza will tell Upstart to ignore the start on / stop on stanzas. It is useful for keeping the logic and capability of a job on the system while not having it automatically start at boot-up.

Example:

manual


Ubuntu 20.04 - USB-C to DisplayPort and issues with kernel log

Does your laptop's usb-c port support display output because many laptop have usb-c port  but doesn't support display output
Give more information about ur laptop


How do I add a PPA in a libertine container?

I suspect it might not be possible to do this yet.

From going through libertine-container-manager --help I think the command should be

libertine-container-manager configure -a "ppa:ubuntuhandbook1/corebird" -i vivid

The equivalent of apt-get update is just

libertine-container-manager update -i vivid

You'll find this and more with libertine-container-manager --help.

However when I execute the first command I get the following error:

phablet@ubuntu-phablet:~$ libertine-container-manager configure -a "ppa:ubuntuhandbook1/corebird" -i vivid
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 321, in get_ppa_info
    ret = get_ppa_info_from_lp(user, ppa)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 91, in get_ppa_info_from_lp
    return get_info_from_lp(lp_url)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 87, in get_info_from_lp
    return _get_https_content_py3(lp_url)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 101, in _get_https_content_py3
    lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
  File "/usr/lib/python3.4/urllib/request.py", line 151, in urlopen
    capath=capath)
  File "/usr/lib/python3.4/ssl.py", line 437, in create_default_context
    context.load_verify_locations(cafile, capath, cadata)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 119, in <module>
    shortcut = shortcut_handler(line)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 837, in shortcut_handler
    ret = factory(shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 382, in shortcut_handler
    return PPAShortcutHandler(shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 346, in __init__
    info = get_ppa_info(self.shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 333, in get_ppa_info
    _get_suggested_ppa_message(user, ppa))
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 292, in _get_suggested_ppa_message
    lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 87, in get_info_from_lp
    return _get_https_content_py3(lp_url)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 101, in _get_https_content_py3
    lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
  File "/usr/lib/python3.4/urllib/request.py", line 151, in urlopen
    capath=capath)
  File "/usr/lib/python3.4/ssl.py", line 437, in create_default_context
    context.load_verify_locations(cafile, capath, cadata)
FileNotFoundError: [Errno 2] No such file or directory


Galaxy Nexus 4 Ubuntu Touch CDMA Questions

I've recently been researching the Ubuntu Touch operating system and have stumbled upon answers to all your questions.

First: "does ubuntu touch work yet with CDMA?"

Well this is an interesting question that I was wondering myself as I am a Verizon user and the answer is quite simply, No. On a post by Ricardo Salveti, Tony Espy who is an employee at the company which owns Ubuntu made a comment in which he stated,

  There is currently no support for CDMA devices in Touch, and it's not
  on our current roadmap.

  That said merge proposals are always welcome if someone in the
  community wants to take this on...

This shooting down our hopes, yet the post this comment was upon detailed how to enable 3G data, but the method may not work on CDMA. (I will test this myself when I get a Galaxy Nexus using CDMA code named toro)

Second: updates from terminal

I have found that currently there is a way to updating without reflashing. On the wikipedia page for Ubuntu Touch, there is a field labeled Update method which reads "Click Update Manager, Image Based Updates" and I have found that others say command line works just as well.

Third: sdcard

You must understand that the Galaxy Nexus and Nexus 4 are two different devices. Neither of which have an SD card slot.

Fourth: python3

The Ubuntu Touch operating system is a full operating system with a codebase similar to Ubuntu which means the Debian APT system is implemented, yet it is not identical as it does not use Xorg and runs on an ARM processor. These facts as well as the launchpad page for python3 show that it is available on the mobile operating system.

Fifth: mako

The Nexus 4 code named mako only shipped with GSM compatibility. The Galaxy Nexus is sold for both GSM and CDMA. The Galaxy Nexus for CDMA was code named toro for Verizon and toroplus for Sprint. Yet Ubuntu Touch is said to be released in April of 2014, this year. This fact gives me hope that CDMA support may be developed in the coming months.

Conclusion:

This question was answered for the purpose of those researching Ubuntu Touch OS and Serves not for helping you chose what to buy seeing as its been so ling since you posted this, but as a reference.

Sources:

http://en.wikipedia.org/wiki/Galaxy_Nexus

http://en.wikipedia.org/wiki/Nexus_4

http://en.wikipedia.org/wiki/Ubuntu_Phone

https://plus.google.com/u/0/+RicardoSalveti/posts/3o1tjYo9Ghx

How to update my already installed Ubuntu Touch image?


I've never lost my VirtualBox guest OSs or settings when manually upgrading Oracle VirtualBox by manually uninstalling the old version and then downloading the latest version of Oracle VirtualBox and manually installing it by following the steps listed below. Your existing VirtualBox guest OS(s) will not be deleted if the version of Oracle VirtualBox is upgraded. Make sure that you also upgrade the Oracle VM VirtualBox Extension Pack so that it is the same version as whatever version of VirtualBox that is installed.

Show the name of the installed virtualbox package.

dpkg -l | grep virtualbox | grep ii

The results of this command should be something like virtualbox-5.0
Uninstall the old version of VirtualBox

sudo dpkg -r virtualbox-5.0 # match the version of virtualbox with the results of step 1.

Download the latest version of Oracle VirtualBox for your Ubuntu release and Oracle VM VirtualBox Extension Pack from the official Oracle VirtualBox website.
You might want to compare the SHA256 checksum that is provided on the download webpage to verify the integrity of the downloaded packages.
Change directories using cd to the directory containing the Oracle VirtualBox .deb file that you downloaded. In your question this file is named:
virtualbox-5.1_5.1.22-115126~Ubuntu~trusty_amd64.deb
Install the latest version of Oracle VirtualBox for your Ubuntu release.

sudo dpkg -i virtualbox-5.1_5.1.22-115126~Ubuntu~trusty_amd64.deb


"Continue" button not showing while installing Ubuntu

use the TAB key to get to the next button, then press enter


To find if all text files are unique:

cat *.txt | wc -l ; cat *.txt | sort -u | wc -l

If the lines match they are unique.

To find what duplicates are present:

cat *.txt | sort | uniq -d

Here is a more complete scenario:
I have songs downloaded. When I download new songs I want to ensure I am not repeating.
So I would do

find . -name *.txt | sort -u > catalog.music

Now suppose I find a playlist which I would later download. And this play list is in downloadNew.txt .
I would do

grep -F -f downloadNew.txt catalog.music

If search is unsuccessfull  downloadNew.txt is unique, else duplicates are present .


Adding an user to www-data group not working

Maybe you need to logout/log back in first? You can check this by executing groups once again after loggin in.


How to disable nautilus from handling the desktop?

I found that running gsettings set org.gnome.desktop.background show-desktop-icons false instantly disabled the desktop icons.


How to mount a WD500 gb external drive on ubuntu 13.10 running on trial through pen drive

follow below steps :
find device (50GB WD) device file i.e. /dev/sdx1 where x is a,b,c,d,...
type command in terminal

$ fdisk -l

(find your device mount path)
Now need to mount on directory

$ mount /dev/sdx1 /mnt

(here i want to mount my drive at /mnt But you can specified your location y replace it)
on successful it will mounted on /mnt.

AS you purchase new External Drive, it might be not formated OR made any partition table
If it so Please launch GPated Software and make Partition table.

Hope it will help you


The format for mounting cifs shares via /etc/fstab is:

//servername/sharename  /media/windowsshare  cifs  username=msusername,password=mspassword,iocharset=utf8,sec=ntlm  0  0

There is a article about mounting cifs in linux on wiki.ubuntu.com: https://wiki.ubuntu.com/MountWindowsSharesPermanently


gtk-WARNING **: cannot open display while running command-line-only script

Try setting the DISPLAY variable:

export DISPLAY=localhost:10.0

And then execute your commands.


Can't get dual boot to work with windows 7

Create your Ubuntu partitions manually and install Ubuntu
From a liveCD, run Boot-Repair's Recommended Repair. If any problem, indicate the URL that will appear.


bq Ubuntu phone with congstar prepaid surf stick

In Settings / Network you can enable/disable mobile data. You can also switch on/off data roaming and the speed 2G/3G there.


Ripping MP3s in Rhythmbox Ubuntu 12.10 (64 bit)?

Have a look at mc4man's post at http://ubuntuforums.org/showthread.php?t=2080739. Looks like we need to use a custom setting. Worked for me.


How to enable hibernate option in Ubuntu 20.04?

I assume you have a swap partition ready to use.

Install pm-utils and hibernate:

sudo apt install pm-utils hibernate

Then:

cat /sys/power/state

You should see:

freeze mem disk

Then run:

grep swap /etc/fstab

Copy the UUID value. You will need it later. Then run:

sudo nano /etc/default/grub

(or your favourite editor if not nano). Change the line that says

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

so that it instead says:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=YOUR_VALUE"

Then, after saving the file and quitting the text editor, run:

sudo update-grub

To test it, run:

sudo systemctl hibernate

Right now no GNOME extension is working to have the hibernate option back in the system menu.

Tested on Ubuntu 20.04 Kernel 5.4.0-31 on my Lenovo Thinkpad X1 Carbon.


How to install the XDS package on Ubuntu

It is a stand alone executable file, just run these commands

wget ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-INTEL64_Linux_x86_64.tar.gz

Now extract it

tar xvzf XDS-INTEL64_Linux_x86_64.tar.gz

This will create a folder called XDS-INTEL64_Linux_x86_64 in your /home, in here you will find all the executables, just call them in a terminal, for example

cd XDS-INTEL64_Linux_x86_64
./xds

To install the xds veiwer GUI use these steps

wget downloads.sourceforge.net/project/xds-viewer/xds-viewer/xds-viewer-0.6/xds-viewer-0.6?r=http%3A%2F%2Fxds-viewer.sourceforge.net%2F&ts=1459522373&use_mirror=iweb
chmod +x xds-viewer-0.6?r=http%3A%2F%2Fxds-viewer.sourceforge.net%2F
./xds-viewer-0.6?r=http%3A%2F%2Fxds-viewer.sourceforge.net%2F

You can find the file xds-viewer-0.6?r=http%3A%2F%2Fxds-viewer.sourceforge.net%2F in your /home directory, feel free to rename it what ever you like.

Tested on 15.10


Uploading an HTML5 app to the Software Center


AlexGreg suggested a reinstall...at first I did just that with synaptic, with no joy.  But doing a "complete removal" in synaptic, then installing the package, did work.


Will Ubuntu 20.04 lts support my Z590 mother board?

I solved the issue.
It seems that there are extra steps that finally make my new computer boot successfully. Here is how I solved this issue completely (I hope).

buy a new power supply. I bet the original one is defective which may explain it shuts down immediately after post/grub every time.

In the Grub mode, I modified the argument by adding nomodeset at the end of the lien of linux argument.

One may search for nomodeset via google to see related information. As a matter of fact, the safe graphic mode for installation includes nomodeset.
See reference: Black screen after installation of Ubuntu 18.04

After I successfully installed (using safe graphic mode) and use nomodeset argument when boot in, Wifi and Bluetooth cannot use. And I donot want to use nomodeset every time.  Fortunately I have Ethernet cable. I follow this link https://forums.linuxmint.com/viewtopic.php?t=346412 and install linux-oem-20.04b via sudo apt install linux-oem-20.04b in the terminal.

From install to complete:

in Grub mode use safe graphic mode to install.

When boot into the installed Ubuntu, add nomodeset.

Open terminal and enter sudo apt install linux-oem-20.04b.


photofilmstrip

The version in Software Center is v1.4.1.  v1.5 is available from the authors website
Looking at Sourceforge - it is actively being updated - currently v1.99, so expect v2.0 soon.
It can create photofilms via its GUI.
It can create photofiles via command line as well -
photofilmstrip-cli /?

Why do I like it? - its very simple - drag and drop and click render.  Simple as that.


(terminology) init.d script = LSB Init Script = System V Init script?

This is a system V init script.  The LSB header is just a comment block that sysvinit ignores, but provides the information that upstart/systemd need to figure out when they should run it.


I have found the next information about it:

[How To] From Ubuntu to Android - Meizu 5 Pro
http://forum.xda-developers.com/meizu-pro-5/how-to/how-to-ubuntu-to-android-meizu-5-pro-t3395995/

[How To] From Android to Ubuntu - Meizu 5 Pro
http://forum.xda-developers.com/meizu-pro-5/how-to/how-to-android-to-ubuntu-meizu-5-pro-t3396191

Pro 5 ubuntu edition system dump and flashing Flyme on it...
http://forum.xda-developers.com/meizu-pro-5/help/pro-5-ubuntu-edition-dump-flashing-flyme-t3384860

I hope they were helpful for you.


How to access "python3.6/site-packages" directory?

For people who want to know the path to a script file that throws an error, the path is shown in the error log right in the console.


Go for Lubuntu 14.04 - It is the lightest one with the support until 2019. Although it doesn't come with the software you mentioned you may install Open Office, flash and Chrome after the system installation.

Xubuntu may be the option, but needs 1gb RAM to run apps smoothly.

Xubuntu system requirements


Adobe Flash Player is not working in Google Chrome

The problem is that Google Chrome (but not Chromium, the basis, and almost an exact replica of Chrome) comes with it's own Flash plugin. I don't know if that stops it from using other plugins, but im guessing so, unless you edit the plugin path.

Try Chromium, which is available through the repos and is almost identical to Chrome, and test to see if that works OK. If not, reinstall the flashplugin-installer package, to reinstall the plugin


device not accepting address 36, error -71 after installing kernel 3.10rc6

I know that the answer is too late, but late answer is better than none
I had the same problem, and i found the answer on the following link (https://stackoverflow.com/questions/9544557/debian-device-descriptor-read-64-error-71)

The problem is mostly due to a hardware issue.

that's the linux error code documentation, too:

  -EPROTO (*, **)       a) bitstuff error
                        b) no response packet received within the
                           prescribed bus turn-around time
                        c) unknown USB error


Solved by setting Firefox Developer Edition as the default browser from the Firefox preferences. This seems to don't work from the Ubuntu 20.4 settings!


Cannot Dual Boot Ubuntu and Windows from Windows 10

The NVIDIA drivers included on the disc are responsible for making the system freeze. In order to mitigate this, we will need to disable them momentarily.

Highlight the 'Try Ubuntu without installing' option and press the E key. Add nouveau.modeset=0, I usually add it before quiet splash. Then press F10 to boot the disc. Ubuntu should respond as normal, and you should be able to install.

Once you have installed and rebooted, PLEASE make sure that the first thing you do after booting up, install your NVIDIA drivers. Search for the Additional Drivers menu by pressing the Super key (it's the Windows key), and searching for it.

Select the NVIDIA driver that suits you, that would usually be the proprietary, tested driver for your system.

Enter your password, and once it is finished installing, reboot and you should be good to go.


Ubuntu UFW firewall always block port first time

Do you have ssh allowed? Do sudo ufw allow ssh. You can also check to make sure ssh is in the app list. Do sudo ufw app list.

Also, make sure the open ssh profile is 22 and not 1982. That could be why your being blocked. Check it with sudo ufw app info OpenSSH.

If you still are experiencing the same problems, you may want to reset ufw and rebuild it. I would try to narrow it down and isolate any issues one step at a time. Start with ssh first and see if you can get that working. Then proceed to do the others.

So, do sudo ufw reset and then sudo ufw enable. Then start adding your rules with sudo ufw allow 1982/tcp and keep building from there.


How to change select-by-word behavior in Gnome Terminal 3.14.2

This feature was removed in GNOME 3.14 and will be back with GNOME 3.16. The latter, I can confirm, I use GNOME 3.16

% dconf list /org/gnome/terminal/legacy/profiles:/:4d4a684a-7388-40db-adf1-6ec6b6f9043d/
foreground-color
visible-name
palette
word-char-exceptions
custom-command
default-size-columns
default-size-rows
use-system-font
use-custom-command
use-custom-default-size
use-theme-colors
use-transparent-background
font
scrollback-unlimited
bold-color-same-as-fg
bold-color
background-color
background-transparency-percent
scrollbar-policy

Source


Go to your BIOS settings (when your computer starts up and shows a key to go to your BIOS settings) go to the boot order (or anything like that) and put CD/DVD Drive on top.

I don't think so that when you format your hard drive your UEFI will be gone. I guess it stays inside your computer not your hard disk. I'm sorry if its gone. Please make sure you look on internet to make sure your UEFI disappears.

For formatting your hard drive with out booting, use an external hard drive case, if you don't have one, boot from your live ubuntu cd (when you boot, click try ubuntu, it won't install on your hard drive) use gparted (application) and format/delete your partitions.

Hope this helps.


Solved. With help from @sagarchalise and from this question
problem-after-auto-mount-ntfs-drives-using-pysdm.


Ubuntu 20.04 not loading login components

The problem was that I've not disconected the 2nd screen and the login page was showing there.


Linux console blinking rate goes crazy - as if is accepting repeated key inputs

So it appears that it has to do with the 'video' parameter of the kernel boot command line. The issue goes away if I don't have the 'video' parameter listed. Go figure. I am not going to chase down why; can live without specifying the 'video' parameter.


I spent quite some time because of this too (exactly the same problem). However, it works if you run the installer as root. I believe the issue is related to an incompatibility between Qt (the installer itself was built with Qt) and the new GTK. There are several error messages in the terminal if you run it normally, but I couldn't catch them due to the system instability after the installer is running.


I have migrated it under deepin .

It should be workable under ubuntu 16.04. (kernel after 4.0)
The source code is under https://github.com/linuxdeepin/deepin-rlocate

deepin 15.4 would pre-installed rlocate as its file-manager's search backend plugin.