Most Popular
1500 questions
120
votes
15 answers
How do I disable the drum beat sound on the login screen?
I would have expected System ▸ Administration ▸ Login Screen ▸ Play login sound to control this, but unchecking it does not prevent the drum beat sound from playing.

ændrük
- 76,794
120
votes
9 answers
vim is not remembering last position
My Ubuntu LTS 12.04 has vim editor. If I open a file, move to a paragraph and reopen vim, then the cursor goes to beginning of the file always.
This is not the expected behavior. How the vim can remember last read position after closing a file?
I…

Lunar Mushrooms
- 3,975
120
votes
30 answers
External monitor not detected on Ubuntu 18.04
After upgrading to Ubuntu 18.04, my laptop has been unable to detect/use an external monitor attached via HDMI. Even when plugged in, the "detect displays" button within the default settings app doesn't do anything.
Here is the output from…

PullJosh
- 1,311
119
votes
4 answers
How to install pgAdmin 4 in desktop mode on Ubuntu
How to install pgAdmin 4 in desktop mode? The documentation only details server mode.

Victor
- 9,313
119
votes
5 answers
How do I turn off Caps Lock (the lock, not the key) by command line?
For some reason my laptop is stuck in Caps Lock. I have the Caps Lock key mapped by xmodmap to hyper_l, so I don't have a caps_lock key to turn it off. Is there a way I can turn it off by command line? It would be nice if I could reset the lock…

Echogene
- 2,295
119
votes
5 answers
How to get GRUB to be the default bootloader instead of Windows Boot Manager on a UEFI laptop?
I've got an HP Pavilion Touchsmart notebook that came with Windows 8. I've upgraded to 8.1, and now I want to dual-boot an Ubuntu distribution with Windows 10. When dual-booting with Windows 8.1, the Windows Boot Manager always took priority, even…

Michael Hoffmann
- 3,595
119
votes
11 answers
Turn off monitor using command line
I am runnning Ubuntu Server on my laptop. There is really no reason for the screen to be on. I have been trying to use this command to turn the screen off:
sleep 1 && xset dpms force off
The problem is I get the following error
unable to open…

AngryBird
- 1,191
119
votes
2 answers
What is the correct way to edit a crontab file?
I am trying to automate the refreshing of awstats for my webserver and understand that I need to use cron to set that up. So each user has a crontab file?
I was following the instructions here community/AWStats
And it says to go to the file at:…

timbram
- 1,995
119
votes
10 answers
How to stop using built-in home directory encryption?
I have a new Ubuntu 10.04 installation with encrypted home directory (using the built-in encryption offered by Ubuntu installer).
What's the easiest way to stop using encryption? (I.e., to decrypt my home directory permanently.)
(It's giving me…

Jonik
- 7,178
119
votes
10 answers
How to remove/install a package that is not fully installed?
I went to install bsnes the other day and, for whatever reason, the installation failed. Now, I cannot update, install new packages, or do basically any apt-get commands as they all try to process this broken package and fail. Attempting to install…

Bijak
- 1,619
- 2
- 12
- 7
119
votes
10 answers
How to install pip for python 3 in ubuntu 12.04 LTS
I am trying to install the Pillow module for python 3.3, but for that I need to install pip.
Every time that I install pip it installs for python 2.7, any help?

BCasaleiro
- 1,293
- 2
- 9
- 6
119
votes
8 answers
How to add a GPG key to the apt sources keyring?
Ubuntu Doc page says this:
It is advisable that you add the Opera GPG key.
wget -qO - http://deb.opera.com/archive.key | sudo apt-key add -
Where do I add that?
I want to take the advice but I don't know what part of software center to add gpg…

bruce
- 2,887
- 7
- 20
- 22
119
votes
4 answers
kswapd0 is taking a lot of cpu
kswapd0 is taking 99.9% of my CPU as top shows me, the problem appeared today when gaming and first time it went away after 6 minutes and now it has been doing it for about 20 minutes. How is this fixable and what is causing this?

inimene
- 2,106
119
votes
5 answers
How to find all the used IP addresses on a network
In my work there is a lot of computer and I want make a joke. I can close computer over the network but finding IP addresses is hard to me.
How can I easily find all online IP adresses from 192.168.1.aa to 192.168.1.zz?
user84277
119
votes
2 answers
How to save rules of the iptables?
I create the rules to iptables. But, when I restart the computer, the rules don't work!
How to save the rules on Ubuntu ?
The was problem solved!
do:
After of the write the commands iptables, do:
1. sudo su
2. iptables-save > /etc/iptables.rules
…

Gustavo
- 1,199