Problems with Screensavers and other activity sensitive demons.

Havoc Pennington hp at redhat.com
Thu Jun 7 07:21:22 PDT 2007


Hi,

Graeme Gill wrote:
> "dbus-send --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.SimulateUserActivity"
> every so often (why does "org.gnome.Screensaver have to be repeated
> 3 times in the dbus-send syntax ? Surely once is enough!)
> 

While this is hardly the point of your mail ;-)

It's only a coincidence that the three things are the same in this case, 
essentially because the only object in the screensaver process is a 
global singleton, and the interface on that object has the same name as 
the process.

But the process could also have any number of other objects and 
interfaces, and many do. Even in this simple case the 
/org/gnome/ScreenSaver object should have the 
org.freedesktop.DBus.Introspectable interface for example.

first part of http://log.ometer.com/2007-05.html#17 goes into it a little.

Havoc



More information about the xdg mailing list