Most Popular

1500 questions
155
votes
14 answers

Mount encrypted volumes from command line?

If I have an encrypted external disk (or an internal disk that is not in fstab), I see an entry for it in Nautilus -- with an entry like "X GB Encrypted Volume". I can click on this volume, and am prompted for a password to decrypt and mount the…
cha
  • 2,053
155
votes
13 answers

How to compare two files

I want to compare two files line by line and by column number 2. How could I accomplish this? File_1.txt: User1 US User2 US User3 US File_2.txt: User1 US User2 US User3 NG Output_File: User3 has changed
Roboman1723
  • 2,915
  • 8
  • 23
  • 31
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,571
155
votes
5 answers

Permission denied when running .sh scripts

./geany_run_script.sh: 5: ./geany_run_script.sh: ./Area_circumference: Permission denied program exited with code: 126. This problem always occur when I try to execute my code. What might be the solution?
khwilo
  • 1,743
  • 3
  • 14
  • 12
155
votes
17 answers

How can I limit battery charging to 80% capacity?

I just learned that some Lenovo laptops include a utility that offers to limit battery charging capacity to within 0–80% in order to slow the attenuation of the battery lifespan: How can I do this in Ubuntu?
ændrük
  • 76,794
155
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,237
  • 3
  • 25
  • 24
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,350
155
votes
9 answers

How can I find *.desktop files?

To the best of my knowledge, all shortcuts in the Unity Launcher have a corresponding *.desktop file. I have one shortcut (for skrooge) that doesn't have an icon. How can I find the *.desktop file corresponding to this shortcut so that I can add an…
KOVIKO
  • 2,093
154
votes
9 answers

Why has VirtualBox's menu disappeared?

How do I display the menu bar of VirtualBox? Functions like cdrom, usb, etc need access to the menu bars to work.
sam
  • 6,831
154
votes
2 answers

How do you get a list of all starting services?

I know about the update-rc.d SERVICE OPTIONS command to add and remove services from startup, but how do I use it to get a list of all the services that are currently configured to start at startup? Is there some other way to get this list?
154
votes
11 answers

How can I access Apache (on VirtualBox guest) from host?

I installed Apache on an Ubuntu VM. When I go into the guest and load up Firefox I can see that Apache is working fine when I browse to localhost. I would like to access this same page through the host. I've tried using the IP address of the guest…
urok93
  • 1,959
154
votes
4 answers

Ubuntu 14.04 LTS live USB boot error (gfxboot.c32:not a valid COM32R image)

I downloaded Ubuntu 14.04 (64 bit) lts. I made a bootable usb stick. But I keep receiving this error message upon booting: SYSLINUX 4.04 EDD 20110518 Copyright (C) 1994-2011 H. Peter Anvin et al Unknown keyword in configuration file: gfxboot.c32:…
jamius19
  • 1,690
  • 3
  • 12
  • 8
154
votes
4 answers

How do I remove all files that match a pattern?

When I revert in Mercurial, it leaves several .orig files. I would like to be able to run a command to remove all of them. I have found some sources that say to run: rm **/*.orig But that gives me the message: rm: cannot remove `**/*.orig': No such…
JD Isaacks
  • 5,287
154
votes
5 answers

How do I configure my DNS settings in Ubuntu server?

According to this page it appears to be simple. However, /etc/bind does not exist on the default installation of Ubuntu 12.04.3 LTS server. So, without installing any further software, how can configure DNS and remove dnsmasq on ubuntu server? I am…
Asta-Risky
  • 1,555
  • 2
  • 10
  • 6
154
votes
5 answers

What is the difference between Hibernate and Suspend

Logout, Restart and Shutdown are all self explanatory to me. What are the differences between Suspend and Hibernate on the shutdown menu?