85
votes
11answers
68k views

How can I tell Ubuntu to do nothing when I close my laptop lid?

I would like closing the laptop lid to be a no-op. How can I do that?
84
votes
14answers
300k views

How do I add a DNS server via resolv.conf?

Is /etc/resolv.conf useless in Ubuntu 12.04 LTS (Precise Pangolin)? I see that the DNS server information is stored in NetworkManager now. The nmcli command line tool can list that for you. If I ...
84
votes
6answers
63k views

How to really clear the terminal?

I can issue the clear command or press Ctrl + L to clear the current Ubuntu terminal, but this just shifts previous output upwards and if you use mouse scroll or PgUP and PgDown keys it's hard to ...
83
votes
10answers
63k views

How do you monitor the progress of dd?

dd is a wonder allowing you to duplicate a hard drive to another, completely zero a hard drive, etc. But once you launch a dd command, there's nothing to tell you of it's progress. It just sits there ...
83
votes
0answers
96k views

How do I remove a PPA added via command-line? [duplicate]

I added a PPA for updating my kernel for ubuntu-12.04. Later, I found that the kernel doesnot exist on the link within PPA. I used this command. sudo add-apt-repository ppa:kernel-ppa/ppa Now if I ...
82
votes
18answers
48k views

How do I create a desktop wallpaper slideshow?

How do I create a desktop wallpaper slideshow with my own set of images? With the images coming from a pictures folder, or pre-selected With the images displayed in order, or randomly With the ...
82
votes
14answers
81k views

How can I find the version of Ubuntu that is installed?

I installed some version of Ubuntu on my VMware, but I don't know what version exactly it is. How can I find it out?
82
votes
11answers
133k views

How do I change the computer name?

When I connect to my server (ubuntu server 10.10), I get this: name@server-name.belkin ~> How can I remove ".belkin"?
82
votes
6answers
273k 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 ...
82
votes
5answers
367k views

How to delete a non-empty directory in Terminal?

How do I delete the following directory? I typed: rmdir lampp This error comes up: rmdir: failed to remove `lampp': Directory not empty Is there a command to delete all the files in the ...
82
votes
16answers
71k views

What are the differences between 32-bit and 64-bit, and which should I choose?

What is the difference between 32-bit and 64-bit Ubuntu? I've heard the 64-bit platform performs better and can detect more than 4GB of RAM. Also, while some apps haven't ported to 64-bit yet, ...
82
votes
11answers
186k views

How do I install Oracle JDK 6? [duplicate]

Most of the software is not thoroughly tested with Java 7 and I would like to install Oracle's JDK 6.0 on Ubuntu 11.10. Could someone please provide me the instructions for the same?
81
votes
5answers
16k views

Why is Ubuntu switching to Unity?

I understand from Jono Bacon's blog that Ubuntu will be switching to Unity as the default desktop in the upcoming 11.04. What's not clear is "Why?". Could someone explain the benefits of Unity over ...
80
votes
8answers
52k views

Am I using Unity or Unity 2D?

Unity and Unity 2D look very much alike, so how can new users easily find out whether they are running Unity or Unity 2D?
80
votes
18answers
17k views

Why is it bad to login as root?

I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
80
votes
3answers
49k views

How to use Alt+Shift to switch keyboard layouts?

I recently upgraded to Ubuntu 13.10, with the new keyboard handling system. The little "switch keyboard" option does not let me set it to Alt+Shift. How can I get this keyboard binding, as I have ...
79
votes
29answers
229k views

How do I download a YouTube video?

For a school project I need to download three youtube videos and save them to a CD. I am running Ubuntu 10.10; can anybody provide instructions on how to do this? I'm fairly new to Ubuntu so the more ...
79
votes
7answers
271k 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 ...
79
votes
7answers
72k views

Is there a program like Microsoft Paint? [duplicate]

Greetings, I'm slowly getting used to Ubuntu; for I've been a Windows user as long as I've used any computer. I'm hoping someone can suggest a good graphics software. I'm simply looking for one ...
79
votes
1answer
138k views

How do I configure swappiness?

I need Step by Step, simple and easy way to configure swappiness.
79
votes
11answers
9k views

Can I legally build and sell desktops with Ubuntu pre-installed?

I'm starting a business and this is part of what I'm going to be offering. I'm almost complete with my certification in Linux Administration, but I don't know all of the ins and outs of the law Linux ...
78
votes
20answers
8k views

Are there any games which can train people to learn terminal commands? [closed]

It seems to me learning how to use the terminal is a prerequisite to learning how to use Ubuntu. So I'm trying to figure out the best way to learn. Is there a Quizlet online flash card set out there? ...
77
votes
10answers
93k views

Error message when I run sudo: unable to resolve host (none)

I have this issue on AWS on some servers. Whenever I run sudo the terminal is stuck doing seemingly nothing, until it finally spits out this error message. My terminal looks like this: ...
77
votes
15answers
93k views

How can I create launchers on my desktop?

In older versions it was easy to create a launcher on my desktop all i had to do is right click on my desktop and select the create launcher option. But on 11.10 the option disappeared from the menu.. ...
76
votes
46answers
389k views

Installing Broadcom Wireless Drivers

I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible. What are the steps to install Broadcom wireless drivers ...
76
votes
17answers
69k views

File and directory comparison tool?

I'm looking for something that will compare directories and files like Beyond Compare does for windows. Its mainly for use of source control, but I need to use it for deployment as well.
76
votes
8answers
39k views

Is there an GUI Designer for python?

Is there a GUI IDE for programming python just like java has netbeans? I wanted one where we could drag & drop test boxes & labels just as we do in swing components using netbeans or eclipse. ...
76
votes
7answers
87k 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 ...
76
votes
10answers
15k views

How do I increase the resize margin on windows?

It takes me about 5 tries to resize a window on my computer. Is there a way to increase the resize margin on the edge of windows?
76
votes
5answers
69k views

How do I get a list of installed files from a package?

I want to know where I can find my installed application when I installed it on Ubuntu using package manager. I installed RabbitMQ and ran locate rabbitmq which gave me following result: ...
76
votes
8answers
39k views

How to delete file(s) in secure manner?

Is there a way to make sure that a deleted file can not be recovered? As you know, deleting a file by pressing shift-del or using trash doesn't mean that file is gone forever. It resides somewhere ...
76
votes
7answers
14k views

How can I use Netflix on Ubuntu?

Is there a way to stream Netflix content to my Ubuntu machine?
75
votes
15answers
71k views

Can I skip over releases when upgrading?

I am currently using Ubuntu 10.04. I know there is a 10.10 release, but can I upgrade directly to 11.04? Could you walk me through the steps please?
75
votes
9answers
29k views

How do I remove a website from Ubuntu's web applications?

I thought I would try out the new webapps ppa and everything seems to be working fine. However, google reader now floods my messaging menu with all my feeds and turns the icon blue. How can I remove a ...
75
votes
6answers
47k views

Where can I find a Subversion 1.7 binary?

Does anybody know of a ppa or source I can get a subverison 1.7 deb? It was just released yesterday so I'm sure something will show up eventually. However I figure this will be a good place to post ...
74
votes
6answers
49k views

How can I remove duplicate second Unity Launcher on a Dual Screen setup?

See attached image. On my dual screen display I have a Unity Launcher on the left hand screen and also on the right hand screen. Both work perfectly fine. I don't want two Unity Launchers. Every time ...
74
votes
5answers
105k views

How can I fix a 404 Error when using a PPA or updating my package lists?

PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown: W: Failed to fetch http://ppa.launchpad.net/ 404 Not Found How do I fix these errors?
73
votes
3answers
66k 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 ...
73
votes
2answers
114k 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?
73
votes
1answer
34k views

Difference between vim-gtk and vim-gnome

How are the packages vim-gtk and vim-gnome different from each other? I've tried both and the resulting Gvim feels the same (to me). If there is no difference, why are both packages maintained?
72
votes
20answers
28k views

How can I highlight PDFs?

Currently I need to highlight certain sections in PDFs. These highlights would need to be saved. What tools are out there to do this on Ubuntu?
72
votes
12answers
92k views

How to modify a invalid /etc/sudoers file? It throws out an error and not allowing me to edit again

How do I edit an invalid visudo file? Here is what happens: $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/sudoers near line 28 sudo: no ...
72
votes
2answers
59k views

How to restart nautilus without logging out?

How do I just restart the nautilus after adding a nautilus script without having to log out.
71
votes
6answers
366k views

Change folder permissions and ownership

I would like the user to have full rights on this folder (as well as all sub-directories and files in it): ~/.blabla currently owned by root. I have found numerous posts (in this forum and ...
71
votes
14answers
58k views

How do I deactivate F1 and F10 keybindings in gnome-terminal?

How can I turn off the F1 (help) and F10 (notifications menu) key bindings? First one I need for screen utility and second to exit mc in console. There are no such key bindings in the Keyboard ...
71
votes
11answers
68k views

Progress and speed with 'cp'?

When copying files using cp, is it possible to display the progress and speed of the transfer? Otherwise, is there any alternative command line utility that can achieve this?
71
votes
5answers
93k views

Chkconfig alternative for Ubuntu Server?

I've become very accustomed to managing service startups on Redhat/RHEL platforms using chkconfig though that doesn't appear to be the Debian/Ubuntu way - How do I update runlevel information for ...
71
votes
5answers
114k 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?
71
votes
3answers
10k views

Why is a virtual terminal “virtual”, and what/why/where is the “real” terminal?

I hope the question is self-explanatory. My understanding is that gnome-terminal and konsole are virtual terminals, and they are basically serving the same purpose, i.e. a command line environment ...
71
votes
9answers
11k views

How can I tell what date Ubuntu was installed?

is there a command which will output the date that ubuntu (or any distribution) was installed?

15 30 50 per page