Most Popular

1500 questions
157
votes
4 answers

What do the various dpkg flags like 'ii' 'rc' mean?

I frequently need to check which packages are installed, and I use the following command: dpkg -l | grep foo which gives the following output Desired=Unknown/Install/Remove/Purge/Hold |…
theTuxRacer
  • 16,533
156
votes
6 answers

How to show seconds on the clock in GNOME 3?

Is it possible to show the seconds on the clock in GNOME 3?
Riki137
  • 3,651
156
votes
6 answers

How do I set a custom resolution?

I tried to use xrandr to set 1680x1050 as a new mode to VGA output, but it says: sudo xrandr --addmode VGA-0 1680 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed…
user216356
  • 1,561
156
votes
4 answers

What does "${debian_chroot:+($debian_chroot)}" do in my terminal prompt?

In my terminal prompt definition in my .bashrc file, among other things, I have this snippet of code: ${debian_chroot:+($debian_chroot)} What does this do, and do I need it?
fouric
  • 4,698
156
votes
8 answers

Use path bar and address bar in Nautilus

By default, Nautilus use/show the path bar: Using Ubuntu Tweak I managed to set by default the address bar: Is it possible to set both of them as default (show both: the buttons and the text input)? Note: I know that I can use Ctrl+L to switch…
Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407
156
votes
4 answers

What is the difference between dpkg and aptitude/apt-get?

When installing a software via dpkg -i packageA.deb, will the dependencies required by packageA be downloaded and installed automatically? How is this different from using apt-get or aptitude?
Aniket Thakur
  • 4,267
  • 3
  • 27
  • 25
156
votes
6 answers

Make Command Not Found

I am having a problem that doesn't seem to be common based on searching various forums. I cannot run the Make command. Message: The program 'make' is currently not installed. You can install it by typing: sudo apt-get install make So do this: sudo…
snoopdogg
  • 1,561
155
votes
4 answers

How to remove a user from a group?

I added a user account to the admin group and discovered I added wrong user. So I now have to remove the account from the admin group. How can I remove an account from a group without deleting the user?
Eonil
  • 2,101
155
votes
1 answer

How do I install Ubuntu on a VirtualBox client from an ISO image?

I have the ISO image file (that is, *.iso) and I am trying to boot my VirtualBox installation with this image. Is it possible? I know how to mount my ISO image to my filesystem (on my host machine), but I don't think VirtualBox boots an OS from a…
deostroll
  • 1,769
155
votes
6 answers

Where are the Unity Launcher .desktop files?

I'd like to know which folder the Unity Launcher .desktop files are stored in, as they're not anymore in /.gconf/desktop and I need to add a custom application to the launcher bar (adding it in /usr/share/applications doesn't seem to be enough).…
Tigull
  • 3,591
155
votes
13 answers

Is there a way to disable a laptop's internal keyboard?

A week ago, I spilt the contents of my cup onto my laptop keyboard. Half of the keys no longer work, except one! The letter Q which is very active regularly. This is very disturbing as I work. Is there a way to disable the internal keyboard of a…
atmon3r
  • 1,663
155
votes
4 answers

How can I recursively search for directory names with a particular string where the string is only part of the directory name

How can I recursively search for directory names with a particular string where the string is only part of the directory name? For example: the directory name is "8.0.3-99966_en", but I want to recursively search for directories with the string…
Bob Perez
  • 1,651
155
votes
20 answers

Brightness is reset to maximum on every restart

The brightness of my laptop is reset to max on every restart. I tried the solution provided at this website but had no luck. This command cat /sys/class/backlight/acpi_video0/max_brightness Returns cat:…
b-ak
  • 4,420
155
votes
12 answers

Why does Ubuntu Download recommend 32-bit install?

Update for 13.10: 64-bit version is now the default and 32-bit is labelled "for machines with less than 2GB RAM" The Ubuntu desktop download screen has a pair of radio buttons you use to select whether you wish to download the 32-bit or 64-bit…
Warren Pena
  • 2,085
154
votes
7 answers

How can I restore configuration files?

I would like to restore LightDM to its default state, because for some reason /etc/lightdm/unity-greeter.conf is now an empty file. Deleting /etc/lightdm/unity-greeter.conf and then running sudo apt-get install --reinstall unity-greeter doesn't…
Isaiah
  • 60,750