Greatest Hits

36
votes
18answers
113k 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, ...
61
votes
2answers
132k 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 ...
75
79
votes
10answers
108k 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 ...
304
42
votes
7answers
165k views

Installing Chrome Java Plugin

I've been trying to install the Java plugin for Chrome for a couple hours now, and I figured it was time to ask people with more experience. I can't seem to get it working. My current Java version is ...
152
votes
2answers
191k views

How do I install latest PHP in supported Ubuntu versions (like 5.4.x in Ubuntu 12.04)?

I am trying to update to php 5.4 in Ubuntu 12.04, and I can only get 5.3.6 using official repositories (using apt-get). I'm not really sure how to do a manual update – I'm sorta new to ubuntu, but I ...
177
35
votes
2answers
156k 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 ...
99
votes
3answers
247k 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
41k 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. ...
66
votes
10answers
122k 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 ...
253
votes
39answers
185k 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 ...
67
votes
17answers
188k 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?
56
votes
10answers
123k 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 ...
13
votes
6answers
52k 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 ...
50
votes
16answers
139k 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 ...
140
votes
12answers
109k 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?
294
80
votes
3answers
75k 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 ...
59
votes
6answers
231k 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 ...
120
votes
12answers
233k views

How can you log out via the terminal?

Is there a command, that will take you back to the login screen?
26
votes
6answers
151k 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 ...
30
votes
4answers
80k 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 ...
42
votes
13answers
115k 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 ...
167
votes
5answers
234k views

How do I set up a Cron job?

How do I add Cron jobs in Ubuntu?
200
47
votes
8answers
70k 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 ...
31
votes
6answers
112k 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 ?
104
votes
1answer
198k views

How do I configure swappiness?

I need Step by Step, simple and easy way to configure swappiness.
155
81
votes
6answers
166k 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
33
votes
7answers
92k 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 ...
82
votes
6answers
94k 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 ...
86
votes
6answers
125k views

How do I install LibreOffice 4?

I want to download and install LibreOffice 4. How can I do this?
92
votes
2answers
176k 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?
208
38
votes
11answers
87k 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 ...
36
votes
8answers
140k 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.
82
votes
5answers
184k 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.
59
votes
2answers
42k views

Why this occurs error: Diskfilter writes are not supported

This message occurs when leaving the Grub menu and before the Ubuntu splash screen. How do I fix the problem to clear the message? And what doe is it mean? error: Diskfilter writes are not ...
127
votes
21answers
94k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
38
votes
5answers
142k 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?
28
votes
4answers
205k 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 ...
117
138
votes
11answers
332k 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 ...
79
votes
4answers
162k 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 ...
15
votes
5answers
104k 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 ...
35
votes
6answers
78k 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/ ...
19
votes
4answers
101k 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 ...
265
10
votes
1answer
89k views

How to install g++ compiler?

I have tried the following: sudo apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest ...
12
votes
6answers
70k 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 ...
49
votes
4answers
127k 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 ...
174
31
votes
1answer
121k 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
185
13
votes
4answers
75k views

What do I need for remotely accessing my Ubuntu 14.04 machine?

I am at a loss as to how to set up my machine for remote connection. Do I need to install a VNC server (which one?) or is Vino (installed by default) enough? I opened Desktop Sharing Preferences ...
8
votes
4answers
148k 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 ...
21
votes
5answers
74k 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 ?
58
votes
2answers
105k views

How to add programs to the launcher?

How can I add new programs to the launcher in Ubuntu?
201