Greatest Hits

314
votes
22answers
267k views

How can PPAs be removed?

I've added many PPAs using the add-apt-repository command. Is there a simple way to remove these PPAs? I've checked in /etc/apt/sources.list for the appropriate deb lines but they aren't there. This ...
515
65
votes
5answers
165k views

Complete Installation Guide for Android SDK / ADT Bundle on Ubuntu

What all needs to be done to install Android SDK / ADT Bundle on Ubuntu? Each of the steps in the answer was found on some different forum as I encountered obstacles getting started with my Android ...
284
votes
15answers
378k views

How to add a directory to my path?

How do I add a directory to my $PATH in Ubuntu and make the changes permanent?
125
votes
8answers
310k views

What does “sudo apt-get update” do?

I am wondering what sudo apt-get update does? What does it update?
101
votes
1answer
156k views

Installed Teamviewer using a 64-bits system, but I get a dependency error

I was trying to install Teamviewer, but I was getting a dependency error. I tried to install them, but with no luck. I'm getting this error: Unpacking teamviewer (from teamviewer_linux_x64.deb) ... ...
124
votes
7answers
144k views

Is FFmpeg missing from the official repositories in 14.04?

I tried to install ffmpeg in trusty/Ubuntu 14.04 and got the following message: $sudo apt-get install ffmpeg Reading package lists... Done Building dependency tree Reading state ...
148
votes
14answers
169k views

How do I fix my locale issue?

I am getting this message every time I do something like starting or stopping a service. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: ...
56
votes
3answers
189k views

How do I install python 2.7.2 on Ubuntu?

I want to install python 2.7.2.tgz on Ubuntu, downloaded from http://python.org/download/. Is this a correct way to install : ./configure make make install If not , how can I do that?
484
166
votes
6answers
269k views

How do I uncompress a tarball that uses .xz?

I'm used to extracting tarballs with a -xfz flag, which handles gzip and bzip2 archives. Recently I've run into a .tar.xz file and I would like to uncompress it in one step using tar, how can I do ...
78
votes
6answers
168k views

A command to list all users? And how to add, delete, modify users?

I need a command to list all users in terminal. And how to add, delete, modify users from terminal. That could help in administrating your accounts easily by terminal.
137
votes
6answers
103k views

How to patch the Heartbleed bug (CVE-2014-0160) in OpenSSL?

As of today, a bug in OpenSSL has been found affecting versions 1.0.1 through 1.0.1f (inclusive) and 1.0.2-beta. Since Ubuntu 12.04, we are all vulnerable to this bug. In order to patch this ...
102
votes
16answers
230k views

How do I set Windows to boot as the default in the boot loader?

How do I set the bootloader so that in my dualboot with Windows 7/Ubuntu 11.04, Windows start up as standard instead of Ubuntu?
435
187
votes
3answers
351k views

Where is the cron / crontab log?

I want to verify if my cron job is executing and what time. I believe there is a log for my sudo crontab -e jobs, but where? I searched google and it I found references to look in /var/log ...
71
votes
16answers
103k views

Ubuntu gets stuck in a Login Loop

My problem: As you can guess my Ubuntu is stuck in a login loop when trying to enter my desktop. Means the screen gets black and soon after that the login screen comes back. I'm a Ubuntu Newbie so if ...
170
votes
4answers
141k views

How do I turn on workspaces? (Why do I only have one workspace?)

It appears that Unity on Raring only comes with a single virtual desktop (aka workspaces) by default, and CCSM's Wall plugin has no way to add more. Is this configurable at all?
61
votes
8answers
66k views

Skype can't connect

After I restarted my computer to finish a upgrade, I could not log in at Skype anymore. It only shows the message: Skype can't connect. If I try web version it works. I'm using Skype 4.2.
200
48
votes
9answers
145k views

How to completely uninstall Java?

How can I completely remove all traces of Java on my system? I already know how to install it in case I need it again.
238
votes
13answers
259k views

How do I resolve unmet dependencies after adding a PPA?

Occasionally, when I'm installing stuff, I get an error like the following: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the ...
230
votes
19answers
177k views

Flash video appears blue

The Problem After updating to Ubuntu 12.04 from Ubuntu 11.10, all video is still blue, whether playing in a browser or a player. Same problem occurs in 11.10 as well. I have tried to uninstall all ...
84
votes
4answers
364k views

How do I rename a directory via the command line?

I have got the directory /home/user/foo and I want to rename it to /home/user/bar. How can I do this in a terminal?
9
votes
3answers
191k views

How to install Synaptic Package Manager?

I tried to install Synaptic Package Manager but I get the following error message: Package dependencies cannot be resolved. This error could be caused by required additional software packages which ...
47
votes
9answers
109k views

VirtualBox '/etc/init.d/vboxdrv setup' issue

I have installed VirtualBox through the software centre, but when I try to start a VM, I get the following error: Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver ...
146
votes
10answers
378k views

How do I install Guest Additions in a VirtualBox VM?

I've recently installed Ubuntu on Oracle's Virtualbox. Now I want to install the guest additions. I started up my Ubuntu guest OS, clicked "Devices" and chose "Install Guest Additions". Nothing ...
386
votes
11answers
323k views

What are Unity's keyboard and mouse shortcuts?

In Unity, are there any pre-defined shortcuts, e.g. to open the dash or unhide the launcher?
6
votes
3answers
55k views

How to type the Indian Rupee Symbol?

I want to type the Indian Rupee Symbol. So I went to System Settings >> Keyboard Layout and clicked on the Options button. Under the Adding Currency signs to keys sections, I checked the Rupee on 4 ...
230
votes
32answers
250k views

How do I remove or hide old kernel versions to clean up the boot menu?

Every time I install a new Linux kernel, it gets left in the grub_config, making the boot menu longer each time. I know I can manually search through the installed packages and remove them. Does ...
402
71
votes
8answers
182k views

How do I install Python 3.3?

I have downloaded Python 3.3 from the official site but no idea how to install it. I'm using Ubuntu 12.04
30
votes
5answers
127k views

How do I fix a “Wireless is disabled by hardware switch” error?

I just updated to Ubuntu 12.04 from 11.10 but soon after updating I was disappointed to see that Wireless is disabled by hardware switch. I can not click the button 'Enable wireless' which is ...
38
votes
12answers
87k views

How do I resolve a “Cannot open shared object file libudev.so.0” error?

Trying to run Game Dev Tycoon on Ubuntu 64. It asks for the above object. I ran sudo apt-get install libudev1:i386 and it came back already installed. I have /lib/i386-linux-gnu/libudev.so.1 but no ...
89
votes
6answers
307k views

How to format a USB or external drive?

Using Ubuntu 11.10, how do I format an external or USB drive? I don't find an option to 'format' when I right click. In the new version, the drives don't come up on the desktop but instead come on ...
274
307
votes
7answers
341k views

How to enable or disable services?

I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them. The first method I found is update-rc.d to add new services to startup, ...
80
votes
9answers
305k views

How to burn a .iso to a USB device?

I want to burn a Windows ISO to a USB device in Ubuntu. How do I do this? I know how to burn a Ubuntu ISO into a USB device, but with a Windows ISO it's not the same.
262
89
votes
8answers
311k views

How to use “grep” command to find text including subdirectories

I want to find all files which contain a specific string of text. The grep command works, but I don't know how to use it for every directory (I can only do it for my current directory). I tried ...
45
votes
11answers
237k views

How do you run Ubuntu Server with a GUI?

Trying to run a Ubuntu server for the first time.. But everything is in a terminal, is there a way to switch to a Gui? Also, the server doesn't have direct access to the internet.. So, is there a way ...
320
269
votes
11answers
425k views

How can I configure Unity?

Are there any configuration options for the Unity desktop? There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an index of each below ...
180
81
votes
16answers
154k views

Command for determining my public IP?

If I check with google, I can see my public IP. Is there something on the Ubuntu command-line which will yield me the same answer?
12
votes
5answers
92k views

How to enable ssh root access on Ubuntu 14.04

I´d like to enable the ssh root access on Ubuntu 14.04. Editing the /etc/ssh_config (PermitRootLogin yes) didn't affect anything.
110
204
votes
7answers
175k views

How do I determine the total size of a directory (folder) from the command line?

Is there a simple command to display the total aggregate size (disk usage) of all files in a directory (folder)? I have tried these, and they don't do what I want: ls -l, which only displays the ...
156
votes
14answers
116k views

How to pin Eclipse to the Unity launcher?

How can I pin eclipse indigo 3.7 I have 'installed' at /opt/ to the taskbar? I have tried launching eclipse and right-clicking to choose the 'keep in launcher' option. But when I click that icon, ...
68
votes
8answers
188k views

How to force a clock update using ntp?

I am running Ubuntu on an ARM based embedded system that lacks a battery backed RTC. The wake-up time is somewhere during 1970. Thus, I use the NTP service to update the time to the current time. I ...
206
205
votes
12answers
60k views

How do I disable mouse magnet on middle edge with multi monitors?

I use Ubuntu 12.04 on a two screen setup. Multiscreen on 12.04 has generally become much better, but there is one thing that really gets on my nerves: there's a mouse magnet of sorts on the middle ...
71
votes
15answers
163k views

Higher screen resolution for VirtualBox?

I have been trying this for a while but no luck. I installed ubuntu-11.10-desktop-i386 twice. Also installed guest additions. However I always get maximum screen resolution as, 1024 x 768. Do I need ...
273
votes
15answers
221k views

How can I edit/create new launcher items in Unity by hand?

Will Unity allow making custom launcher icons from .desktop files or via menu editing system? (Right now the launcher doesn't give the option to "keep in launcher" on all programs. For some programs ...
131
votes
8answers
248k views

How do I find the amount of free space on my hard drive?

Is there a way to quickly check the amount of free / used disk space in Ubuntu? I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but ...
22
votes
1answer
247k views

How to copy files via terminal?

I have read about copying files with terminal but these examples will help me a lot. So here is what I want to do: Examples: I have a file in /home/levan/kdenlive untitelds.mpg and I want to copy ...
42
votes
11answers
90k views

How can I move all the window controls to the right (or left)?

Downloaded Ubuntu tweak and set window controls to the right side. Only some programs follow the rule. Pidgin as an example has window controls on the right. But Chrome, Thunderbird, Geany, still have ...
377
154
votes
7answers
156k views

How to install software or upgrade from an old unsupported release?

Recently I have installed an older version of Ubuntu on my old machine. When ever I am trying to install any software it is giving error sudo -i apt-get install vlc The error being flagged is under ...
53
votes
4answers
349k views

How do I start/stop mysql server?

I try find in internet some article where describe how correct start -stop mysql server. I find this article: How to start/stop MySql server on Ubuntu 8.04 | Abhi's Blogging World I run this ...
134
304
votes
42answers
192k views

What should I do when Ubuntu freezes?

All operating systems freeze sometimes, and Ubuntu is no exception. What should I do to regain control when... just one program stops responding? nothing at all responds to mouse clicks or key ...
146
votes
14answers
112k views

How do I free up more space in /boot?

My /boot partition is nearly full and I get a warning every time I reboot my system. I already deleted old kernel packages (linux-headers...), actually I did that to install a newer kernel version ...