Greatest Hits

210
votes
38answers
114k views

How can I improve 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 ...
24
votes
20answers
72k views

How can I access Flash files from streaming websites?

In Maverick, there was an option to download Flash videos from sites like YouTube, Vimeo, etc. by copying the flashxx** file in /tmp directory to another location before closing the window. But in ...
15
votes
6answers
35k 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 ...
24
votes
23answers
49k views

How to fix Duplicate sources.list entry?

I keep getting this warning whenever I try to run sudo apt-get update. W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages ...
73
votes
6answers
75k views

How to install software or upgrade from 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 ...
146
votes
4answers
105k views

How to upgrade a single package using apt-get?

How do I update a single package? As far as man apt-get says apt-get upgrade doesn't take a package/list of packages as parameter: upgrade upgrade is used to install the newest versions of ...
144
24
votes
8answers
99k views

Desktop shortcut to create a new desktop shortcut doesn't do anything

It's weird that creating desktop shortcuts is currently so primitive. I found the following: Create Shortcut / launcher on Desktop in Ubuntu 12.04 That helps. However, if there's something wrong ...
28
votes
7answers
80k 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 ...
7
votes
6answers
28k views

Wifi problems after upgrading to 13.10

I just upgraded to Ubuntu 13.10, but since the upgrade I don't have internet access via wifi anymore. I can: See networks Connect to a network Ping myself (localhost, 192.168.0.103) I can't: ...
27
votes
7answers
59k views

USB drive install of Ubuntu 12.04 Server fails - can't find components from CD-ROM

I'm trying to install Ubuntu 12.04 Server (32bit) on a machine here using a USB stick. I used the Universal-USB-Installer-1.8.9.4 which has support for 12.04 server to get the ISO onto the USB drive. ...
8
votes
3answers
74k 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.
8
votes
4answers
109k views

How do I login as root?

I want to login as root, but when I enter sudo -s and enter password, this message is shown: "you are not in sudoers file", and when I enter su and enter password, this is shown: ...
107
11
votes
2answers
98k views

Install gcc on Ubuntu 12.04 LTS

When I try to install gcc on Ubuntu 12.04 LTS Server with apt-get install gcc, I get the following error: The following packages have unmet dependencies: gcc : Depends: cpp (>= 4:4.6.1-2ubuntu5) ...
81
votes
4answers
59k views

How do I set focus follows mouse?

Is there a way to set up "focus follows mouse" behavior in Ubuntu 11.10, 12.04, and 12.10 Unity?
36
votes
14answers
91k views

How can I install Windows after I've installed Ubuntu?

I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this? I can't lose my Ubuntu files, and I'm afraid that I might break GRUB.
18
votes
5answers
39k views

Panel settings not appearing on right-click in gnome

I just installed Ubuntu 12.04. I switched to Gnome classic from unity as I'm more comfortable with the former. However, I couldn't find where the panel setting are. Usually a drop down menu appears on ...
9
votes
3answers
89k views

How to kill and to start the X server?

In 12.04 How do you kill the X server from the command line and from the GUI interface and how do you start it from the virtual terminal?
108
38
votes
14answers
53k views

How to add a “Show desktop” icon to the launcher?

I recently upgraded from 10.04 to 12.04, and there is no show desktop in the launcher. I know I can use Ctrl+Super+D, but is there a way to get it in the launcher? Edit: I just installed the "show ...
52
votes
5answers
130k views

How to manage users and groups?

Just switched from 10.04 to 11.10. I'm wondering about the limited options in the GUI for managing users and groups. Where is the old GUI to change groups, id's, etc. I know that I can do this from ...
5
votes
2answers
19k 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 ...
75
votes
20answers
49k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
48
votes
4answers
69k views

Wine can't find gnome-keyring-pkcs11.so

I am trying to start a program using wine on Ubuntu LTS 12.04 64 bit When I do this, I get the following error message... /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: ...
25
votes
6answers
46k views

VirtualBox doesn't load after 12.04 upgrade

After upgrading from 11.10 to 12.04, virtual box stopped working. I've run the following to try to fix it: sudo aptitude update sudo aptitude install dkms sudo /etc/init.d/vboxdrv setup but when ...
39
votes
5answers
66k views

How do I download and install Handbrake?

I'm new at Ubuntu so I don't know very well how to use the terminal in order to download and install programs that aren't in the software center. I've tried without success downloading and installing ...
19
votes
2answers
51k views

How to completely remove Unity, and replace it with Cinnamon?

I installed Cinnamon 1.8 on Ubuntu 13.04, and now I would like to completely remove Unity and everything related to it, but I'd like to keep the programs, LightDM and Software Center. What packages ...
46
votes
4answers
88k views

How to setup a wi-fi hotspot (access point mode)?

How to setup a wi-fi hotspot (access point mode)? Point to be noted: Wireless hotspot aren't same as ad hoc networks. Significant difference is there. In short, adhoc networks aren't supported ...
37
votes
6answers
80k 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
32
votes
3answers
48k views

Run .NET 2.0 applications for Win

I am trying to run application for Windows on Ubuntu 11.10 I tried wine /path/to/file.exe Error is: wine: Install Mono for Windows to run .NET 2.0 applications. I have mono(seems to be not ...
176
33
votes
3answers
93k views

How can I copy the contents of a folder to another folder in a different directory using terminal?

I am trying to copy the contents of a folder to another folder in a different directory using terminal. Would somebody be able to provide me an example of the command line syntax required to achieve ...
57
votes
1answer
57k views

What is the “show desktop” keyboard shortcut?

I just upgraded to 11.10 from 11.04. Previously the shortcut to show the desktop was Super key + D (same as in Windows), But now it is not working. What is the new shortcut?
29
votes
8answers
102k views

How do I mount an SD card?

My computer has an SD card slot. When I put a working SD card into the slot, nothing happens. When I put a CD or DVD in, or plug in a USB drive, the medium is mounted and available. Is there something ...
4
votes
1answer
39k views

Ho to install an already downloaded .crx file extension in chrome?

It download the .crx file from novell-moonlight-3.99.0.3-x86_64.crx and then went to chrome://extensions/ and drag and drop the file on the chrome windows opened in that address and the ...
11
votes
6answers
77k 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 ...
7
votes
3answers
85k views

What is the default root password?

I installed Ubuntu 12.04 LTS (Precise Pangolin), 64 bit. Nowhere was I asked to set password for root. I just installed AccuRev SCM software. It was installed under the /root folder by default. Now I ...
79
43
votes
4answers
84k views

How to open a PDF file from terminal?

I used to work on the Mac terminal before and I used: open file2open.pdf and the PDF file would be opened on preview or whatever my default viewer was. When I use it in the terminal in Ubuntu I ...
49
votes
1answer
58k views

Gdk Gtk warnings and errors from the command line

In the newest version of Ubuntu (11.10) when I run from the command line Gtk complains loudly (over several lines) each time a window is opened. The problem is clearly with the theme - if I change the ...
161
38
votes
8answers
142k views

How do you restart Apache?

I switched from SLES to Ubuntu and now I want to restart my local server. In SLES I used : rcapache2 restart but this somehow seems not to work in Ubuntu. :( How do i restart my Apache?
53
votes
11answers
101k views

Higher screen resolution in VirtualBox?

I've just installed Ubuntu 10.04 into VirtualBox on Windows 7. Unfortunately the only options showing for screen resolution are 640x480 and 800x600 and the monitor is showing as 'Unknown'. How ...
11
votes
7answers
73k views

How to configure proxy authentication to work with Ubuntu Software Center?

I have tried put in apt config Acquire::http::proxy, and in Network>Network proxy with and without user:password@server:port and using environment variables http_proxy and https_proxy. Nothing seems ...
63
votes
6answers
68k views

How do I setup dual monitors in Xfce?

I've got an laptop with a intel chip, and I'd like to setup dual monitors in Xfce. How do I do this?
6
votes
3answers
68k views

How to install Ubuntu on the Samsung Galaxy S3?

I have read about this on XDA Developers, the articles were a few months old though. Is there an official guide from Ubuntu on how to do this?
48
votes
6answers
125k views

How to customize the gnome classic panel

First the picture: As you can see in the image, the colors used for the icons and the words Applications and Places (In spanish in this case) have a different background dark gray color than the ...
6
votes
3answers
52k views

Removing GRUB from windows system after uninstalling Ubuntu from Windows 7

I have installed Ubuntu alongside Windows 7 (no separate partitions, I selected inside windows option). I want to uninstall Ubuntu but last time I tried it and the Ubuntu is released but the GRUB ...
142
39
votes
7answers
109k views

How to format a USB flash drive?

In Windows there is a straightforward "Format" option in a flash drive's right-click pop-up menu. Where's that in Ubuntu? I understand there's always standard partition management command line stuff ...
20
votes
1answer
15k views

Ubuntu 13.04 to 13.10: Filesystem check or mount failed

I attempted to upgrade from Ubuntu 13.04 to 13.10 today, and mid upgrade the system started flaking out, and eventually locked up entirely. I was forced to restart the computer, and am now unable to ...
53
votes
7answers
76k views

Whats the simplest way to edit and add files to “/var/www”?

Having installed the web server is there a simple way to set a user able to use the graphic interface to copy files and directories to the local web server /var/www I gave myself administrative ...
26
votes
8answers
114k views

How do I run a 64-bit guest in VirtualBox?

I would like to have an Ubuntu 11.04 64-bit test environment. When I try booting the Ubuntu 11.04 64-bit installation CD in VirtualBox, the following message is displayed by VirtualBox: VT-x/AMD-V ...
41
votes
2answers
122k views

What command do I need to unzip/extract a .tar.gz file?

I received a huge .tar.gz file from a client that contains about 800 mb of image files (when uncompressed.) Our hosting company's ftp is seriously slow, so extracting all the files locally and sending ...
65
votes
1answer
120k views

How to extract files to another directory using 'tar' command?

I think tar archive.tar /users/mylocation will work. But it doesn't. How can I do that?
104
32
votes
5answers
76k views

How to download a file from a website via terminal?

Suppose that we have a full URL of desired file e.g. http://domain.com/directory/4?action=AttachFile&do=view&target=file.tgz I would like to go without installing a new software. Is it ...