The Solution
Ubuntu 11.04 is no longer supported, ever since April 28, 2011. See this page for details. When a release is not supported anymore we call it EoL (end-of-life).
At least currently, Wubi cannot automatically download the files needed to install an EoL release. You must provide all the necessary files. (A 404, or File Not Found, error will occur otherwise.)
To do this:
If you have just Wubi.exe, saved to your hard drive:
Download the ISO image for the release. Make sure to get the one for the right architecture. If you have a 64-bit machine you can use the amd64 (64-bit) or i386 (32-bit) version. If you have a 32-bit machine you can only use the i386 version.
ISO images for old releases can be downloaded at http://old-releases.ubuntu.com/releases/.
Save the ISO image to your hard disk. Then there are three ways you can proceed:

Make sure the downloaded ISO image it's in the same folder that contains Wubi.exe. Then run Wubi.exe again.

Alternatively, if you have an archive manager for Windows like 7-zip that is capable of extracting ISO images as though they are compressed archives (even though they really aren't), you can use that to extract the ISO image into its own folder with nothing else in it. Then find Wubi.exe in that folder (it's one of the files that was extracted) and run that.

If you want, you also have the option of burning the ISO to a CD/DVD or writing it to a USB flash drive. That will work, and on rare occasion might make sense if you're having a lot of trouble getting Wubi to find your downloaded ISO. But generally this way is harder and takes longer.

If you're running Wubi.exe from an Ubuntu CD/DVD or USB flash drive that you've burned or written from an Ubuntu ISO:
Wubi only gets to the point where the error occurs after checking to make sure the necessary files for installation aren't already present and usable. So they are either not present, or one or more of them is corrupted.
Either way, there's two causes: either the ISO is corrupted, or the burn/write was bad (or modified afterwards). You can find out which by MD5 testing the ISO. Then rewrite it to the USB drive, burn it to a new disc, or (if the ISO is what's bad) download the ISO again.
(And then you can use one of the techniques described above, which are faster than having to make a disc or write to a USB drive.)
If you're running Wubi.exe from a virtual drive mounted from an Ubuntu ISO:
Some programs exist to mount ISO images in Windows as virtual drives. This is a somewhat popular way to install Wubi. If you're doing this and getting the error, then the same problem is happening as above. Since there's no actual physical Ubuntu disk, that means the ISO is bad. (Or that there's some problem with your drive virtualization software.)
The Caveat (and better solution, really)
When Ubuntu releases are EoL, you really shouldn't use them. You can't get as good support, the software on them is old, and most importantly, newly discovered bugs are not fixed. That means that there are lots of security bugs that are discovered and fixed only in supported releases. Users of EoL releases remain vulnerable. So it is actually dangerous to continue using an EoL release.
If you choose to continue using an EoL release of Ubuntu, we will respect that, but we may not be able to help you with problems (as most of us have moved on), and it's important you understand the disadvantages and risks.
Currently supported Ubuntu releases are 10.04.4 LTS, 11.10, 12.04.1 LTS, and 12.10. You can get them all here. Both ISO images and Wubi.exe installers are available for each supported release. This is highly recommended!
Technically, 8.04.4 LTS is also supported, but only for limited server use, which doesn't include GUI, community-community packages, or Wubi.
If you can't decide which version to use, it's usually best to go for the latest release (as most people do) or the latest LTS release.
The Analysis
The Traceback (most recent call last) line means this is a crash, which is a type of bug. Therefore, as Jorge Castro says, you should report this as a bug (against the Wubi project on Launchpad).
However, the fundamental problem here would probably not be considered a bug, and you can solve it pretty easily. See above for solutions, or below for an explanation.
They key to understanding what's going on lies in the output just before the crash:
12-27 15:15 DEBUG  CommonBackend: Searching for local ISO
12-27 15:15 DEBUG  CommonBackend: Could not find any ISO or CD, downloading one now
12-27 15:15 DEBUG  TaskList: New task get_metalink
12-27 15:15 DEBUG  TaskList: ### Running get_metalink...
12-27 15:15 DEBUG  downloader: downloading http://releases.ubuntu.com/11.04/ubuntu-11.04-desktop-amd64.metalink > G:\ubuntu\install
12-27 15:15 DEBUG  downloader: Download start filename=G:\ubuntu\install\ubuntu-11.04-desktop-amd64.metalink, url=http://releases.ubuntu.com/11.04/ubuntu-11.04-desktop-amd64.metalink, basename=ubuntu-11.04-desktop-amd64.metalink, length=28363, text=None
12-27 15:15 DEBUG  downloader: download finished (read 28363 bytes)
12-27 15:15 DEBUG  downloader: downloading http://releases.ubuntu.com/11.04/MD5SUMS-metalink > G:\ubuntu\install
12-27 15:15 ERROR  TaskList: [Errno 14] HTTP Error 404: Not Found

First, Wubi tries to find an Ubuntu ISO image on your computer. You don't have one--you probably just downloaded Wubi.exe (which is ordinarily a perfectly good thing to do). Then Wubi tries to download the ISO.
It connects to the http://releases.ubuntu.com server. But Ubuntu 11.04 is no longer supported--it is an end-of-life release. EoL releases are stored on a different server, accessible at http://old-releases.ubuntu.com. Some data on the releases server will redirect to the old-releases server automatically, but most will not; in particular, trying to download files that are actually part of an old distribution will fail. So Wubi downloads the initial .metalink file successfully but fails to download the first file that's part of Ubuntu 11.04 (which happens to be MD5SUMS-metalink).
This also explains why you can solve this by providing the ISO image yourself.


SSH to your server and see what's up with that Desktop.
Something like this:

stat /home/yourname/Desktop

Here is mine:

$ stat /home/mbiber/Desktop/
  File: ‘Desktop/’
  Size: 4096        Blocks: 8          IO Block: 4096   directory
Device: 802h/2050d  Inode: 1572915     Links: 4
Access: (0755/drwxr-xr-x)  Uid: ( 1000/   marin)   Gid: ( 1000/   marin)
Access: 2014-10-24 18:49:19.090849945 +0200
Modify: 2014-10-23 17:55:12.502627455 +0200
Change: 2014-10-23 17:55:12.502627455 +0200
 Birth: -

Main thing is that line which starts with Access should contain 'd' in first parenthesis:

Access: (0755/drwxr-xr-x) Uid: ( 1000/ marin) Gid: ( 1000/ marin)


How to backup the data which can't be accessible?

You either don't have permission to read the old data or permission (or the correct mount options) to write to wherever you're trying to rescue this data to.

The simplest method here would be to just AltF2 and run pkexec nautilus. That should give you root access to everything and then you can sort the permissions out when you've restored that data somewhere.

If you just can't write to the place you're trying to backup, open a terminal and run mount to see how it's mounted. If it's got ro instead of rw in its mount options, there's the problem. I don't know the specifics but you'll need to run something like:

sudo mount -o remount,rw /dev/sdb1

Obviously, you'll need to change that to the applicable device (based on the output of mount).


14.04 nvidia dual display (external+laptop) stretched display, offset desktop

Had the same problem on 16.04 and was finally able to solve it today.

According to NVIDIA, its because the built in display is connected to intel iGPU.
https://devtalk.nvidia.com/default/topic/807239/nvidia-server-setting-utility-doesn-t-see-laptop-screen/

Which basically result in Nvidia x server has no control over your built in monitor.

To solve this, switch graphic mode from MShybrid to discrete in BIOS setting, which can force the built in monitor to be driven by you discrete GPU, and x server will works correctly to recognize both build in and external display.


Installation of Ubuntu 18.04 on an Acer with UEFI - grub installation doesn't work

I had a similar problem on this dell inspiron 11 3162 that I am using. I was successful in the end after selecting the LVM option during the installation process. I have now managed to install and run several distros and have settled on Kubuntu 18.04.

Hope that it helps.

DJH


It seems all the settings has been moved to the regional settings screen. I use gnome shell, and you can find everything under Region & Language / Input Sources settings.


Can't connect to wifi using a 64 char pw

According to the 802.11i specification:

  A pass-phrase is a sequence of between 8 and 63 ASCII-encoded
  characters. The limit of 63 comes from the desire to distinguish
  between a pass-phrase and a PSK displayed as 64 hexadecimal
  characters.

If the password is hexadecimal, it will accept 64 characters, else it will accept 63. It's the standard. Are you sure of the type of password of the wireless network. I think that it will be 64 hex characters.

Why is the WPA2-PSK key length limited to 63 characters?


getting an error: relink message when doing a make install for openldap

I was able to fix it using:

-D_GNU_SOURCE

Along with -fPIC for CFLAGS and CPPFLAGS


Wikipedia: https://en.wikipedia.org/wiki/Geode_(processor)

The LX 800 states that it has 500Mhz. A Ubuntu desktop needs 700Mhz to run.

Use Ubuntu Server or another distrio instead.

(It pays to use LiveCD's!)


'./configure: no such file or directory' when I try to install firefox from tar.bz2 file

It has a binary file called firefox. Double click to open it or type ./firefox in terminal. It's precompiled. It doesn't need to be installed.


using screen command to run a multiprocessing python script hangs

the problem was the way i ran the script it had nothing to do with the screen command or multiprocessing. i wanted to have all the output in a text file so i used this

python mpscript 2>&1 | tee sp1m-output.txt

apparently the piping didn't work properly and caused this.


how to run a function as root in shell script

Test the return value of gksudo:

if ! gksudo -m "Input Password" clear ; then
    echo Bad password
    exit 1
fi


I asked on Xampp forum and was just told:

  Xampp does not activate MySQL logging. See here how to enable
  logs.


Polarr Photo Editor will not install 18.04

You may be affected by this bug. There are a couple workarounds listed in the comments to the bug that may or may not help in your specific situation. As an alternative you might be more successful installing Polarr Photo Editor via this page and the Desktop Store. The latter approach worked for me.


How to remove separate /boot partition on UEFI system?

This answer is a good starting point, but it's not sufficient on UEFI systems.

Here's a step-by-step guide which worked for me.

This answer assumes following partition names:

Device      Purpose
-------------------------
/dev/sda2   EFI partition
/dev/sda5   /boot
/dev/sda6   /

A bootable media (live USB etc.) with Ubuntu or some other Linux distribution is required. Make backups before following these steps.

Boot from Ubuntu media and open Terminal (Ctrl+Alt+T). Become root:

sudo su

Mount filesystems of /, /boot and the EFI partition:

cd /mnt
mkdir efi boot os
mount /dev/sda2 efi
mount /dev/sda5 boot
mount /dev/sda6 os

Copy contents of the /boot partition into /boot directory on / partition:

cp -r boot/* os/boot

Prevent Ubuntu from mounting /boot automatically. Also take note of root partition's UUID. Open /etc/fstab in your preferred editor:

gedit os/etc/fstab

Here's what mine looked like (save for comments):

UUID=df89aab6-941d-4ffa-9681-e16fc94641d3 /               ext4    errors=remount-ro 0       1
UUID=f7c32b17-a2f1-4eb3-a8e7-414b6a228a72 /boot           ext4    defaults        0       2
UUID=2252-1B80  /boot/efi       vfat    umask=0077      0       1
UUID=a80bb662-d531-408b-bc23-b47f28c44ec4 /home           ext4    defaults        0       2
/swapfile   none    swap    sw  0   0

I have commented out the second line which mounts /boot. I have also copied UUID of / partition, we'll need that in a moment.
Update GRUB's configuration on the EFI partition. This step is crucial on UEFI systems.

cd /mnt/efi/EFI/ubuntu
cp grub.cfg grub.cfg.bak
gedit grub.cfg

My grub.cfg looked like this:

search.fs_uuid f7c32b17-a2f1-4eb3-a8e7-414b6a228a72 root hd1,gpt5
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

I had to update: 1. the UUID, 2. the partition number and 3. the prefix. Modified file looks like this:

search.fs_uuid df89aab6-941d-4ffa-9681-e16fc94641d3 root hd1,gpt6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

Note that it's the same UUID I got from /etc/fstab and I had to prepent /boot to the prefix.
Reboot into Ubuntu on your hard disk. It should boot just fine. Make sure /boot isn't mounted - grep /boot /etc/mtab should output nothing. Format the old /boot partition (don't confuse it with current /boot, which is a regular directory) and refresh GRUB config:

sudo mkfs.ext4 /dev/sda5
sudo update-grub

Reboot once more, confirm that the OS is up and do whatever you want with your ex-boot partition.


Konica Minolta bizhub printer does not print under Ubuntu 14.04 64 bits

I am in  the same boat here. I work for a school district that has several c754 BizHub machines. Download and read Linux Cups Driver user guide for driver version 1.6, it sheds some light on the procedures to installing the new drivers from Konica, however I run 14.04 on two computers side by side and the driver is working on the 32 bit machine and not the 64 bit just yet. I have a suggestion, maybe we should contact Konica or have the local support person come out to assist. I really think it's a glitch in the driver more that it is an issue with Ubuntu. Also I noticed the driver I downloaded is marked version 1.4. When I finally get this resolved I will post it for everyone. Just because this driver doesn't work for me, it might work for you. Also when setting up the printer, use find network printer and it will set up the correct communication parameters. Hope this helps. I work with Windows, FreeBSD, and Linux. Here is the link I used for ours.

http://onyxweb.mykonicaminolta.com/OneStopProductSupport/SearchResults?products=1675


Ubuntu 12.04 www.grc.com ports, all CLOSED, but one port 646 LDP Hidden color green?

As this Wikipedia article explains (see also this article), LDP is primarily used by routers. Therefore, it seems likely that it's your router (or perhaps your cable/DSL/ISDN modem), which provides the gateway between the computer(s) on your local network and the Internet, that is running a server on port 646.

How to Find Out

To check, use ifconfig to find out your Ubuntu system's LAN IP, and then use nmap  to scan your own machine on that interface. (Please note that you will often, but not necessarily, have the same services running on the loopback interface--through which your machine can communicate with itself with the IP address 127.0.0.1 or the domain localhost--as on your physical interface.)

First install nmap if you don't have it installed, either by clicking the link above (it will install in the Software Center), or by running these commands in a Terminal window (Ctrl+Alt+T):

sudo apt-get update
sudo apt-get -y install nmap

Run ifconfig to find your LAN IP address. If you run it just like that, it will list the IP addresses on all your network interfaces. If you know which interface is your LAN interface (the one that connects to your router, switch, wireless access point, or cable/DSL/ISDN modem), you can supply that as an argument to ifconfig. In particular:

If your LAN interface is wired Ethernet, it is usually called eth0, especially if it's the only Ethernet port on your computer. So you'd run ifconfig eth0.
If your LAN interface is wireless (WiFi), it is usually called wlan0, especially if it's the only wireless card on your computer (and it's quite rare, though not unheard of, to have more than one wireless card). So you'd run ifconfig wlan0.

Find your IP address (specifically, your IPv4 address, as you're probably not connecting to the Internet via IPv6). It's stated after inet addr: in the output of ifconfig. For example, I ran ifconfig wlan0 and got the following output:

wlan0     Link encap:Ethernet  HWaddr 00:14:d1:e9:ce:ec
          inet addr:192.168.1.106  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::214:d1ff:fee9:ceec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4267147 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1561998 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1780239440 (1.7 GB)  TX bytes:202924065 (202.9 MB)
Use nmap to scan your own machine, from itself, on the LAN interface, efficiently (-sS) and with service/version detection (-sV), on port 646 (-p646), with extra verbose output (-vv):

sudo nmap -sS -sV -vv -p646 192.168.1.106

Replace 192.168.1.106 with your own LAN IP address, of course.
Examine the output to see the port's status. This is TCP, so there are three possibilities:

Open. A server is listening for (and presumably accepting) connections on this port. It's very likely an LDP server is running on your machine.
Closed. No server is listening on this port. It's very unlikely an LDP server is running on your machine.
Filtered. This port is not responding to attempts to determine whether or not it is open. This almost always means it's firewalled, and since you're scanning from the computer itself, it's a software firewall. (Or you entered the wrong IP address.) By default, ports on Ubuntu systems do not appear filtered.

However, from the Internet, some, and perhaps almost all of your ports, are filtered. This is what green means on GRC.com's port scan. "Stealth," as the term is used on that site, is essentially a synonym of "Filtered" as nmap uses it.
It's not Ubuntu making them appear filtered on the Internet--rather, it's your router (or, in rare cases, a hardware firewall that is not a router). If you connect to the Internet through a NAT router, then machines on the Internet--including the machine at GRC.com doing the port scan--see your router (and specifically its WAN, or Internet-facing, network interface) rather than your Ubuntu machine or any of the other machines connected through it. DMZ is an exception to this; port forwarding is a narrower, though more common, exception.

The output of your nmap scan should look something like this:

Starting Nmap 5.21 ( http://nmap.org ) at 2012-08-15 05:14 EDT
NSE: Loaded 4 scripts for scanning.
Initiating Parallel DNS resolution of 1 host. at 05:14
Completed Parallel DNS resolution of 1 host. at 05:14, 0.18s elapsed
Initiating SYN Stealth Scan at 05:14
Scanning 192.168.1.106 [1 port]
Completed SYN Stealth Scan at 05:14, 0.04s elapsed (1 total ports)
Initiating Service scan at 05:14
NSE: Script scanning 192.168.1.106.
NSE: Script Scanning completed.
Nmap scan report for 192.168.1.106
Host is up (0.000096s latency).
Scanned at 2012-08-15 05:14:28 EDT for 0s
PORT    STATE  SERVICE VERSION
646/tcp closed ldp

Read data files from: /usr/share/nmap
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 0.85 seconds
       Raw packets sent: 1 (44B) | Rcvd: 2 (84B)

As you can see, on my machine, port 646 is closed.

If yours says closed, then the service is running on your router (or similar device), or potentially, on another machine on your local network (and exposed through the router via port forwarding or DMZ). See also NAT.
If yours says open, then the service is running on your Ubuntu system and probably either directly exposed to the Internet, or, if you have a NAT router (which could be built into your cable/DSL/ISDN modem or wireless access point), exposed to the Internet via port forwarding or DMZ.

However, it's quite unlikely but possible that the service GRC.com's scan is seeing is still not from your Ubuntu system, but rather from another machine on your network or from your router or cable/DSL/ISDN modem.

What to Do

If the nmap scan said the port is open, then you can edit your question to provide details.

If you're directly connected to the Internet (which includes being connected directly to a cable/DSL/ISDN modem), and not connected through a router, then you may want to edit the output of ifconfig and nmap so it doesn't reveal your public IP address.

One way to know if this is your public IP address is if it's the same as the address GRC.com scanned. This is the easiest way for you to know.
Another way to know if this is your public IP address is to see if it starts with 192.168., 10., or 172.n. where n is in the range of 16 to 31. If your IP address meets that description, then it's on a private network and probably quite safe to divulge (since we--by which I mean people on the Internet--cannot access your computer using that IP address). But if your IP address is not in one of those ranges, it's likely the IP address with which your computer is addressed on the Internet, and you might not want to divulge that.

If the nmap scan said the port is closed, then you probably have nothing to worry about ...but you may want to look into why your router is running an LDP server. You may be able to disable LDP in you router's settings. Otherwise, you may want to post about this on a site devoted to IT security, such as this site.

Update

You provided some information after performing the above procedure, indicating that nmap reveals the port to be closed on your Ubuntu system, but that you don't use a router or hardware firewall. You then said:

  So propably my ISP (internet service provider) configuration, provided to their customers, is the one that has something to do with the router LDP server port 646 tcp Stealth Filtered Green status.

Yes, that is probably the case. You could ask your ISP if you are unsure. (There may be other ways to find out, too, but I'm not aware of them. If you're interested, that might still be considered an on-topic question at Security.SE.) Ordinarily I would say that the other possibility is that your cable modem is also a router / wireless access point. However, my understanding is that the Motorola cable modems whose model numbers start with SB and not SBG are not also routers, but are just cable modems.


Ubuntu 18.04 crashed, how to get bookmarks backup

If you have access to your old installation (i.e. file system is readable), you may be able to use profile import on your new system.
To do so, follow the following documentation:
For Chrome: [How to Backup and Restore Google Chrome Profile On Linux][1]
For Firefox: Recovering important data from an old profile
(you can also use the information found here, just as a reference).
However, as you are using a live version of Ubuntu, you may need to create persistent storage first, for these options to work.


DNS binds points to an address not in it configurations

This Server Fault answer says to search files on your computer that contain the bad address. Although that answer suggests manually checking various files for the string, you can automate the approach with this command:

sudo grep -rnwI --exclude-dir={boot,dev,media,mnt,proc,root,run,sys,/tmp,tmpfs,var} -E "198.105.244.228" /


In System Settings -> Removable Media you have the options for that...


I used wget to download html files, where are the images in the file stored?

I prefer to use --page-requisites (-p for short) instead of -r here as it downloads everything the page needs to display but no other pages, and I don't have to think about what kind of files I want.

Actually I'm usually using something like

wget -E -H -k -p http://textbook.s-anand.net/ncert/class-xii/chemistry/hello-this-first-chapter

This means:

-E: Append .html to the file name if it is an HTML file but doesn't end in .html or similar
-H: Download files from other hosts, too
-k: After downloading convert any link in it so they point to the downloaded files
-p: Download anything the page needs for proper offline viewing


glance image-create fails with error Unable to establish connection

allow connections from "ip_of_glance to port 9292/tcp and 9292/udp.


Installation of 11.10 on new drive (no OS)

I have this error myself. I have resolved it by creating a bootable flashdrive from the Ubuntu live cd and configured my laptop to boot off it. Seems to remove the error.


UFW blocking connection every minute at home

Those packets are igmp packets from the router itself.

"The Internet Group Management Protocol (IGMP) is a communications protocol used by hosts and adjacent routers on IPv4 networks to establish multicast group memberships. IGMP is an integral part of IP multicast."

I do not use UFW, but in my iptables rule set I have a rule to drop those packets without logging, so as to avoid clutter in my log files.


grep is grepping itself. Try something like:

ps aux |grep [n]etbeans

this keeps grep from showing itself in the output


Try this...

sudo -H gedit /etc/default/grub

and change:

#GRUB_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT=10

to:

#GRUB_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT=0

sudo -H gedit /etc/grub.d/30_os-prober # find line 23

and change:

quick_boot="1"

to:

quick_boot="0"

sudo update-grub

reboot


If you want to run several commands interactively, just separate them with a semicolon:

foo ; bar ; baz

If you want to queue a batch of commands to be executed in the background when the system isn't too busy and possibly after you have logged out, you can use the batch command.  The output of jobs run with batch, at, or cron is emailed to you.  For that to work, you need to setup a local mail server.


There is a slot machine game called BFruit, but it's not packaged for Ubuntu. However, is only a matter of downloading it from sourceforge and running the bfruit.py script inside the tarball. Just remember to install the python-pygame package first.

To play, press left to spin and up to raise the bet.


How to disable a mobile broadband device

I was able to do this, after entering BIOS-Wireless setting, and disabling the WWAN/GPS device


How do I open a file from inside a bash script?

I think your script should work. But you might add something to it to get a little more information:

#!/bin/bash
T=`xdg-mime query filetype $1`
echo "opening file "  $1  " of type " $T "with " `xdg-mime query default $T`
xdg-open $1
echo "finished script"

when running this script (named my_open.sh) in a terminal like this:

my_open.sh path/to/somefile.txt

I get the following output:

opening file  path/to/somefile.txt  of type  text/plain with  gedit.desktop
finished script

which tells me that the path to the file is ok, the mimetype is recognized and the desktopfile which is used to open the file is ok as well. And gedit opens with the file in question.

Now when run on another file:

my_open.sh path/to/README

I get the following output:

opening file  path/to/README  of type  text/x-readme with
finished script

Note the different mimetype and the missing desktop file.
Nevertheless, xdg-open opens the default for all text files (gedit).

So, you might want to add something like this to your script and see if you get unexpected output (which you can then add to your question...).


unresolvable (!) dependecy problems installing skype on ubuntu 12.04

Check these steps;

First install the dependencies by this command in a terminal window(or use Synaptic):

sudo apt-get install lsb-core ia32-libs libqt4-dbus libqt4-network libqt4-xml libasound2

sudo apt-get -f install

Then, download the 64 bit deb package from the official website by:

wget -O skype_Ubuntu-current_amd64.deb http://www.skype.com/go/getskype-linux-beta-ubuntu-64

Now, install skype:

sudo dpkg -i skype_Ubuntu-current_amd64.deb
sudo apt-get -f install

Source: http://ubuntuguide.net/how-to-install-skype-on-amd-64-bit-ubuntu-12-04-precise


Use the square brackets keys.

[ for decrease speed by 0.1x increments
] for increase speed by
0.1x increments

These keys also allow moving above the 1.0x speed, unlike +/- keys.


Super+D key shortcut does not show desktop

Super + D doesn't work starting with Ubuntu 13.10. Use Ctrl + Super + D instead, I tested it and it works.

How to change the keys:

Open the Dash and type keyboard. There should be an app called Keyboard. Click on it and then go to the Shortcuts tab. Click on the Navigation list entry and scroll down until you see Hide all normal windows, click on it and create a new shortcut, for example:

  Super + D

And that's it, you're done.


Okay I found a solution.

Mendeley follows the printer default settings but there appears to be a bug in Settings (gnome-control-center). Changing the printer settings in Settings->Printers->Printer Options; does not change the default settings for Mendeley. It does do so for Document viewer though.

Instead I had to change it in system-config-printer (Settings->Printers->Additional Printer Settings). These settings where used by Mendeley.

Additional notes on Duplex printing:

Duplex printing in (Evince) Document Viewer is controlled from Settings (gnome-control-center->Printers->Printer Options). The in-app duplex-settings do not work.
Duplex printing in Mendeley is controlled from (gnome-control-center->Printers->)Additional Printer Settings.


as per a comment to the question

  I think I have discovered why this didn't work, I upgraded to Oneiric, this wasn't a clean install. I removed all files in $HOME/.pulse and rebooted and the problem was gone, all working now.


Your issue is broken routing somewhere. First, make sure you have connectivity on your windows host.

Sounds dumb but if this is a new install I would restart your computer and make sure all the needed processes for VMware are running.

I think your configuration should work (and that you might want to use NAT instead of bridge mode since your host is Windows, but I'm not too familiar with VMware) but for some reason VMware DHCP server is not enabled/running on the NAT interface (that's why I said reboot and check everything is running) or your vm is not linked to the NAT interface.

Could you provide the output on the host for:
ipconfig /all
route print
Could you provide the output on the guest vm for:
cat /etc/resolv.conf
ip a s
ip r


On the client:

Make sure that Remmina is newer than 1.2, because of potential bugs related to sharing a folder (see this link)
sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt-get update
sudo apt-get install libfreerdp-plugins-standard remmina remmina-plugin-rdp

Start Remmina

Right click on the connection / click on edit, check "share folder" and select a folder on the client

Click on save

Potentially restart the client / server
On the server:

On Ubuntu the shared folder appears under /home/<username>/thinclient_drives/ (tested with Ubuntu 18.04). Note: In my case the folder name consisted only of the first 8 eight letters of the shared folder (e.g "ClientSh" instead of "ClientShare")
On Windows the folder appears under \\tsclient\<SHARED_FOLDER_NAME> (according to this answer)


no, it's easier to just install the new version on the same partition when you install. If you press advanced settings in partition you can change what part of the partition you want to use.

Good luck.


gcc: error: /usr/lib/libusb-1.0.so: No such file or directory

First install the dev package:
sudo apt update
sudo apt install libusb-1.0-0-dev

Next, we can locate the file by listing all the files from that package and using grep to filter the results:
dpkg -L libusb-1.0-0-dev | grep \.so

Now, we can create a simlink for this file:
sudo ln -s $(dpkg -L libusb-1.0-0-dev | grep \.so) /usr/lib/libusb-1.0.so

This should have fixed your error. However, it really helps to know what you are trying to build as there may be a better solution to your problem. Also, don't forget that you might need to run make clean before you run make again.

Additionally, here's an extra tip. To locate the package that contains a file, we can use the apt-file command.
First, install the apt-file package:
sudo apt update
sudo apt install apt-file

Next, update the file list:
sudo apt-file update

Now, search for the package that contains the file:
apt-file search /usr/lib/libusb-1.0.so

Because this command did not return a result, we can simplify the search to see if the file exists under a different file path (this might take a while):
apt-file search libusb-1.0.so

Now, you can see in the following output that the we need the libusb-1.0-0-dev package:
libusb-1.0-0: /lib/x86_64-linux-gnu/libusb-1.0.so.0
libusb-1.0-0: /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
libusb-1.0-0-dev: /usr/lib/x86_64-linux-gnu/libusb-1.0.so


Most backlight issues can be solved by running the following command in your terminal:

xset led on

This should turn the backlight on. To automatically turn the backlight on when you boot up, search for Startup Applications. Add a new entry. Give it an appropriate name and comment, and add the above command to the Command field. Should you need to turn your backlight off, use the same command with off instead of on.

This is the solution I use. However, there is a bug where using the xset command turns on an accessibility feature called Mouse Keys, which turns your numpad into a virtual mouse. To work around this bug, edit the Command field, so that it contains the following:

sh -c "xset led on; sleep 1; gsettings set org.gnome.desktop.a11y.keyboard mousekeys-enable true; sleep 1; gsettings set org.gnome.desktop.a11y.keyboard mousekeys-enable false"

This will first enable the backlight, wait one second, enable Mouse Keys, wait another second, then disable Mouse Keys. I've found that a delay needs to be added, otherwise this does not work 100% of the time. As for enabling Mouse Keys before disabling, I've also found that just disabling will not work. At least, this was the case with my system.


How to check if I have deleted my windows 10 partition when dual booting ubuntu 16

Actually this problem is depend on laptop company also. But don`t worry, Just press 'Ctrl+Alt+Del' it will restart then while restarting continuously press F2 or F12 then you will enter into the doss then there is option to change the operating system, you just select your windows. other wise select the secure boot you may get you windows.

Basically now days all laptops having UEFi and CSM option in the doss. for windows you can select UEFI in system configuration and for Ubuntu CSM. but UEFI is having secure boot option also.

All the best...


If you use UEFI, you need to press the Esc key on system startup instead of Shift. If that doesn't work, try one of the alternatives below.

If you can still boot into ubuntu:

Open /etc/default/grub as root, e.g.:

sudo nano /etc/default/grub

and change the following lines accordingly:

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=-1

Save and exit (if using nano, press Ctrl+X, then Y to save and Enter to confirm the filename).

Now run sudo update-grub and reboot. The grub menu should be shown now without pressing a key.

If you can't boot into ubuntu, but can boot a live session (e.g. from a live USB drive):

After booting the live system, open nautilus (the file manager), click on "Other Locations" and select your internal drive. Now open a terminal and run

sudo nano /media/ubuntu/<UUID>/boot/grub/grub.cfg

Where <UUID> is the UUID of the partition. I recommend using Tab-completion, i.e. after entering /media/ubuntu/, press Tab to autocomplete the UUID.

Now change the following lines accordingly:

set timeout_style=menu
set timeout=-1

(Those lines appear before ### END /etc/grub.d/00_header ###).

Save and exit (if using nano, press Ctrl+X, then Y to save and Enter to confirm the filename).

Reboot.


ubuntu 13.10 - not prompted for login at start up

can you share /etc/lightdm/lightdm.conf ? (or /etc/gdm/custom.conf)

that link: How to disable automatic login in LightDM? might help


You should be able to access the files and copy them using any linux live dvd.

Become root. sudo su usually works
mount the source and destination drives
copy the files

Yes, you can install from a live DVD next to an existing OS but I don't recommend it without a backup. One mistake and you could wipe your precious data away. Better to copy the files off first. If you have permissions difficulty that becoming root doesn't solve, look into chown to take ownership or chmod to allow access (both available on all distributions AFAIK).


First of all - you must to know, that you want to have and that to do in order to reach results. Now you are far away from this state

  android project in our company using Eclipse as an IDE

Irrelevant to task

  one person is works on windows platform while i am using ubuntu

Irrelevant to task

  we need to connect same project via svn repository.

and

  Now the problem is we couldn't connect our server via Ubuntu.

pair drive me nuts !!!.

Your task really is "Organize Sorce Control  in Subversion for at least 2 separate Workspaces of developers"

In order to to it and because Subversion is CVCS, you have to build Subversion-server (on any available platform), create at least one repository and define (if needed) ACL for repo-access. As results

Users perform development in own Working Copies, store results in Repository, which can be accessed any of existing (and enabled) methods. //serversystem/application_directory/Android now is not a repository, I suppose. Read SVN Book, chapters 5 and 6 at least


Both okular and kpartsplugin are in the Ubuntu repositories for Ubuntu 12.04, so you didn't need to add the two PPAs to install them. If you don't need the two PPAs for any other reason they can be removed, and then just install okular and kpartsplugin in the usual way.

From the terminal run:

sudo apt-add-repository --remove ppa:kubuntu-ppa/backports
sudo apt-add-repository --remove ppa:kalakris/okular
sudo apt-get update
sudo apt-get install okular kpartsplugin


How: windows remotely connects to ubuntu?

Ubuntu's Desktop Sharing is just the VNC protocol under the hood, whereas Windows uses RDP.  So you're either going to have to get Ubuntu running RDP.  As @laurent mentioned, there's xrdp, but I haven't used it personally.  The easier method is to use a VNC client on Windows, and there are a tonne of those that should all work, including:

TightVNC
UltraVNC

There's also the NoMachine/NX stuff, but it's moderately complicated to get set up compared to VNC-based stuff.


Apt BADSIG error (Ubuntu Archive Automatic Signing Key) while updating

You can try to fix it using the following commands:

The easiest way:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com THE_KEY

Where "THE_KEY" is the repository key which you've masked with XXXXXXXXXXXX for some reason.

If that doesn't work, try this:

sudo apt-get install aptitude
sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update

You can also use Y PPA Manager which has options to automatically import missing GPG keys and fix BADSIG errors.


Disable the overlay scrollbar ubuntu 12.04

If you want to get back overlay bar, enter following command:

gsettings set com.canonical.desktop.interface scrollbar-mode normal

Enter following command in terminal to disable overlay scrollbar:

gsettings reset com.canonical.desktop.interface scrollbar-mode

or you can visit Linuxicle.


How can I pause and download again from ubuntu software center

this question has been answered here :

How can I pause/resume an apt-get update process in a terminal?

you can't do this with the gui.

if you need to restart (and i bet you need), there is no way to do it.


HDD randomly becomes read-only even after fsck

You may, or may not, get a little more use out of the drive, before it fails entirely, by bad blocking it. You do not have a heat problem. You have 27 potentially bad blocks waiting to get remapped. Re-run the SMART diags after doing the bad blocking, to confirm status of the drive. A diags FAIL does not necessarily mean that the drive is unusable.

Understand that ultimately you'll probably have/want to replace the HDD. I recommend Western Digital drives, which is what you have now. You won't be able to purchase a 320G drive any more though.

Note: do NOT abort a bad block scan!

Note: do NOT bad block a SSD

Note: backup your important files FIRST!

sudo e2fsck -fcky /dev/sdXX # read-only test

or

sudo e2fsck -fccky /dev/sdXX # non-destructive read/write test (recommended)

The -k is important, because it saves the previous bad block table, and adds any new bad blocks to that table. Without -k, you loose all of the prior bad block information.

The -fccky parameter...

   -f     Force checking even if the file system seems clean.

   -c     This option causes e2fsck to use badblocks(8) program  to  do  a
          read-only  scan  of  the device in order to find any bad blocks.
          If any bad blocks are found, they are added  to  the  bad  block
          inode  to  prevent them from being allocated to a file or direc‐
          tory.  If this option is specified twice,  then  the  bad  block
          scan will be done using a non-destructive read-write test.

   -k     When combined with the -c option, any existing bad blocks in the
          bad blocks list are preserved, and any new bad blocks  found  by
          running  badblocks(8)  will  be added to the existing bad blocks
          list.

   -y     Assume  an answer of `yes' to all questions; allows e2fsck to be
          used non-interactively.  This option may not be specified at the
          same time as the -n or -p options.


Single window media player with playlist

Gnome-mplayer

sudo apt-get install gnome-mplayer

Just press F9 when you want to show playlist:


FQDN does not resolve from Windows, hostname does (NMBD)

So if i have this right you want to use a ubuntu machine as a webserver and have a domain controller your clients connect to for your AD and DNS services, based on this assumtion:

On your domain controller you can create DNS records like myintranetsitename.mydomain.example which points to the webserver IP address , any client from that point on using the domain controller as its DNS server when it tries to access myintranetsitename.mydomain.example will have its request forwarded to your webservers.

You will also need to configure your webserver to listen on the address myintranetsitename.mydomain.example

Please leave a comment if this isn't what you meant or require more info!


Is it possible to convert live CD to alternate CD using Jigdo?

No, you can't convert live CD to alternate CD using Jigdo.
Jigdo does work similar kind of torrent. You can download and share files using it. I would recommend to not change or edit any official iso by any way. Rather prefer to download alternate iso.


Computer shut down during resizing of drive, stuck!

If you've used up all the space, then that would explain why it doesn't boot. I usually ensure there's at least 500MB free.

Your options are:

Backup files from Windows using Ext2Read (the latest is 2.2, but I heard 2.1 works better). You run it and point it at the file \ubuntu\disks\root.disk and then you get readonly access to your data.
Boot from a live CD and then you can a) delete files to make space, b) backup files or c) resize the Wubi virtual disk.

If you do Step 2. then you can get the Wubi install booting again. If you just do Step 1. then you can reinstall a normal dual-boot (non-Wubi) once you've backed up your data, or you can migrate from the root.disk to a normal dual boot (but you have to create the partitions yourself before migrating).

If you need help with one of the options, comment and I'll flesh out my answer for your needs or direct you to another, relevant thread.


I have 14.04 and use virtualbox.

On my system, gcc-version returns

gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4

It comes from trusty-updates repository as shown here

gcc-4.8:
  Installed: 4.8.4-2ubuntu1~14.04.4
  Candidate: 4.8.4-2ubuntu1~14.04.4
  Version table:
 *** 4.8.4-2ubuntu1~14.04.4 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     4.8.2-19ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

After confirming that you have this version of the compiler, you need to remove and reinstall the latest kernel version using these commands (culled from the bug report)

sudo apt-get purge linux-headers-4.4.0-116 linux-headers-4.4.0-116-generic linux-image-4.4.0-116-generic linux-image-extra-4.4.0-116-generic linux-signed-image-4.4.0-116-generic

sudo apt-get install linux-generic linux-signed-generic

and reboot into the new kernel.

Finally you need to rebuild the vbox kernel driver now that you have the right kernel and right compiler

sudo /sbin/vboxconfig

There may be other compiler versions that work, but this one is proven to work.


Missing US English keyboard layout for Mac?

I found a solution that's working everywhere so far, tho I'm only an hour into the change. I was fiddling with Alt/Super settings, in the Gnome Tweaks Tool, but the simpler...

Gnome Tweaks > Keyboard & Mouse > Additional Layout Options
Swap Left Ctrl with Left Alt
Desktop settings need no change
Adjust Terminal preferences if you like

Works! Pretty nice, and a relief if you're quick with something like:

Cmd+c > Cmd+t > Cmd+v in the browser to search errors, etc.

No myriad system configs to dig up, no new layouts or themes, just the handy Gnome Tweaks app.


sudo dpkg --configure -a

if doesn't work then

 sudo apt-get autoremove <packagename>
 sudo apt-get autoclean
 sudo apt-get update
 sudo apt-get install --reinstall <packagename>

EDIT :
If it doesn't work then remove sources.list file.and create new sources.list...

sudo rm /etc/apt/sources.list

Then, type in

sudo software-properties-gtk

This will open software-properties-gtk and a newsources.list will be created automatically.

Then change the server to US or to any other server of your choice. You must enable repositories from the new dialog in order to create new sources.list.

Tick all the boxes then click on Revert then click close.

Need to restore default repositories

 sudo apt-get update && sudo apt-get dist-upgrade -y

(it is good practice to backup this file before installing to recover if such things happen)


How do I take a screenshot of the alt-tab menu?

I had this trouble myself, but there's a sneaky workaround.

Open "Screenshot" from the Dash and set a timer before the shot, about 5 or so seconds. Then, click "Take Screenshot" and hold Alt+Tab. You should get a screenshot.


how to make partition read and write instead of read-only?

You may want to edit your /etc/fstab, so you can set the permissions you need on your partition and also have it automounted in a specified mount point. This mount point has to be created before editing /etc/fstab. Create it using

sudo mkdir <mount_point>

<mount_point> is usually a directory inside /media. I use /media/Data as my <mount_point>. You may want to use /media/OS (instead of Data and OS you can use any name you wish).

Then, you need to get your partition's UUID and type. To do that, run

sudo blkid

After determining which is your desired partition, edit /etc/fstab:

sudo nano /etc/fstab

At the end of the file add the following (since you were using Windows, I suppose that your partition's type is "ntfs"):

UUID=<your_partition's_UUID> <mount_point> ntfs-3g  defaults,nls=utf8,fmask=117,dmask=007,uid=1000,windows_names 0 0

<your_partition's_UUID> is the UUID you got from blkid.
<mount_point> is the mount point you created before.
ntfs-3g is your partition's file system type (I supposed ntfs; if it is of another type it must be specified accordingly)
the rest of the options set the permissions on the partition. The ones I used above give you permission to read and write to your partition and also remove the executable permission from all files of it.

Save your changes using Ctrl+O, close nano using Ctrl+X and restart your laptop for the changes to take effect.

The above settings work really well for me. However, if you need something different or you need more details about fstab, check this fstab wiki.


Edit:

After trying to cajole the Killer 1535 into working reliably for months I gave up, bought an Intel 7265NGW, which is a drop in replacement and works perfectly. There are guides online to replacing the Wifi adapter in this machine and the Intel part is available on various online sources for less than 20 USD. Well worth getting rid of that headache.

Previous comment:

Apparently the drivers for Killer 1535 Wifi card were causing my problems with intermittent odd behavior like I described above. Dell recommends running the very latest kernels with this machine, so I opted to switch to Gnome Ubuntu 16.10 and I haven't had any problems whatsoever since then. There are ways of upgrading the kernel for the LTS releases, but I try not to deviate too much from a base install in case of running into other problems that are hard to diagnose. Thanks to anybody who may have taken a look at my problem, and especially @Elder Geek for the hints.


All folders and files in SD card and USB drive appearing as locked!

Type in:

sudo su

enter your password.

Type in:

chown <your_user_name> <disk_name>

type:

exit

EDIT:

If your media is mounted read-only, it is probably needed to check group permissions:

First thing to do is to check the permissions on the hardware device mounting your card. You'll need to find the device name. To do this run the following command:

sudo fdisk -l

Your device will probably be something along the lines of /dev/sdb1, it can be the SD Reader /dev/mmcblk0p1.

Next you need to get the permissions on this device:

sudo ls -l /dev/mmcblk0p1

Replace "/dev/mmcblk0p1" with your device location.

You need to be a member of group disk to be able to write to the SD card. You can check which groups your a member of with

groups username

so then:

sudo usermod -G --append disk username

This adds the group disk to your user's groups, which should allow you to now read & write to the SD card.


How to tell what interface a TCP connection will go out on?

For me I can see what interface I have right there using the netstat -rn or route -n

cyrex@cyrex:~$ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.48.0.1      0.0.0.0         UG        0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
192.48.0.0      0.0.0.0         255.255.224.0   U         0 0          0 eth0

Or netstat -r

cyrex@cyrex:~$ netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         192-48-0-1.dyn. 0.0.0.0         UG        0 0          0 eth0
link-local      *               255.255.0.0     U         0 0          0 eth0
192.48.0.0      *               255.255.224.0   U         0 0          0 eth0

In both cases I can see the name of the interface at the end, in this case it is eth0

The information given by this commands is as followed (Source found here):

Destination - The destination network or destination host.

Gateway - The gateway address or * if none set.

Genmask - The netmask for the destination net.

 255.255.255.255 for the host destination.
 0.0.0.0 for the default route.

Flags - Possible flags include:

 U (route is up)
 H (target is a host)
 G (using gateway)
 R (reinstate route for dynamic routing)
 D (dynamically installed by daemon or redirect)
 M (modified from routing daemon or redirect)
 A (installed by addrconf)
 C (cache entry)
 ! (reject route)

MSS - Default maximum segment size for TCP connections over this route.

Window - Default window size for TCP connections over this route.

irtt - Initial RTT (Round Trip Time). The kernel uses this to guess about the best TCP protocol parameters without waiting on (possibly slow) answers.

Iface - Interface to which packets for this route will be sent.

Other fields can be:

Metric - The distance to the target (usually counted in hops). It is not used by recent kernels, but may be needed by routing daemons.

Ref - Number of references to this route. (Not used in the Linux kernel.)

Use - Count of lookups for the route. Depending on the use of -F and -C this will be either route cache misses (-F) or hits (-C).

HH (cached only) - The number of ARP entries and cached routes that refer to the hardware header cache for the cached route. This will be -1 if a hardware address is not needed for the interface of the cached route (e.g. lo).

Arp (cached only) - Whether or not the hardware address for the cached route is up to date.

Now to the question at hand. The easiest way I can remember right now (As always, there are several ways of doing the same thing) is by using iptraf. Just install it:

sudo apt-get install iptraf

and run it with root priveleges: sudo iptraf

In the menu of iptraf select IP Traffic Monitor and then choose All Interfaces. That should show you all TCP connections and to which interface they are related to. It is terminal based which is good for monitoring purposes.


How do I add multiple machines with the same configuration to ~/.ssh/config?

You can do that this way:

Host machine1 machine2 machine3
      User user
      ProxyCommand ssh server nc %h %p 2>/dev/null

You just need to list the hosts in the Host line, separated by whitespace, and you can omit HostName if it's not different from the name you gave in the Host line. See Multiple similar entries in ssh config · U&L.

To simplify it even more there are the wildcards * and ? available with their usual meaning, so Host machine? would be evenly possible for your example.


Encrypted Home not being unmounted on logout (?)

Encrypted home

Yes, encrypted folders should be unmounted on log out, but there is a bug. So you have to shut down or reboot the computer to get rid of the information 'inside the encrypted home'.

Encrypted disk alias LVM with encryption

I think 'encrypted disk' alias LVM with encryption is a better method, if you want high security. There is an easy way to get a system with 'encrypted disk': select this option during the installation. See this link (with instructions from the QA testing tracker),

Install (entire disk with lvm and encryption) in Ubuntu Desktop amd64 in Xenial Daily

  Check 'Encrypt the new Ubuntu Installation for security' and 'Use LVM
  with the new Ubuntu Installation'


How GRUB2 works?
GRUB2 works like this: /etc/default/grub contains customization whereas /etc/grub.d/ scripts contain GRUB menu information and operating system boot scripts. When the sudo update-grub command is run, it reads the contents of the grub file and the grub.d scripts and creates the grub.cfg file.
That's all. To change the grub.cfg file, you need to edit the grub file or the scripts under grub.d. Scripts are meant to be executed. This means that they have the execute bit turned on. If you turn the execute bit off, they will not run.
Grub Customizer (Answer to the post)
Grub Customizer is a tool whose primary task is to set up GRUB menu among other things. Whatever manually you do, the Grub Customizer does it automatically. For example, you give the command sudo update-grub in order to build GRUB menu. The GUI tool also does the same automatically i.e., internally calling same command. Your question (this is what I understood) is : "You want to add a boot option on Grub Customizer that boots to a USB flash drive?".

You want to put bootable USB stick directly into GRUB menu i.e  bootable USB should appear as an entry in GRUB menu. Do you think you can do it manually using terminal commands? If you can, then Grub Customizer can also do.

Note: You can reach GRUB menu by pressing shift key while system booting.
BIOS Setup Screen
You can easily make a bootable USB stick to appear in BIOS setup screen by inserting the device into USB port and select to boot the same by setting it up top priority among other bootloaders.
Note: You can reach BIOS setup screen by pressing del key while system booting.
How to install Grub Customizer?
Grub Customizer is a graphical interface to configure the grub2. The application allows the user to add, remove, freeze, rename and reorder boot menu items.
Open a terminal and run following commands one by one:
$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer
$ sudo apt-get update
$ sudo apt-get install grub-customizer

Figure: Grub Customizer Main Window


you can modify the cmake command as below:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_GENERATION=Kepler ..

This is because you install cuda in your system.You should make sure your architecture is Kepler to use this command.
I hope i can help you


Window-snapping fails completely with all applications; Ctrl+Super+Left / Ctrl+Super+Right do nothing

I solved this problem by following this post: Ctrl + Super + Left/Right not working in Ubuntu 16.04

$ sudo apt install  compizconfig-settings-manager
$ ccsm

And then in the window that pops up, click "Window Management", then check the box next to "Grid" and in the alert box, click "Ignore conflicts"

Someone in the linked question said it might have something to do with Dell computers, and my computer is made by Dell.


HP ProBook 4540s (C4Z14EA) problems with wireless

I had the same issue, sorted out by installing 13.04, you can do it via Software Centre or www.ubuntu.com/download


I have some issues myself, but so far I have discovered that you need to test the different id's:

speaker-test -c [2/6] -r 48000 -D hw:2,[3,7,8,9]

-c [2/6] - test in stereo or 5.1

hw:2,[3,7,8,9] - 2 is the ID of your card, but as you can see from the list there are 4 different options. Only one of these give me audio.

I have no idea why this has to be so complicated, so I would love to see someone answer this more thoroughly, but I hope my answer at least helps you along the way.


Is there a shorthand way to write 'scp' to copy back to connecting host?

You can do it by creating a config file in your .ssh directory at "serverB".

Something similar to:

Host workstation-a
    HostName 192.168.x.x
    User adam
    Port 22

Now you can use workstation-a instead of adam@192.168.x.x:22. You can also use ssh keys to prevent it for asking password. It's even supports Tab completion you can type-in work then hit the Tab and done, it's now workstation-a.

As an alternative, you can use sftp too, after installing it using sudo apt install sftp and connecting to "serverB" you can use get command to retrieve the remote file and store it on the local machine.


Sounds like we need to clarify some concepts for you.

By default, "downloading Ubuntu" using a Windows computer will not automatically replace Windows OS. What you will be doing is downloading a file (a large one at about 4GB) that can be burned onto a blank DVD disc. This DVD can then be used to install Ubuntu onto any computer that 1) supports booting from a DVD disc, and 2) supports the version of Ubuntu you download. BUT, you have to put the DVD in that computer AND boot from it AND tell Ubuntu to install AND tell it to replace Windows.

So in short: No, if you just download the latest Ubuntu Desktop file, it will not replace Windows on your friends computer.

Good luck, and be sure to check out the Ubuntu community documentation. We are a pretty decent group with lots of help for newcomers. This site and UbuntuForums.org are a good place to start, as well as Ubuntu.com of course.


Linker error: /usr/bin/ld: cannot find -lgcc_s


The cut command assumes a tab delimited file. So you should first replace the spaces with a tab. The following will do this for you:

:%s/\s\+/\t/g

followed by the cut command that you already figured out :)

:%!cut -f2


Thanks to the hint from Zanna I found the issue:

lsattr output showed that google-earth.list was set immutable.

~$ lsattr /etc/apt/sources.list.d/google-earth.list
----i--------e-- /etc/apt/sources.list.d/google-earth.list

With this attribute set, not even root can write the file.
To fix it, I just used chattr -i to remove the immutable attribute on the file:

~$ sudo chattr -i /etc/apt/sources.list.d/google-earth.list

I made that file immutable myself, because after each Google Earth Update, [arch=amd64] gets removed from the source file (blame Google !). I originally found that "immutable fix" on webupd8.


Why do my graphics drivers keep getting uninstalled?

What about preventing apt from removing your package.
  echo nvidia* hold | dpkg --set-selections

But in this state you cant upgraded or anything like that. To remove hold status
 dpkg --clear-selections


Try to do this:

mkdir /var/log/apache2
touch /var/log/apache2/error.log
touch /var/log/apache2/access.log
chown -R root:adm /var/log/apache2
chmod 750 /var/log/apache2
chmod -R 540 /var/log/apache2/*
service apache2 restart

But thats not a normal behaviour of apache2. May be you should check your server with the programm: chkrootkit - perhaps it was hacked or someone deleted the apache2 log dir.


vs code cant open directory on mounted folder "cannot open path of the current working directory: Permission denied"

Visual Studio code has a built in ssh extension which will run all the commands/debug on the remote machine, much like the WSL, Github and Heroku plugins.
There is also an sshfs plugin although I've never used it
If you need to use sshfs the way that you are doing, then you will need to work through by trial and error the options from the sshfs man page
I would suggest that you start with the ones to do with sync'ing caching and leave the "workaround" section till last


Surface Pro, install Ubuntu on Flash drive Problem

You should try install ubuntu 13.10. Also make sure what you usb flash drive is Fat32. Also you need remove security on surface and have ubuntu 64 version. Because only ubuntu 64 support efi.

Here you will find more information: Dual boot Surface Pro with Ubuntu?


Grub boots windows 8, but not ubuntu 13.04

GRUB correctly appears and lets you boot Windows, so you have successfully converted Ubuntu in UEFI mode.
Now, your issue is probably due to wrong graphic drivers. Eg look at https://wiki.ubuntu.com/Bumblebee for your Nvidia card.


Why does a program need 64MB to install but frees up 3.5 MB when it is removed later in Ubuntu?

A package can depend on other packages. These are all installed when you install the main package.sudo apt-get remove ... does not automatically free the now-orphaned dependencies that were installed for your package.

A simple sudo apt-get autoremove should free up the remaining space.


Error in build while installing RTAI in Ubuntu 18.04

Found out I was in the wrong folder. Solved.


First I ran sudo apt-get install ubuntu-desktop as I was told in the comments, then I copied the part of /var/log/apt/history.log concerning the purge action, and ran on it the following python script I made. Probably someone more skilled in regex would cry when seeing how I did it, but it worked for me:

import re

f = open('remove.log', 'r')
s = ""
for i in f:
    s += i + '\n'

s = re.sub(':.*?', '', s)
s = re.sub(r'\([^)]*\)', '', s)
s = re.sub(',', '', s)
s = re.sub('amd64', '', s)

f = open('replaced.txt', 'w')
f.write(s)

Then I could see a Install block and Purge block in replaced.txt, so I would just sudo apt-get install all the packages in the first block, and then in the second.

And voilà, apparently.


Windows generally does not like when we resize Windows partitions with Linux tools (like Gparted), this is why I always recommend to resize them via Windows tools when possible.

In order to fix your current situation:

Use a Windows repair disc this way, until you get direct access to Windows,
then use Boot-Repair to restore your Grub menu.


I had the same problem on 14.04.
I was able to get this working by doing this:

sudo apt-get install libuuid1=2.20.1-5.1ubuntu20
sudo apt-get install libuuid-dev


Error while trying to dual boot Ubuntu 15.10 and Windows 10

I just tried to go over it myself and was able to dual both Windows 10 and Ubuntu 15.10 by the following method :

In Windows 10,
Open up partition manager and dislocate some space out of your windows partition for Ubuntu(don't really write anything).
Then boot into Ubuntu 15.10 installation and click

  do something else

After that select the space you just cleared up and format it as EXT4(Linux file-system).
It will peacefully install.
PEACE!


Maybe this will help you can get the drivers here for 5030 not sure for 5020 but might work?

http://www.support.xerox.com/support/workcentre-5735-5740-5745-5755/file-download/enus.html?operatingSystem=linux&fileLanguage=en&contentId=118162&from=downloads&viewArchived=false

Myself I installed a 5755 doing this:
http://crazymadeagle.blogspot.com/2013/07/install-xerox-workcentre-5755-in-ubuntu.html


I ran in to the same issue after upgrading from 16.04 LTS to 16.10. Reinstalling xserver-xorg-input-all did the trick.

sudo apt install --reinstall xserver-xorg-input-all

My first attempt at reinstalling only xserver-xorg-input-synaptics fixed the issue with the touchpad but broke the keyboard input (on screen keyboard to the rescue).

This was on a Dell XPS 13 9350.


External monitor connected via HDMI doesn't work on Ubuntu 16.04 - Intel HD + NVIDIA GT750M

From question's revision #1:

First check the recommended nVidia drivers .
sudo ubuntu-drivers devices

Install the recommended driver, in my case, it were nvidia-418.
sudo apt-get install nvidia-418

Install nvidia-prime and nvidia-settings
sudo apt-get install nvidia-prime nvidia-settings

Reboot. You will probably get into a login loop.

If 4 above happens edit /etc/default/grub and look for the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

and remove nomodeset.
This was only necessary when installing Ubuntu. Now it's just causing
your video drivers not to be loaded.

Run
sudo update-grub

HDMI should work now. If the audio stops working, run
pulseaudio -k

and then go to System Settings→Sound and set HDMI as default audio.

Links That helped me:

Ubuntu 16.04 login loop GeForce GTX 1060 - GPU Unix Graphics / Linux - NVIDIA Developer
Forums

Fix No Sound Through HDMI In External Monitor In Ubuntu Linux - It's
FOSS

How can I Install/Activate Intel video driver? - Ubuntu Forums


Solution
You can use the bash built-in command read:

Either use it in a simple one line and add it to the end of your ~/.bashrc file like so:
read -p "${PS1@P}cd work"; cd work

Or define a custom function and call it at the end of your ~/.bashrc file like so:
myfunction() {
    mycommand="cd work"
    read -p "${PS1@P}$mycommand"
    $mycommand
}

myfunction

Information

read -p will show the text and wait for either Enter to continue or Ctrl+c to abort.
${PS1@P} will show your current prompt before the text.


Open project in PyCharm

You need to open the whole chapter9 folder in pycharm. In Pycharm do :  File > Open and choose chapter9 folder.

Projet folder appears in left side of Pycharm

To finish you can check python interpreter and root directory. Go in File > Settings > Project: Chapter9.

Project Interpreter must be valid.
Project Structure must have a valid content root (chapter9 folder)

PYTHONPATH

To ensure that Python search modules in your directory, you can set PYTHONPATH environnement variable by the following command :

export PYTHONPATH=$PYTHONPATH:/path_to/chapter_9 folder/

Documentation to PYTHONPATH : https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH


How to properly save gedit java_home file

I think I have understand your problem. You're opening /etc/environment file as normal user and then cannot save the file at that place.

You won't open it as normal user. Instead you'll open as root user. To do so, First open a terminal by pressing Ctrl-Alt-T keyboard shortcut.

Then write this command there to open as root

sudo -i gedit /etc/environment

This will open the file as root.

JAVA_HOME is an environment variable. It is set to a directory containing JDK installation like this line

JAVA_HOME=/usr/lib/jvm/java-8-oracle

I assumed jdk is in /usr/lib/jvm/java-8-oracle folder.

You'll add this line at the end of that file and save by pressing Ctrl-S. This will overwrite the file at place. You don't need to save this file anywhere else as you opened this as root

Now exit gedit.

Logout and login again to see the effect of setting JAVA_HOME.


Alfa Tube-U(N) RT3070 No Wireless Extensions

I was able to configure the wireless device with iw and wpa_supplicant rather than iwconfig. I essentially followed the instructions here, which was based on this.   Before doing so, I had to install iw with sudo apt-get install iw.  The default installation may also need wpa_supplicant installed.

Bringing Up Step By Step After Boot

The wireless network can now be configured using the following minimum set of commands:

$ sudo ip link set wlan0 up
$ sudo -s
$ wpa_passphrase <SSID> >> /etc/wpa_supplicant.conf
<WPA passphrase>
$ wpa_supplicant -B -D nl80211 -i wlan0 -c /etc/wpa_supplicant
$ sudo dhclient wlan0
$ sudo ip route change default via <gateway ip> dev wlan0

The last line assumes an ethernet network is already enabled, if not use add instead of change.  The sites referenced above give a detailed explanation about the commands and additional ones to check the status of the connections and devices.

Automatic Configuration on Boot

There is another method to connect to the network at startup (and possibly with ifup/ifdown), by adding the configuration to /etc/network/interfaces.  Mine looks like the following:

auto wlan0
iface wlan0 inet dhcp
    wpa-ssid "SSID"
    wpa-psk  "Password"
    post-up route change default via <gateway ip> dev wlan0


Different network IO in dstat and netstat command

I think you misunderstand what netstat does.

netstat lists open net ports/streams/sockets and active connections. While that is IO related it does not count send/received bytes.

I don't know what you mean with aggregate output but the numbers after your hostnames kafka1 and kafka2 are ports, not bytes. The only thing it can do which might give you an insight in throughput is count packets.

If you mean Recv-Q and Send-Q

the man page says this :

Recv-Q
      Established: The count of bytes not copied by the user program connected to this socket.
Listening: Since Kernel 2.6.18 this column contains the current syn backlog.

Send-Q
Established: The count of bytes not acknowledged by the remote host.
Listening: Since Kernel 2.6.18 this column contains the maximum size of the syn backlog.


There is a known bug for the wireless card for my Lenovo ThinkPad T440 running 12.04. What are my options?

The bug report you linked confirms that the driver is not included in Ubuntu 14.04. "Trusty: Confirmed." The driver can be compiled in 13.10, however it is unreliable: http://ubuntuforums.org/showthread.php?t=2206565&highlight=rtl8192ee I suggest you wait until a better driver is developed; check here and on ubuntuforums.org.

Until that time, the advice above, to get a USB wireless, is sound.


steam-launcher cannot connect to network

I have no idea why it worked, but I went Steam > Go Online... and now it resumes the download. That's weird.


How to type peso sign in Ubuntu 12.04.1?

Peso sign in Unicode is at: (U+20B1) so you can type it as Ctrl+Shift+u, on pressing this an underlined u character will appear. Now press 2+0+B+1 and press enter, you'll then get:

₱

Courtesy: https://help.ubuntu.com/community/ComposeKey#Unicode_composition
An example: https://askubuntu.com/a/12428/11932


You'll need to manually tell Ubuntu to update the icon cache. This command should accomplish that for you:

gtk-update-icon-cache -f /usr/share/icons/THEMENAME/

Replacing THEMENAME with your theme name, of course.


For what I have "Public", "Templates" and "Examples" in my home directory?

Searching on this forum fetched me the purpose of the following:

public folder: The folder is used for sharing files publicly, so your files won't be exposed.
templates folder: To provide a basic skeleton for frequently used contents.

The "examples" folder is acutally a soft link(a shortcut, in Windows terms) pointing to the /usr/share/example-content/ folder, probably to provide you files to test your video and audio cards and if you have the necessary applications and drivers to run audio and video files.
Its ok if you delete the "public" and "templates" folder and recreate them manually as you create any other folder, but remember to create in your /home/$USER/ directory; they will have the same icons. However, the "examples" file will have to be created using the terminal(open a terminal using Ctrl+Alt+t) and typing ln -s /usr/share/example-content/ Examaples. This command creates a soft link to the /usr/share/example-content/ folder(the original folder).


How to rotate background Images in Gnome-Terminal

This is a slightly tricky question, as to change the terminal background image you have to feed gconftool-2 the exact string each time (as below), i.e. the exact location of your picture. There is no way to suggest that it takes any (*) pictures from the selected folder, so the exact command must be specified each time, as in the example below:

gconftool-2 --set /apps/gnome-terminal/profiles/Default/background_image --type=string /home/mike/Pictures/Canon/2012_09_05/IMG_1130.jpg

However, you can hack together a basic terminal wallpaper changer script like I show below. In this script I declare the variables and then call them and simply use sleep to give a delay between the changes. It works, but you can expand it to include more variables and more sleep commands to last several hours or more.

It changes the background whether the terminal is running or not, as it is the equivalent of using the gconftool-2 command above on the command-line. However, in your profile you must have selected 'image' and not 'solid' background in edit > profile preferences > background image, or by running the below command:

gconftool-2 --set /apps/gnome-terminal/profiles/Default/background_type --type=string image

The default terminal profile is selected in the command, so make sure that is the one you are using or change it as you wish.

One thing to watch out for is very high resolution pictures, as gnome-terminal tends to guzzle a lot of memory if you use 2-3mb images for your wallpaper, so its best to use 200-300kb images.

Save the script in a text-editor, make it executable with chmod u+x and then you can click to execute it.

#!/bin/bash

# a very simple script to act as an automatic background-switcher for gnome-terminal

pic1="gconftool-2 --set /apps/gnome-terminal/profiles/Default/background_image --type=string /home/mike/Pictures/Canon/2012_09_05/IMG_1130.jpg"
pic2="gconftool-2 --set /apps/gnome-terminal/profiles/Default/background_image --type=string /home/mike/Pictures/Canon/2012_09_05/IMG_1155.jpg"
pic3="gconftool-2 --set /apps/gnome-terminal/profiles/Default/background_image --type=string /home/mike/Pictures/Canon/2012_09_05/IMG_1163.jpg"
pic4="gconftool-2 --set /apps/gnome-terminal/profiles/Default/background_image --type=string /home/mike/Pictures/Canon/2012_09_05/IMG_1164.jpg"

$pic1
sleep 600
$pic2
sleep 600
$pic3
sleep 600
$pic4
exit

Other alternatives

It is a very simple script and will obviously need to be restarted when the number of pictures to change runs out, so it might be better to use one of the gconftool-2 commands in cron to specify that, for example, every hour the background should be changed to a specific picture.


Boot into recovery mode. Hold Left Shift while your computer boots until the GRUB menu shows up. Pick the first "Advanced" option and then pick recovery mode. When it asks, pick the root console.

Now you're root. You can list users in a number of ways:

awk -F: '$3>999 {print $1}' /etc/passwd
cut -d : -f 1 /etc/passwd
cat /etc/passwd
ls /home/

At least one of those should give you your username.

You can then reboot (with the reboot command) and hopefully log in. If that doesn't work, you can come back and reset your password too, or create a new user.

If you want to do other things (like adding users), you'll need to remount your disk with write access:

mount -o remount,rw /


Copy a file between two Ubuntu instances

If you have created the ssh keys on the instance1 then in the /home/username/.ssh or /root/.ssh directory there will be a file called the id_rsa.pub. Take this file and copy its contents into the authorized_keys file (creating it most likely) in the other instance2 directory, reverse the procedure for the instance2 .pub file to instance1. Once done you have passwordless copying in place. This works for any account.
Without access to anything except side by side on screen or written to paper for it. Then opening of the .id_rsa.pub and writing it into the mentioned file authorized_keys. Once done in instance2 then you can copy it back from them to your  authorized_keys file, their .id_rsa.pub
There is a good amount of characters to copy and everything you see needs to be copied over into the other file exactly as it appears. On one long single line that starts with the.
ssh-rsa AAAAB3NzaC1yc

For example the start of my public key file.
Root is always disabled now I see this in your edit. You need to login as normal user then use sudo or su to become root to do anything as root. #PermitRootLogin prohibit-password needs to be Yes in your /etc/ssh/sshd_config to allow it access. Then only for the time to get a /root/.ssh/authorized_keys file in place to allow the key method to be used. You need to restart the ssh service sshd restart both times you edit the file once when enabling and the second when you disable as soon as possible, namely immediately upon the key file put in place and a logout and back in with it confirms it works.


Is my Shared Parallels Folder a Directory?

cd Desktop/shared Parallels probably needs to be cd ~/Desktop/shared and then {tab} to autocomplete (not sure if Folders is part of your directory)

A padlock also means: no permissions.

From command line:

You can check permissions with

cd ~/Desktop
ls -l|more

Watch out for "shared Parallels" and have a look at the colums left of it. There are 2 names (user and group). If they are not your name you can change it with:

sudo chown -R $USER:$USER shared{tab}

{tab} to autocomplete.

chown changes user and group to your name. The -R does the same for any file found in "shared Parallels".

You can also do this from Nautilus:

Navigate to the folder. Rightclick it and choose "properties":

Set the options here to your user with read+write. The "change permissions to enclosed files" is the same as the -R option explained above.


If Ubuntu freezes when running off a USB drive, will it freeze after full installation?

Is it possible that your freezes are related to running off the USB drive? Yes. Is it likely? *shrug*. You'd have to track down what is causing the freeze. It could be freezing because:

the usb disk is bottlenecking your throughput.
the usb disk is dying.
network manager misbehaved, causing a kernel panic.
etc..


Can you "set a persistent size for saving changes" after creating the Bootable USB?

I have been using PenDriveLinux for quite some time and remembered that there is in fact a way you can do this, but it will require you to reinstall the version you want.

Here is a post on there website: http://www.pendrivelinux.com/what-is-persistent-linux/

Hope this helps.


After installing Ubuntu 19.10, I had a similar problem connecting the Raspberry Pi 4 model to a 4k computer monitor. Adding the following lines to /boot/firmware/usercfg.txt solved it for me:

disable_overscan=1
hdmi_force_hotplug=1
hdmi_enable_4kp60=1

If this doesn't help, there is a lot of information on the Raspberry Pi github site, e.g. you can find information about video options at https://github.com/raspberrypi/documentation/blob/master/configuration/config-txt/video.md


You'd most commonly use a command line editor like nano. You need to run it as root because of where you're trying to write:

sudo nano /etc/pm/sleep.d/fglrx-fix

nano will open up allowing you to paste the code in. Control+X to exit (press Y to confirm that you want to save it and Return to confirm the filename).

Then (per the original instuctions) make it executable with:

sudo chmod +x /etc/pm/sleep.d/fglrx-fix


PHP Curl error code 60: SSL Certificate error unable to get local issuer certificate

I'm understand problems of you. Please, you downloads and use this certificate root certificate bundle:
https://curl.haxx.se/ca/cacert.pem

After you can copy and add file to use in /etc/php.ini:

curl.cainfo = "[path_cacert]\cacert.pem"

You should restart php after added line:

 service php5-fpm restart

For more details you can reading on Stack Overflow: https://stackoverflow.com/questions/21114371/php-curl-error-code-60.


How to find the IP address for a device on a network

You can do this 3 ways.

You have to know the subnet you want to scan (192.168.0.x or 10.0.0.x or what have you).

run ifconfig to see your subnet. In my examples I will use 192.168.0.255

Method 1 nmap

IMO nmap is best, as long as you do not mind installing packages

sudo apt-get install nmap

Then search by ping (nmap can of course be more complicated and this assumes you are not firewalling ping)

nmap -sP 192.168.0.*

Method 2 : use arp

ping -b 192.168.0.255

arp -a

Method 3, and perhaps an even better option, log into your router. Most routers have a web interface that will show all connected devices.

Of course these methods will not tell you what is at which IP, although nmap will try to guess the OS if you wish.

https://nmap.org/book/man-os-detection.html

May give you a clue what is at what IP, or not.


My Samsung Galaxy E700H Not Detected ! fastboot?

First boot your device up.

Check if

adb devices

Lists your device, if it does then:

adb reboot fastboot

After it boots into fastboot, then:

fastboot oem unlock

Also, you'll have more luck getting these problems solved at https://xda-developers.com


Disable Google Chrome Automatic Updates (Ubuntu 18.04)

We have decided to ditch Google Chrome and start using Chromium instead.


You need to edit the file as root user or with sudo sudo nano vsftpd.conf.
Remote access to your system can be done via ssh: ssh user@server

If you have a graphical desktop you want to view use x11 forwarding.
Make sure X11 forwarding is enabled on the server: sudo nano /etc/ssh/sshd_config
The line X11Forwarding must be set to yes.
Then ssh -X username@server on your client.


service in Ubuntu works with systemd, Upstart and SysV init so you don't have to care which kind of init configuration is used.


apt-get remove indicator-bluetooth removes lot of packages

You can't. Instead of this you can disable it.

Open System Settings → Bluetooth: Turn it off there inc. not showing in menu bar.

For reference, see: http://ubuntuforums.org/showthread.php?t=2280125


Yes, your low RAM is probably the root cause. You must have configured a swap area and your system is using your disk as extra-RAM. But a disk is 1000x slower than regular RAM and the system slows down to the point of being unresponsive.

One solution is to identify the culprit (the process that eats most of your RAM) with top and see if it is dysfonctionning in some way. Else, if this program is not essential for you, you may want to uninstall it. If this is not an option, you can start it only when you need it, and stop it when you're done with it.

Another option is to let the OOM killer (*) do its job by reducing your amount of swap. You may have 1 or 2 GB of swap. The OOM killer will start to act when your swap is full (apparently too late for you) => reduce the swap partition to 100 or 200 MB.

(*) Out-of-memory killer, a kernel process that kills the processes that are too memory hungry.


are all wifi connections in ubuntu treated as 'public' automatically?

As I understand it, "public", "work" and "home" simply turn on differing levels of a firewall-like scheme, allowing or denying services, supposedly keeping your computer safe from attack.

If you're interested in this type of "protection", you should investigate a Linux firewall configuration program like firestarter, which will allow you to do the same thing, but with much more control and understanding.

In my opinion, this isn't much use compared to running Linux and using WPA encryption to the router. If you really want security, get an encrypted VPN like airvpn (airvpn.org) for a low cost. If the connection to the router isn't encrypted, get a VPN, else everything you send is easy to intercept.


Where are the settings in Geary mail client?

This is the expected behavior under modern versions of Ubuntu.

According to the online documentation the little 'gear' icon will not be found in the expected place at the right of the toolbar with current Ubuntu, using either GNOME shell or Unity:

  The Preferences option is available in either Geary's application menu
  or the gear menu in the upper-right of the toolbar. (The location
  depends on the install desktop shell. For GNOME Shell and Unity, the
  application menu is available near the top-left corner of the screen.)

So under Unity or GNOME the 'Preferences' menu for Geary can be accessed  with the keys Ctrl+E while the 'Accounts' menu can  be accessed with Ctrl+M. Both menus are accessible by mouse from the top left corner of the screen. But no 'gear' icon...

The screenshot below illustrates the available access:

References:

Using Geary: Preferences


How to view connections on Ubuntu's Hotspot Access Point?

I found this script I have been using to monitor my hotspot connection, though it doesn't control them in any way atleast I know whose connected at any time. I use watch command to see changes that occurred in my hotspot.

# modified by romano@rgtti.com from http://wiki.openwrt.org/doc/faq/faq.wireless#how.to.get.a.list.of.connected.clients

echo    "# All connected wifi devices, with IP address,"
echo    "# hostname (if available), and MAC address."
printf  "# %-20s %-30s %-20s\n" "IP address" "lease name" "MAC address"
leasefile=/var/lib/misc/dnsmasq.leases
# list all wireless network interfaces
# (for MAC80211 driver; see wiki article for alternative commands)
for interface in `iw dev | grep Interface | cut -f 2 -s -d" "`
do
  # for each interface, get mac addresses of connected stations/clients
  maclist=`iw dev $interface station dump | grep Station | cut -f 2 -s -d" "`
  # for each mac address in that list...
  for mac in $maclist
  do
  # If a DHCP lease has been given out by dnsmasq,
  # save it.
     ip="UNKN"
     host=""
     ip=`cat $leasefile | cut -f 2,3,4 -s -d" " | grep $mac | cut -f 2 -s -d" "`
     host=`cat $leasefile | cut -f 2,3,4 -s -d" " | grep $mac | cut -f 3 -s -d" "`
     # ... show the mac address:
     printf "  %-20s %-30s %-20s\n" $ip $host $mac
   done
done


15.04 Logitech M325 scroll wheel is too sensitive

xinput list-props 9, where 9 is device id, shows "Evdev Scrolling Distance"  property, which was set to 1 1 1 by default.

I solved the problem with following command, which sets first number to higher one and makes scroll wheel less sensitive

xinput set-prop 9 "Evdev Scrolling Distance" 3 1 1


Ubuntu 18.04 stalls on shutdown. [Lenovo Legion Y520]

Try changing the greeter back to lightdm,

sudo dpkg-reconfigure lightdm

It might be the thing that fixed my problem, I have a Yoga 720. I also have changed the display driver to nvidia proprietary and update everything to the latest.


Remove unity, back to gnome and desktop crash

Someone else "may" have issue with this, but you could see if this make a difference.

mv ~/.config ~/.config.org and
mv ~/.gconf ~/.gconfig.org

logout| in.

NOTE: This WILL reset all your gnome panels!

If you don't get any better, just mv them back.

mv ~/.config.org ~/.config
mv ~/.gconf.org ~/gconf

Logout| in.


How to install graphics drivers (no additional drivers under software sources)?

When you open your Ubuntu OS connect it to internet and open 'Additional Drivers' application (via pressing the windows button and type this 'Additional drivers').....Then it shows available graphics drivers for your system.......You can have a chance to installing from there and the problem will be solved......That's it.....


Unable to establish a network connection during installation. Ubuntu 16.04 mini

Are you sure your iMac is serving IP's via dhcp? Have you tried setting the IP manually when installing via ethernet?


Filebrowser with features like different thumbnail size, improved status bar and more

There's no single file manager from what I know, which comes with all those features out of box. But let's look at alternatives we have...

First of all, why not add some functionality to nautilus itself?

Check out these links:

http://www.techdrivein.com/2010/09/6-useful-nautilus-extensions-and.html

http://www.makeuseof.com/tag/linux-68-useful-extensions-to-improve-nautilus-functionality/

Also, you may not know everything about Nautilus afterall:

http://www.howtogeek.com/117494/7-ubuntu-file-manager-features-you-may-not-have-noticed/

Nautilus is actually one of the best File Managers available, but there are many alternatives available to you:

Here's a quick list you can read:

http://www.tuxarena.com/2011/06/20-file-managers-for-ubuntu/

Also, look at this question once.

https://superuser.com/questions/56246/ubuntu-is-there-a-better-file-manager-than-nautilus

A quick glance at it suggests two very good file managers to us, which are for other desktop environments by default but are actually pretty good - like dolphin and thunar.

You can also check out this new Marlin file manager, but it's heavily based on nautilus.

http://www.unixmen.com/how-to-install-marlin-file-manager-on-ubuntu-and-linuxmint-nautilus-alternative/


How do I open weblinks with Firefox, not Gedit?

It appears I borked things when following <a tutorial> to set things up so I could just right-click files to open them in vim.

The two resources I found most helpful to figure this out were:

<This>
<And This>

There was clearly nothing wrong with the url files, as navigating to their parent directory and running the following opened them in firefox just fine:

# firefox url-name.desktop

This indicated that there was an issue with the Exec line for firefox getting run properly. I then discovered that I had a symbolic link to my firefox.desktop file by running the following in my user specific directory:

# ls -l ~/.local/share/applications/

As described in the second link, mimeapps.list is a user-specific list of default applications to be used to open various mime-types (i.e. file types).

I renamed this file to archive it, and then I created a sym-link to the defaults.list:

# ln -s /local/share/applications/defaults.list/ ~/.local/share/applications/defaults.list

Restarting firefox, and everything worked! Phew. Hopefully, this helps somebody. Now to see what I did wrong with that vim tutorial...


You can create a bin folder inside your home directory: /home/m3gn/bin Ubuntu in theory can add this directory to your path automatically.
Give the python file executable permissions, that is: chmod +x ex1.py
Move the ex1.py file to the home/m3gan/bin directory
You should be able to run the file by using only the filename: ex1.py
As a plus, since Ubuntu adds bin to your path, you will have bash completion, that is if you type e + TAB or ex + TAB or ex1 + TAB, the terminal will auto complete the rest of the filename.

If Ubuntu does not automatically add bin to your path, you can manually add it at your .bashrc file by adding the following lines:

if [ -d ~/bin ] ; then
    PATH=$PATH:~/bin
fi

Save and close .bashrc and issue: source .bashrc in terminal, it should be ok and ready for use.


You could write a function like this:

up() {
    local path i
    for (( i=0; i < $1; i++ )); do
        path+=../
    done
    cd "$path"
}

Put that in your ~/.bashrc, then you can run e.g. up 7 to go up 7 directories. You could override cd to allow cd up 7 too, but just making a new command is shorter and less hassle.


Sorry, you're out of luck unless you want to recompile it yourself. nemo/icons/thumbnail_frame.png is made with automake's "noinst_" prefix which means the image is not actually installed. Instead, what happens is the image data is compiled into the nemo binary.

If you really want to go the route of compiling your own binary (NOT TESTED, TRY AT YOUR OWN RISK):

First, remove nemo/icons/thumbnail_frame.png and also remove the reference to it in nemo/icons/Makefile.am
Install the prereq package gnome-common, which will give you gnome-autogen.sh needed for the next step.
Run autogen.sh (in the nemo-master directory). This will generate your configure script
Run ./configure in this same directory. This will tell you if you're missing any packages (you'll be missing a lot of them and it will probably depend on some cinnamon packages which aren't in the default Ubuntu repos)
Run make in this directory. This should give you your nemo binary which you can then replace your old nemo with.

Good luck!


Is there any way to install slapd in ubuntu with auto-configured TLS?

No. You will need to configure it yourself.


Sound stopped working after some minutes?

I found a workaround for now. It's described here.

Edit the file /etc/pulse/default.pa.

Find the following line:

load-module module-udev-detect

Change the line to the following:

module-udev-detect tsched=0

However, it somehow disabled pulseaudio but I don't see any disadvantage for now.


The DVD Live session does not load your hard drive by default.  The whole session is different from the session you have when you boot normally to your hard drive.

You can change your password by booting into your normal session in Rescue Mode

Perform these steps:

Reboot your computer. At the grub prompt select Advance Options for Ubuntu and press ENTER. Go into Recovery Mode. (You may have to hit esc to disable the ping screen.) Continue with:

Drop to root shell prompt
ENTER for maintenance.
Remount the root system with:

# sudo mount -o remount,rw /
# passwd "username"
# exit

Resume

You should now be at the normal login with the new password in effect.


ASUS X453M Freeze on Splash Screen on Booting or Restart / Shutdown

Change OS Selection to Windows 7 rather than 8.1
in BIOS

no matter u dual boot with 8.1

its work for me now


Unable to connect to computer from outside LAN

dig +short myip.opendns.com @resolver1.opendns.com

is a way of finding out what your IP address is on the internet by using a third-party "resolver1.opendns.com" outside your network.

Since you're behind a NAT, your machine has no way of finding out how to route these packets to you.

So long as your router supports "loopback addressing" (routing internal packets destined for your public IP back to you) your router would still need to know that those packets are destined for your internal IP address on that port. This is known as Port Forwarding.

If you add a port forward to your router for port 9999 to your internal IP address  192.168.1.4 then it might work but most SOHO modem/routers don't support this kind of behaviour since it's exceptionally unusual in normal operations.  The use case being that if you are inside the LAN, why would you not communicate via the LAN IP?

The only situation I've seen this kind of usage has been in a poorly-configured DNS resolver.  If you have a local DNS server, then it should be replying with the internal IP for local services, not sending all traffic via the internet.


I have never had any problems moving a hard disc from 1 machine to another machine. And I do this regularly. I do tend to try to match the new system with the old system though (ie. same brand but a newer model).

If applicable there is 1 concern and that is the display driver. If you use nVidia/AMD drivers and move to AMD/nVidia I suggest removing that driver first. But on a server I doubt those are active: in general the terminal itself is connected directly to the server and does not have fancy options that warrant prop. drivers.


HDD light is showing disk usage very high at times. How to investigate?

You might want to too look at the disk utility and take a look at the SMART Data, this gives you a good overall view of how healthy your disk is/isn't.


What do the symbols like =, * and | in the output of "ls -F" mean?

I believe you're talking about indicators presented by ls -F. From the manpage of ls:

-F, --classify
   append indicator (one of */=>@|) to entries

[...]

--indicator-style=WORD
   append indicator with style WORD to entry names: none (default), slash (-p),
   file-type (--file-type), classify (-F)

To get an overview of the meaning of these indicators, we have to dive into the info page as suggested at the bottom of the manpage (info coreutils 'ls invocation'):

`-F'
`--classify'
`--indicator-style=classify'
     Append a character to each file name indicating the file type.
     Also, for regular files that are executable, append `*'.  The file
     type indicators are `/' for directories, `@' for symbolic links,
     `|' for FIFOs, `=' for sockets, `>' for doors, and nothing for
     regular files.  Do not follow symbolic links listed on the command
     line unless the `--dereference-command-line' (`-H'),
     `--dereference' (`-L'), or
     `--dereference-command-line-symlink-to-dir' options are specified.

Above is an excerpt taken from the 'General output formatting' section. Go there directly using info coreutils 'General output formatting'.

TL;DR

* for executables
/ for directories
@ for symbolic links
| for FIFOs
= for sockets
> for doors
(nothing) for regular files


How to fix dpkg: error processing fusion-icon?

A solution could be to edit the dpkg status file manually:

sudo -i
gedit /var/lib/dpkg/status

Locate fusion-icon package, remove carefully the whole block of information about it and save the file.


Is an Ubuntu One account required in order to use Ubuntu 13.10?

No an Ubuntu One account is not required, and that step can be skipped.

The Ubuntu 13.10 installation wizard asks for the Ubuntu One username and password, in order to get the service automatically installed, so in case you do have an account.


"systemctl suspend-then-hibernate" without asking for root permissen

Can answer the first part: The addition in /etc/sudoers was wrong. I don't clearly understand the difference but adding this line to /etc/sudoers.d/myfile helps.

The question howto replace the default suspend by suspend-then-hibernate is still open.