LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Desktop shortcut to turn off the screen in KDE 3.5? (https://www.linuxquestions.org/questions/linux-newbie-8/desktop-shortcut-to-turn-off-the-screen-in-kde-3-5-a-754671/)

masmddr 09-12-2009 01:12 PM

Desktop shortcut to turn off the screen in KDE 3.5?
 
Hello.
I am looking for a way to create a desktop shortcut that will turn off the screen in KDE 3.5 .
I don't want it to be timed to turn off after a certain period of time, but on demand.
"kdesktop_lock --dontlock" uses the blank screen saver so it's no good since I am looking for a way to save power on my laptop.

KDE 3.5 on Slakware 12.2

lucmove 09-12-2009 03:01 PM

Create a shortcut with this command line in it:

Code:

xset -display :0 dpms force off

masmddr 09-12-2009 03:12 PM

Thank you. that works perfectly.


All times are GMT -5. The time now is 04:23 PM.