Greatest Hits

35
votes
18answers
110k views

Shut down computer from keyboard

Is there a keyboard shortcut available to shutdown the computer? I know I can use the Power button, but I would like to be able to it from the keyboard. If such a shortcut does not exist already, ...
50
votes
16answers
137k views

How to install Internet Explorer (multiple versions)?

I am developing one site which has chat feature in Rails. I am using Ubuntu 12.04 LTS. I need to check that the site is IE9 because the chat feature using socket io of HTML5. I want to know that how ...
34
votes
2answers
152k views

How can I uninstall a nvidia driver completely ?

As expected, Nvidia drivers have reduced my customizations. I can't login to Unity 3D session. I can't find any content to help me to uninstall the driver and I don't know what to do as I have never ...
67
votes
16answers
182k views

How do I install Adobe Flash player?

I have had significant problems with watching flash video in 64-bit Ubuntu. Does anyone know of a good way to get flash running on the platform?
52
votes
4answers
204k views

How to access a usb flash drive from the terminal? (How can I mount a flash drive manually?)

I only have access to the command line I need to backup my data (on the user folder) to a pen. I don't know where/how can I do this is order to access the pen, and then do the cp command. How can ...
42
votes
13answers
114k views

“Failed to spawn mysql main process: unable to execute: No such file or directory”

I'm a newbie on MySQL ground so bear with me. I've just finished upgrading 11.10 to 12.04. Everything seemed to work without any hiccups and all my software and settings are working fine. Apart from ...
80
votes
3answers
74k views

How do I deal with “unauthenticated sources” errors in the Software Center?

Any install that I'm trying through the Software Center is telling me: Requires installation of untrusted packages: The action would require the installation of packages from not authenticated ...
56
votes
10answers
120k views

How to fix missing GPG keys?

I have just installed Ubuntu 12.04 and I added some repo and when apt-get update i got missing gpg key. Following command seems to doesn't work for me: apt-get update 2> /tmp/keymissing; for key ...
94
votes
3answers
238k views

How to create a soft or symbolic link?

I am installing p4v in /opt, but /usr/bin is on my path. Is it possible to create a soft or symbolic link for p4v from /opt to /usr/bin, so I can just type "p4v" since /usr/bin is in my path?
40
votes
3answers
39k views

Missing System Settings after removing some packages

I installed or uninstalled some packages. I do not even remember what I was doing. As a result, now I can't see most of the system settings in settings window. Any idea how to solve this problem. ...
59
votes
6answers
226k views

Where is the X.org config file? How do I configure X there?

As Ubuntu 10.10 seems to neither detect my graphics card (Intel 82852/855GM) automatically nor use the corresponding Intel driver even after manually installing it, I am looking into manually ...
13
votes
6answers
50k views

Trying to install Steam ERROR: You are missing the following 32-bit libraries, and Steam may not run: not

I've ALready installed Steam But when i click on the program i get this message ERROR- You are missing the following 32-bit libraries, and Steam may not run: not I dont know what to install or EVEN ...
248
votes
38answers
179k views

How can I improve Ubuntu overall system performance?

What are your tips for improving overall system performance on ubuntu? Inspired by this question I realized that some default settings may be rather conservative on Ubuntu and that it's possible to ...
31
votes
6answers
110k views

How to run an Android emulator in Ubuntu 13.04

Is there any way of doing this in 13.04? If so, can you also provide a step-by-step instruction on how to do it ?
56
votes
2answers
120k views

How to increment a variable in bash?

How to increment a numeric variable in bash? I tried with var=$var+1 and var=($var+1) but it doesn't work. My variable is a number, but bash think that is a string. My bash version is ...
72
78
votes
10answers
103k views

How do I fix the GPG error “NO_PUBKEY”?

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following: GPG error [...] NO_PUBKEY [...] I know I can fix ...
285
119
votes
12answers
227k views

How can you log out via the terminal?

Is there a command, that will take you back to the login screen?
86
votes
6answers
123k views

How do I install LibreOffice 4?

I want to download and install LibreOffice 4. How can I do this?
66
votes
10answers
117k views

Unable to mount Windows (NTFS) filesystem due to hibernation

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount. When I try to enter my Windows partition through Nautilus I ...
33
votes
7answers
91k views

How do I delete the entire history (Recently Used Items) in the dash?

I want to delete all the history of the unity dash about files, videos, text files, images, etc. I find it surprising that the best thing that activity log manager can do is to delete the history of ...
25
votes
6answers
145k views

How to fix “sudo: unable to open … Read-only file system”?

The title might not be as descriptive as I would like it to be but couldn't come up with a better one. My server's file system went into Read-only. And I don't understand why it does so and how to ...
132
votes
12answers
106k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
277
138
votes
11answers
331k views

How do I install and use the latest version of GNOME?

I followed the instructions for compiling GNOME Shell and it did compile with a few errors here and there but it didn't run. I installed GNOME Shell using sudo apt-get install gnome-shell but I got ...
15
votes
5answers
103k views

Install Skype on Ubuntu 12.04 LTS 64-bit

Since weeks ago I'm trying to install Skype on my computer. I imagined it would be a straight forward task but it is becoming a nightmare. What I have tried so far: Installing from command line with ...
160
votes
5answers
225k views

How do I set up a Cron job?

How do I add Cron jobs in Ubuntu?
193
98
votes
1answer
190k views

How do I configure swappiness?

I need Step by Step, simple and easy way to configure swappiness.
153
38
votes
11answers
85k views

How do I add minimize / maximize buttons to GNOME shell windows?

Just installed Ubuntu 12.04, then I did sudo apt-get install gnome-shell and windows have only a close button, how can I enable minimize / maximize? The old gconf-editor doesn't seem to work cause ...
43
votes
8answers
66k views

How to change LCD brightness from command line (or via script)?

To work around bug #1005495 (changing LCD brightness via hotkeys impossible), I'd like to have one command line query for increasing and one for reducing the brightness of my LCD. I could then map a ...
35
votes
6answers
74k views

Chromium 34 and later cannot detect flash plugin

I've deleted ~/.macromedia and ~/.adobe contents and after a restart chromium can't detect flash plugin. It works just fine in Firefox I have only Chromoting Viewer on chrome://plugins/ ...
121
votes
21answers
91k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
75
votes
6answers
159k views

How do I find the kernel version, Ubuntu release and disk partition information from the terminal?

Which commands will give me information about following? Kernel Version Distribution version no. All partition size of the HDD in Terminal
28
votes
4answers
73k views

How to enable exFAT in Ubuntu 14.04

I just installed Ubuntu 14.04 and I can't mount my exFAT HDD. I get the following error: Unable to access “SeagateHDD” Error mounting /dev/sdb1 at /media/me/SeagateHDD: Command-line `mount -t ...
90
votes
2answers
168k views

How to enable mod_rewrite in Apache?

I just installed the LAMP stack on my Ubuntu system. The redirection is not working for me. I don't know how to fix it. Can anyone help me?
201
35
votes
4answers
137k views

How do I uninstall Mysql?

I installed Mysql using sudo apt-get. Now I need to remove it from my system. How can I do that?
78
votes
5answers
177k views

How to check hard disk performance

How to check the performance of a hard drive (Either via terminal or GUI). The write speed. The read speed. Cache size and speed. Random speed.
16
votes
9answers
32k views

Adobe Flash Plugin is vulnerable/outdated but there is no update in Firefox

I am using Ubuntu 14.04 LTS. When I open a site which requires flash plugin (e.g. Youtube), Firefox says This plugin is vulnerable and should be updated. However if I click Check for updates... ...
31
votes
1answer
119k views

How can I install GTK themes on Ubuntu?

How can I install themes in ubuntu 12.10 ? For example, how can I install the following themes on ubuntu: GrayDay Elegant+Eggplant
183
28
votes
4answers
200k views

mount: you must specify the filesystem type

I want to mount a partition to an auxiliary folder via mount to fix a damaged grub. I used the command. sudo mount /dev/sdb2 /home/ubuntu/temp and got as error: mount: you must specify the ...
112
20
votes
4answers
71k views

How to set up nVidia Optimus/Bumblebee in 14.04

The previous methods i have used to set up Bumblebee on 13.10 based distributions is not working under Ubuntu 14.04 . How can I set up Bumblebee and Bumblebee GUI in Ubuntu 14.04 ?
12
votes
6answers
66k views

likewise-open | 14.04 | other easy way to connect AD?

we use a lot of Linux-Servers with active-directory membership for user-authentication. This are made with the likewise-open packet. We tested the beta-Version of ubuntu Server 14.04 LTS. Everything ...
79
votes
4answers
157k views

How to setup an Access Point mode Wi-Fi Hotspot?

How to setup an Access Point mode Wi-Fi Hotspot? Point to be noted: Wireless hotspots aren't same as ad hoc networks. Significant difference is there. In short, ad hoc networks aren't ...
49
votes
4answers
121k views

Unable to correct problems, you have held broken packages

After upgrading from 10.04 to 12.04 I am trying to install different packages. For instance ia32-libs and skype (4.0). When trying to install these, I am getting the 'Unable to correct problems, you ...
170
47
votes
6answers
56k views

Docker. How to get bash\ssh inside runned container (run -d)?

I want to ssh or bash into runned docker container. Please, see example: $ sudo docker run -d webserver webserver is clean image from ubuntu:14.04 $ sudo docker ps CONTAINER ID IMAGE ...
18
votes
4answers
98k views

unzip error “End-of-central-directory signature not found”

I try to unzip a zip file, but got an error: $ unzip COCR2_100.zip Archive: COCR2_100.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one ...
252
31
votes
8answers
132k views

What are the alternatives to Notepad++ on Ubuntu?

I use Notepad++ on Windows 7 and I want to know if there is a good substitution for it on Ubuntu. I want something that is good for editing html files.
8
votes
4answers
144k views

Apt-Get Update: failure to fetch; can't connect to any sources

I realize there are dozens of "apt-get update: failure to fetch" questions (I read through all I could find), but my present circumstance is unique to 12.04 and it affects all sources; not just ...
78
votes
6answers
87k views

How can I recursively delete all files of a specific extension in the current directory?

How do I safely delete all files with a specific extension (e.g. .bak) from current directory and all subfolders using one command-line? Simply, I'm afraid to use rm since I used it wrong once and now ...
29
votes
2answers
93k views

How do I install Chromium from the command line?

I have already tried using the Ubuntu Software Center, but it won't install the Chromium browser. How can I install it using the terminal?
18
votes
2answers
34k views

Ubuntu 14.04 not booting after error message. /tmp could not be mounted

I recently installed Ubuntu 14.04 using WUBI and after installation when it booted it showed an error: Serious errors were found while checking the disk drive for /. There were three options: ...
14
votes
5answers
130k views

What is a command to compile and run C++ programs?

I am new to Linux. I am using Ubuntu 11.04 and do not know how to compile and execute C++ program in it. I need to know the commands to Compile and Execute a C++ program in Linux.