Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 07-21-2009, 10:33 AM   #1
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, 04:54 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

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


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

All times are GMT -5. The time now is 08:44 PM.

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