Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-12-2009, 01:12 PM   #1
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Rep: Reputation: 16
Desktop shortcut to turn off the screen in KDE 3.5?

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
Old 09-12-2009, 03:01 PM   #2
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 755

Rep: Reputation: 73
Create a shortcut with this command line in it:

xset -display :0 dpms force off
Old 09-12-2009, 03:12 PM   #3
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
Thank you. that works perfectly.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to turn off screen through keyboard shortcut or command sumeet inani Linux - Newbie 1 06-09-2009 11:08 PM
Folder shortcut on KDE Desktop? an_sush Linux - Newbie 2 11-04-2008 10:47 AM
[Debian] Shortcut on the Desktop that loads on Virtual screen x charliebrown_au Debian 2 09-21-2008 11:26 PM
kde lock screen shortcut firestomper41 Linux - Software 2 09-17-2004 12:34 PM
Desktop shortcut in KDE metalaid Linux - Software 1 01-20-2004 07:57 PM

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration