LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 16
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
 
Old 09-12-2009, 03:01 PM   #2
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

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

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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 PM.

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