135
votes
18answers
47k 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. ...
46
votes
5answers
76k views

How to restore a system after accidentally removing all kernels?

I was trying to delete old kernels, but I must have deleted all of the kernels on my Ubuntu 11.04 laptop. Is there any way to fix this via USB boot or mounting hard drive on another system?
200
votes
6answers
95k views

How do I find the package that provides a file?

Simple enough question: is there some shell command (or GUI method) I can use that, given the path to a file on my system, tells me what package put it there? Assuming the file did in fact come from a ...
52
votes
9answers
474k views

Ubuntu 14.04 install nVidia driver

I recently installed 14.04. But now I need a new driver for my nVidia GeForce GT 630. The former driver was rejected as not compatible with the 64-bit. I found that other driver and when I wanted to ...
25
votes
6answers
21k views

How can I install a Canon printer or scanner driver?

I tried to install the MP190 drivers, but appeared a message show me that requires to have libcupsys2. I understand that libcup2 is an update of libcupsys2. How do I solve this? Are there ...
280
votes
5answers
441k views

How do I set up a Cron job?

I want to schedule a task to run on a regular basis and have heard that Cron is the way to do this. How do I add Cron jobs in Ubuntu?
162
votes
6answers
158k views

How do I remap certain keys or devices?

I'm searching for a way to remap certain keys in ubuntu. i.e. I'd like to change PgUp to Home or PgDown to End. Does a built-in command or a tool exist reassign keys in Ubuntu/GNOME?
144
votes
2answers
364k views

How to install Skype 4.3?

Skype 4.3 is just released with considerable improvements. As a regular Skype user I want to use the latest Skype on my Ubuntu 14.04, but there is no updates from Update Manager. Even in Skype website ...
67
votes
8answers
85k views

How to automount NTFS partitions?

I have two NTFS partitions, and I don't want to mount them everytime I start Ubuntu. How can I do this? Is there a tool or a code to use? If so, is it safe to automount? specially when they are ...
60
votes
11answers
41k views

What's your recommendation on drive partitioning schemes for a desktop and home server? [closed]

What partitioning scheme do you recommend for a desktop? I've always created three or four primary partitions -- root, swap, home, and sometimes a separate boot partition. Ubuntu's default install ...
611
votes
7answers
1.6m views

How do I install a .deb file via the command line?

How do I install a .deb file via the command line?
362
votes
8answers
103k views

How do I modify or disable the HUD's use of the Alt key?

A number of games, Emacs, and the terminal make extensive use of the Alt key. Can Unity be configured to respect this key, rather than launching the HUD with it?
105
votes
4answers
52k views

What is different about the Mac ISO image?

http://cdimage.ubuntu.com/releases/11.04/release/ At that location there is an ISO image which is described as "This image is adjusted to work properly on Mac systems." What specific problems on the ...
81
votes
7answers
292k views

How can I install on a non-PAE CPU? (error “Kernel requires features not present on the CPU: PAE”)

After burning Ubuntu 12.04 to a CD, I tried booting and got the message: This kernel requires the following features not present on the CPU: pae Unable to boot - please use a kernel appropriate for ...
71
votes
5answers
39k views

When using sudo with redirection, I get 'permission denied'

When using sudo to allow edits to files, I regularly get 'permission denied'. For example, my mouse is jittery and sluggish, so I want to disable polling: sudo echo "options drm_kms_helper poll=N"&...
66
votes
9answers
54k views

What's the difference between Wubi and a regular “alongside Windows” installation?

At this time, Wubi does not work with Windows 8 default boot-loader. Thus at this point Wubi would not work on a new Windows 8 machine. Citation fom WubiGuide Question Recently I've learned of ...
52
votes
4answers
200k views

Boot Error - ACPI PCC Probe Failed

ACPI PCC Probe Failed is the error that pops up instead of the default GRUB loader after I updated my kernel to 3.19. I searched around and couldn't find much information except that it is a known ...
40
votes
4answers
56k views

How do I install and switch to the Unity 2D desktop?

I read that there is now a 2D version of Unity built on Qt. How do I install it, and once it's installed, how do I switch to it?
25
votes
7answers
74k views

Why I'm seeing a lock besides the partition I'm trying to modify with gparted?

I wanted to create more space for Ubuntu on my hard disk in favor of my Windows partition. I booted the livecd and resized the NTFS partition to 100 GB. Then I wanted to resize my Ubuntu (ext4) ...
32
votes
2answers
79k views

Where to place my local website starting with the 2.4.7 version of apache2?

I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened ...
174
votes
10answers
157k views

How can I stop being prompted to unlock the 'default' keyring on boot?

Whenever Ubuntu boots up, a dialogue pops up asking me to unlock my default keyring. Is there some way this can unlock automatically through PAM or some other magical way?
74
votes
15answers
14k views

Desktop forgets theme?

I am running Ubuntu in VirtualBox (on a Windows 7 host). Several times now, the top-level menu bar, the task bar — and seemingly every system dialog — have forgotten the out-of-the-box "Ambiance" ...
49
votes
3answers
176k views

How to create UEFI-only bootable USB live media?

Having live media that can boot both ways can be a problem when installing Ubuntu onto currently available Windows 8 computers. In other words the key advantage to creating UEFI-only bootable USB ...
106
votes
11answers
83k views

How do I run executable scripts in Nautilus?

When I double-click on a script in Nautilus to run it, the script just opens in my text editor with no option to run it. Using Nautilus, how do I run executable text files and/or scripts?
51
votes
7answers
7k views

How can I easily share the output of a command or a text file with others?

I recently asked a question on Ask Ubuntu (or somewhere else), and a comment or answer asks me to paste the contents of some file or the output of a command to troubleshoot my problem. How do I do ...
47
votes
6answers
95k views

How do I install Ubuntu-Tweak?

I have heard a lot about Ubuntu-Tweak and how it is great for power users, but I don't know how to install it. How do I do that?
33
votes
0answers
110k views

How can I get Broadcom BCM4311 Wireless working? [duplicate]

Wireless was worked perfectly in ubuntu 10.10. Now I upgraded it to ubuntu 11.04. After this upgrade wireless is not working in my laptop, even "wireless connection" is not showing in network ...
251
votes
0answers
338k views

How do I install Oracle Java JDK 7? [duplicate]

If I downloaded the latest JDK from Oracle, do I just download the .tar file and extract it to /usr/lib/jvm/?
157
votes
15answers
385k views

How to install Eclipse?

I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version. Is there a PPA or some other way to install latest Eclipse? Please describe the steps for ...
146
votes
3answers
43k views

What's the right terminology for Unity's UI elements?

I've sent a few mails to the Ayatana mailing list regarding some UI suggestions for Unity, but I'm afraid I keep confusing the right terms for the UI element, so I would like to have some ...
143
votes
12answers
216k views

How do I change fonts and adjust their size?

I've been finding fonts on the internet and installing them on my system. What's the easiest way to change my fonts? I would prefer an easy to use graphical way, but answers with command line ...
12
votes
1answer
32k views

How to install Broadcom wireless drivers offline

I have installed Ubuntu alongside Windows 8.1. But the wifi is not working in ubuntu (perhaps the drivers are not present), which worked fine in windows. Also I cant connect with ethernet since my ...
9
votes
3answers
4k views

Why do I get “Required key not available” when install DKMS modules or after a kernel upgrade?

When I try to install DKMS modules like VirtualBox, Nvidia, or Broadcom drivers, they do not install and I get Required key not available. This issue may appear after a kernel update as disabled ...
239
votes
7answers
509k views

What is the correct way to completely remove an application?

I've searched the net for such information and found different command lines, like these ones: sudo apt-get remove application sudo apt-get remove application* sudo apt-get remove --purge ...
109
votes
5answers
81k views

Clock time is off on dual boot

Dual boot system Windows XP Pro and Ubuntu 12.04. I have the bios set for the correct time and Ubuntu set for US Eastern time. Ubuntu will boot up and the time will be off by -4 hours. If I correct ...
59
votes
3answers
106k views

How do I add a kernel boot parameter?

I need to add the boot parameter foo=bar to my kernel. How can I do this once for testing, and permanently if testing was a success?
51
votes
2answers
9k views

I installed an alpha or beta, am I up to date with the final release if I keep upgrading?

I installed an Ubuntu alpha or beta and have been keeping it up to date. So, Should I presume that my system has automatically updated to the next alpha or beta, and will be running the official ...
9
votes
1answer
18k views

Qualcomm Atheros Device [168c:0042] (rev 30) Wi-Fi driver installation

I bought an Acer laptop and installed Ubuntu 14.04LTS but WiFi drivers are not available for it. So I am trying to install a windows driver using wifidocs/driver/ndiswrapper. On doing lspci -vvnn, it ...
9
votes
2answers
85k views

How to recover a deleted NTFS partition with data

I am on Ubuntu 12.04 64-bits I accidentally deleted a NTFS 255 GB partition using Gparted, and yes it contains LOTS of important data. Upon realizing the deletion I haven't yet created any file-...
12
votes
4answers
46k views

How do I make an Bootable Ubuntu USB?

How do I make an Bootable Ubuntu USB? Containing the the latest version of Ubuntu? For completeness, how would I be able to do this on Ubuntu, Windows, OS X or another Linux distro?
159
votes
2answers
179k views

How to enable TRIM?

I know that the Linux kernel supports TRIM as of version 2.6.33, so there should be TRIM support in ubuntu. Is TRIM enabled by default or do I need to change some settings or install additional ...
104
votes
11answers
299k views

How to make a disk image and restore from it later?

I'm a new Linux user. I've reinstalled my Wubi from scratch at least ten times the last few weeks because while getting the system up and running (drivers, resolution, etc.) I've broken something (X, ...
29
votes
6answers
82k views

Move home folder to second drive

I have 2 HDD drives in my computer. At the moment second drive is mounted as /media/storage. How can I move my user data from /home to /media/storage/home? Can I just move the data over there and ...
85
votes
9answers
112k views

Is it possible to “upgrade” from a 32bit to a 64bit installation?

As per title, I wish to know if I can, after a successful 32bit setup and consequent software installations, update to a 64bit version. I know how to partition (actually one of the solutions is to ...
21
votes
7answers
33k views

How to run scripts without typing the full path?

I'd like to know if there is a way to run program/shell script without typing full path: /opt/idea/bin/idea.sh
73
votes
7answers
150k views

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a ...
159
votes
8answers
285k views

How do I create a permanent Bash alias?

I would like to create an alias to rm command in order to have a confirmation message after executing this command. So I am creating an alias like this alias rm='rm -i'. But as far as I know this is a ...
79
votes
11answers
538k views

How do I run .sh files?

Whenever I open a .sh file, it opens it in gedit instead of the terminal. I can't find any option similar to Right Click → Open With → Other Application... → Terminal. How do I open this file in the ...
22
votes
4answers
16k views

How do I remove Windows but keep Ubuntu?

I want to keep Ubuntu but remove Windows.
95
votes
4answers
277k views

How to control fan speed?

How can I control the computer's fan speed? On Windows there is a wonderful program called SpeedFan.

15 30 50 per page