Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since my monitor takes an awful lot of time to turn back on after being physically turned off, I'm looking for a command or a simple utility to turn off my screen with a shortcut. Setting a black screensaver is not satisfactory; I want the screen to "hibernate" (the same effect I would get by turning off the computer while leaving the screen physically on).

The same question for Windows: How can I make my screen blank by a shortcut?

share|improve this question
Press STRG a than k and than y – Daniel Jan 4 '12 at 21:25

Try using

xset dpms force off

to force the screen to turn off.

share|improve this answer
That's really great. For the OP though, when a key is pressed, it turns the screen back on. I'm not sure if that's desirable. – FakeRainBrigand Jan 4 '12 at 21:18
Sometimes works better if you do sleep 1 ; xset dpms force off otherwise remnants of the last keyboard activity (I guess) sometimes turns the screen back on immediately. – Mat Jan 4 '12 at 21:19

I made a file called /home/me/bin/blank and made it executable chmod +x blank with the following in it:

sleep 1; xset dpms force off

Then I set a shortcut in Gnome3 application "keyboard" (gnome-control-center keyboard) to run that script when I push CTRL+ALT+Q.

Man I love linux.

share|improve this answer
up vote 1 down vote accepted

slock locks the screen gracefully.

share|improve this answer
I just installed it and screen totally locked without turning LED off! and seems there isn't any way to unlock screen again :| – Morteza Ziaeemehr Nov 28 '15 at 14:29
@MortezaZiaeemehr It's very minimal. Just enter your password and press Enter. – octosquidopus Dec 17 '15 at 1:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.