Most Popular

1500 questions
128
votes
12 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,281
128
votes
17 answers

Natural Sounding Text to Speech?

I am looking for some easy to install text to speech software for Ubuntu that sounds natural. I've installed Festival , Gespeaker , etc., but nothing sounds very natural. All very synthetic and hard to understand. Any recommendations out there?
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, press S or…
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 - ← / → / ↑ / ↓ .…
128
votes
12 answers

How do I change the default text editor?

How can I change my default text editor from gedit to Emacs?
128
votes
3 answers

Copy a file and keep the same timestamp of the original file

I need to a copy file and after that I need to change the timestamp attributes as the original file. How can I do it with the terminal or any other way?
user829468
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,475
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
4 answers

What is the difference between "Unmount", "Eject", "Safely Remove Drive" and the eject icon?

When I right-click the desktop icon for my USB drive or SD card I have the choice to "Eject" or "Safely Remove Drive": In the Tree side pane in Nautilus, I can either "Unmount" or "Eject": The Places side pane in Nautilus has some kind of eject…
ændrük
  • 78,726
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
8 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
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
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