Changes between Initial Version and Version 4 of Ticket #33


Ignore:
Timestamp:
01/01/11 17:22:11 (14 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33

    • Property Owner changed from Antoine Martin to Antoine Martin
    • Property Status changed from new to accepted
    • Property Summary changed from use dbus to learn about screensaver state changes to use dbus get notifications of screensaver state changes
  • Ticket #33 – Description

    initial v4  
    66dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver',member='SessionIdleChanged'"
    77}}}
     8
     9More information about the dbus interface, and in particular the {{{ActiveChanged}}} signal in the [http://people.gnome.org/~mccann/gnome-screensaver/docs/gnome-screensaver.html#gs-signal-ActiveChanged gnome-screensaver doc]
     10
     11The FAQ contains an example of actions using {{{dbus-monitor}}}: [http://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions#Is_there_a_way_to_perform_actions_when_the_screensaver_activates_or_deactivates.3F__Or_when_the_session_becomes_idle.3F "perform_actions_when_the_screensaver..."]
     12
     13
     14For reference, the win32 code is [http://timgolden.me.uk/python/win32_how_do_i/track-session-events.html track-session-events] (from the great win32_how_do_i)
     15
     16Synergy+ has a bug entry with useful links in it: [http://code.google.com/p/synergy-plus/issues/detail?id=112 "Support for gnome-screensaver as well as xscreensaver"]
     17
     18
     19Some other useful pointers:
     20 * [http://lists.freedesktop.org/archives/xdg/2006-June/006523.html gnome screensaver discussion] on mailing list, dated 2006. Refers to {{{org.gnome.ScreenSaver}}}
     21 * [http://www.google.com/codesearch/p?ct=rc#AaHApKeKakg/src/common/idle.c&q=file:idle.c idle.c] module for X11 used by gajim, which calls {{{XScreenSaverQueryInfo}}}.
     22 * [http://www.google.com/codesearch/p?ct=rc#AaHApKeKakg/src/osx/idle.c&q=file:osx/idle.c idle.c] module for OSX (uses IOKIT via C)