Greatest Hits

57
votes
8answers
86k 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 ...
71
votes
11answers
220k 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 ...
45
votes
4answers
106k 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 ...
113
votes
4answers
288k 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?
41
votes
8answers
177k 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.
27
votes
2answers
110k views

How do I install drivers for the Atheros AR8161 Ethernet controller?

I have installed Ubuntu 12.04-64 bit on my Lenovo IdeaPad laptop, and the wired Ethernet (LAN) connection doesn't work. Running the lspci -vv | grep Atheros command from the terminal shows me I have ...
73
votes
2answers
56k 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 ...
65
votes
4answers
159k views

How to install gcc-4.8

I checked the gcc version on my system. It is currently at 4.6.3. I read that gcc-4.8 is out. I tried the following commands without success: sudo apt-get install gcc (gcc is already the newest ...
58
votes
4answers
85k views

Requires installation of untrusted packages?

I tried installing VLC Player yesterday, and I got the Requires installation of untrusted packages error. I searched for hours for a solution to this problem, and finally came upon a suggestion that ...
220
votes
11answers
122k views

How can I remove Amazon search results from the dash or disable the feature?

How can I disable Amazon search results in the Unity dash?
78
votes
5answers
55k views

No Dropbox icon in the indicator panel?

I have recently installed Ubuntu on my machine and everything has been working fine, except I don't see the Dropbox indicator. I have installed and re-installed Dropbox multiple times and can confirm ...
33
votes
8answers
151k views

How to install vmware tools?

I installed my Ubuntu in vmware, no I need install vmware tools, I got error: Searching for a valid kernel header path... The path "" is not valid. Would you like to change it?[yes] In ...
70
votes
12answers
192k 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 ...
71
votes
18answers
222k 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?
226
votes
5answers
203k views

What is the 'whoopsie' process and how can I remove it?

On one of my machines I have a process running called "whoopsie". I'm running 12.04 server and never specifically installed anything with this name. Google seems to imply that it has something to ...
25
votes
1answer
148k views

How to solve jitter (or stutter) playback via Chrome flash plugin?

Since the update to 12.04, there's been a problem specifically related to audio/video playback in Google Chrome. The problem only affected the Google version but not the Chromium nor the Firefox ...
117
votes
1answer
231k views

How do I configure swappiness?

I need a step-by-step, simple and easy way to configure swappiness.
179
267
votes
40answers
208k 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 ...
40
votes
2answers
177k 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 ...
186
votes
6answers
21k views

How can I make my shell prompt look like a cheeseburger?

I want my shell prompt to look like a cheeseburger! 🍔🍔🍔 It would be nice if it also displayed: username, hostname, and current directory.
68
votes
10answers
139k 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 ...
93
votes
6answers
214k 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.
6
votes
4answers
80k views

Broadcom B43 WiFi not working in Ubuntu 14.04 LTS

I have installed Ubuntu 14.04 LTS on my laptop. Under the networking menu at the top, it is not showing any WiFi options. How can I get Wifi working in Ubuntu 14.04 LTS? I have a Broadcom BCM4311 ...
97
votes
6answers
193k 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
31
votes
7answers
131k views

How to create a bootable Ubuntu USB flash drive from terminal?

Is there any way to create a bootable Ubuntu USB flash drive from the terminal without using any third-party applications like YUMI,Unetbootin, etc. I tried to create a bootable Ubuntu flash drive ...
15
votes
5answers
104k views

“Unable to locate package” while trying to install packages by apt

When I try to install any package through the command line, I get an error. Can anyone help me on this? $ sudo apt-get install <package> Reading package lists... Done Building dependency tree ...
64
votes
6answers
59k views

How can I update my nodeJS to the latest version?

I have installed nodeJS on Ubuntu with following code sudo apt-get install nodejs Since I am a new user for ubuntu I also ran this code too sudo apt-get install npm Now when I type nodejs ...
266
45
votes
5answers
165k 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?
134
votes
12answers
257k views

How can you log out via the terminal?

Is there a command, that will take you back to the login screen?
143
votes
4answers
204k 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 ...
210
59
votes
5answers
152k 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 ...
203
8
votes
1answer
207k 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 ...
110
votes
5answers
223k 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?
235
15
votes
7answers
60k 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 don't know what to install or ...
148
votes
21answers
107k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
23
votes
3answers
80k 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 ...
82
votes
6answers
176k 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?
219
63
votes
7answers
252k 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 ...
37
votes
7answers
216k 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: ...
214
158
votes
2answers
205k 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 ...
184
11
votes
1answer
109k 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
5answers
231k 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 ...
137
19
votes
15answers
95k 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 ...
25
votes
4answers
115k 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 ...
295
15
votes
4answers
162k 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.
43
votes
7answers
174k 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 ...
90
votes
4answers
185k 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 ...
38
votes
7answers
101k 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 ...
12
votes
4answers
167k 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 ...
46
votes
5answers
227k views

Adding SSH Keys to Authorized_Keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of the authorized_keys file for SSH. Luckily I have an SSH open, so I am still ...