LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 07-21-2009, 11:33 AM   #1
vikassp
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Detect Screen Saver & Computer lock event


Is there a way to detect the following event on linux?
1. Screen saver starts running (due to idle).
2. Computer lock (User locks computer)
 
Old 07-22-2009, 05:54 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
You may find what you want looking into the dbus interfaces.
 
  


Reply


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
screen saver lock up trscookie Fedora 7 11-06-2010 05:05 PM
Computer freezes on screen saver xtiano77 Linux - Desktop 4 03-06-2009 11:42 AM
Num lock OFF and Caps & Screen Lock ON at Linux startup. Reversing? peteyperson Linux - Newbie 2 02-28-2009 12:44 PM
Screen saver locking up computer syxxpac023 Linux - General 4 09-12-2004 01:38 AM
screen saver=computer freeze newbe45 Linux - General 2 08-11-2003 01:53 AM


All times are GMT -5. The time now is 09:13 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration