Most Popular
1500 questions
128
votes
8 answers
How to fix "Package is in a very bad inconsistent state" error?
I can't update my system because it freezes while installing a third-party update (zramswap-enabler)!
Sometimes I get the following message in Update manager:
Could not initialize the package information An unresolvable problem occurred while…
Benjamin Piller
- 1,281
128
votes
5 answers
Mount an external drive at boot time only if it is plugged in
I've got an entry for an external harddrive in my fstab:
UUID="680C0FE30C0FAAE0" /jgdata ntfs noatime,rw
But sometimes this drive isn't plugged in at boot time. This leaves me half way through a boot, with a prompt to "Continue Waiting,…
Jeremy
- 2,926
128
votes
6 answers
Keyboard shortcut to move windows between monitors?
I remember there used to be a setting under Compiz that set a keyboard shortcut for moving applications between physical (but combined as a single xscreen) screens, similar to moving between logical screens, like Ctrl-Alt-Shift-← / → / ↑ / ↓.
Any…
Andrew Bolster
- 1,594
127
votes
5 answers
How to restart samba server?
Sorry this is a little embarassing but I'm trying to set up my own server for the first time. I found great tutorial online.
http://www.intac.net/build-your-own-server/
I'm stuck at the 2nd to last line of step 4. Apparently there is no samba…
user784637
- 11,465
127
votes
6 answers
Using rsync with sudo on the destination machine
Having a problem that rsync does not set UID and GID as expected, my gut feeling is that rsync should be run as root on the destination machine.
I can't login as root via SSH, since that's disabled for security purposes. The user on the destination…
Thomas Weller
- 4,947
127
votes
2 answers
Creating a symlink from one folder to another with different names?
I have two folders, one of which is my webserver root. I want to link it to my project folder so that I can keep things up-to-date with Git.
If I try to do this:
ln -s /home/user/project /var/www/html
The system creates a folder called project…
user991710
- 1,383
127
votes
15 answers
How do I check whether a module is installed in Python, and install it if needed?
In terminal, after I start Python, how will I know what are the modules present in python?
Suppose I need to learn the modules NumPy and SciPy.
How will I install it if it is not installed?
How will I know if it is already installed?
sigdelsanjog
- 7,280
127
votes
5 answers
Ubuntu 14.10 does not install in virtualbox
I'm currently running Windows 8.1 x64 (a problem in itself that I can't change sadly ;-P) with the latest version of VirtualBox (4.3.18 r96516). I managed to get the server version up and running with no issues but I cannot get the desktop version…
MVit
- 1,373
127
votes
7 answers
Configure proxy for APT?
I need to configure proxy. There wasn't apt.conf file in /etc/apt/ so I've created it using nano.
But I don't understand what I need to write there. I've written
http_proxy = http://lgn:pwd@192.168.1.254:8080/ there and then restarted networking.…
lapots
- 1,383
127
votes
5 answers
How to install OTF fonts?
I know how to install TrueType fonts (by copying them to /usr/share/fonts/truetype and doing sudo fc-cache -f) but what about OTF formats?
I didn't find a suitable folder to copy them to.
Behzadsh
- 3,993
127
votes
12 answers
How do I change the default text editor?
How can I change my default text editor from gedit to Emacs?
Olivier Lalonde
- 60,581
127
votes
8 answers
How to enable the hibernate option in Ubuntu 20.04?
I tried different options to enable hibernation in Ubuntu 20.04 but nothing is working. How can I enable the hibernate option in Ubuntu 20.04?
Rajesh
- 1,271
126
votes
6 answers
Where is the suspend/hibernate button in GNOME Shell?
In 17.04 I could suspend\hibernate from the power off menu button.
I can't find how to do this in Ubuntu 17.10 GNOME Shell.
Kobi T
- 1,969
- 4
- 22
- 26
126
votes
3 answers
installing pip3 (for python3) on ubuntu 16.04 LTS using a proxy
I have tried entering:
sudo apt install python3-pip
The error I get is:
$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be…
Abisdad
- 1,361
126
votes
2 answers
Reload bash's .profile without logging out and back in again
Is it possible to coerce bash to reload the .profile file without logging out and back in again?
Matty
- 2,494