Greatest Hits

22
votes
3answers
76k views

Flash player not working in 14.04 LTS

Clean install of 14.04 LTS. Single OS. Have installed Chrome for linux, updated, removed, reinstalled 14.04 LTS. No flash. I have done everything from every site I can find, nothing. Using Chrome I ...
37
votes
18answers
118k 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, ...
67
votes
11answers
206k views

How do I mount shared folders in Ubuntu using VMware tools?

Experts. I've successfully installed VMware tools for Ubuntu. Everything seems to work fine, but shared folders were not mounted automatically. How do I get them to work? If I run vmware-hgfsclient ...
68
votes
12answers
179k views

How do I include lines in resolv.conf that won't get lost on reboot?

I have finally migrated to 12.04 from 7.10. I have one last part to complete but I am stumped. I am using Puppet on each server, and in the past I have included a nameserver address and a search ...
87
votes
6answers
106k 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 ...
177
votes
5answers
253k views

How do I set up a Cron job?

How do I add Cron jobs in Ubuntu?
217
107
votes
4answers
263k 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?
144
votes
12answers
116k 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?
313
26
votes
7answers
162k 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 ...
19
votes
15answers
94k views

No sound in Ubuntu except at log in

I installed Ubuntu 12.04 a month ago and am using it till now. I failed to notice that all this time there was no sound at all while running Ubuntu, even while playing a game in Wine. The weird thing ...
34
votes
4answers
91k 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 ...
37
votes
2answers
165k 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 ...
51
votes
5answers
97k views

How to install OpenJDK 8 on 14.04 LTS?

IMPORTANT: If you need this backported to 14.04, vote for this bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1341628 Java 8 is now available according to ...
81
votes
6answers
170k views

What happened to the ia32-libs package?

The ia32-libs package is no longer present in Ubuntu 12.04 repositories for a 64bit system. Are there any available replacement packages available for download?
214
258
votes
40answers
195k 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 ...
53
votes
8answers
76k 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 ...
99
votes
2answers
189k 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?
227
37
votes
8answers
154k 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.
61
votes
10answers
130k 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 ...
69
votes
17answers
200k 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?
42
votes
7answers
169k 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 ...
156
votes
2answers
197k 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 ...
178
14
votes
6answers
55k 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 ...
110
votes
1answer
211k views

How do I configure swappiness?

I need a step-by-step, simple and easy way to configure swappiness.
162
87
votes
5answers
196k 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.
86
votes
6answers
176k 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
62
votes
6answers
240k 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 ...
62
votes
2answers
48k 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 ...
126
votes
13answers
243k views

How can you log out via the terminal?

Is there a command, that will take you back to the login screen?
39
votes
5answers
152k 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?
51
votes
16answers
141k 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 ...
35
votes
7answers
96k 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 ...
135
votes
21answers
99k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
52
votes
4answers
137k 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 ...
186
28
votes
4answers
216k 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 ...
124
84
votes
4answers
171k 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 ...
44
votes
13answers
117k 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 ...
9
votes
4answers
156k 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 ...
23
votes
4answers
106k 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 ...
276
32
votes
6answers
116k 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 ?
39
votes
11answers
90k 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 ...
10
votes
1answer
97k 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 ...
34
votes
7answers
198k views

SSH connection problem with “Host key verification failed…” error

I can connect to another Ubuntu machine in my LAN via SSH. On both of then PC's I installed openssh-server but from another Ubuntu computer I can not connect to my PC via SSH and I got this error: ...
195
15
votes
4answers
85k 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 ...
13
votes
6answers
77k 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 ...
117
votes
4answers
178k views

Add user to existing Group

I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing: $ sudo useradd -G audio ...
191
36
votes
6answers
84k 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/ ...
87
votes
6answers
128k views

How do I install LibreOffice 4?

I want to download and install LibreOffice 4. How can I do this?
5
votes
1answer
179k views

How can I chmod 777 all subfolders of /var/www?

I’m running a webserver and FTP server, wherein /var/www is bound to /home/user/www. I set both directories to chmod 777 (which is fine since it’s for testing only). I can upload files into ...
99
votes
5answers
199k views

How do I install curl in php5?

I currently have PHP 5.3 installed with Apache in 10.04 Lucid. How can I add the PHP Curl libraries? Do I need to install any other dependencies for curl?
212