I like to save energy and spare my laptop of unnecessary strains, and I sometimes get annoyed when I leave my computer for a break and only come back in my office to see that my three screens are still on with full luminosity. Of course I could set an automatic screensaver timing, but I also find that annoying because it gets triggered while I'm watching a video.
If you, like me, enjoy being able to turn off all your screens in one click, here is a very simple solution:
Download and unpack this script file and place it on your desktop.
All it does is run this command:
sleep 2 && xset dpms force offThis will turn off all your screens within two seconds.
If you double click on the file, you should get a prompt asking you what you want to do with it, click on Run or Run in terminal.
The file should be set as executable, if it is not, you can set it up manually:
sudo chmod a+x /home/myUsername/Desktop/screenOff.shIf, instead of clicking on your desktop file, you'd like to set up a hot key. Go to System > Preferences > Keyboard Shortcuts
and click on "+ Add".
Type a name, such as:
Turn off screensleep 2 && xset dpms force off/home/myUsername/Desktop/screenOff.shYour new Action will appear at the bottom of the window, inside "Custom Shortcuts".
On the right of the line, you will see under the "Shortcut" column "Disabled".
Click on it, and then press the shortcut key you would like to assign to it. Make sure it isn't already used.
Comments
I admire the awesome
I admire the awesome information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else!
http://www.site-de-paris-en-ligne.fr
Post new comment