[MPlayer-users] screensaver & kde2.2.2

Moritz Moeller-Herrmann mmh at gmx.net
Fri Jun 21 17:08:02 CEST 2002


KDE has a simple interface (using dcop) for manipulating the screen saver. see 
the following shell session for examples. (KDE-3, but I think this interface 
has stayed the same since KDE2)

moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface
QCStringList interfaces()
QCStringList functions()
void lock()
void save()
void quit()
bool isEnabled()
bool enable(bool e)
bool isBlanked()
void configure()
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface quit
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface lock
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface 
isEnabled
true
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface 
isEnabled 
0
arguments do not match
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface 
isEnabled 
false
arguments do not match
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface 
isEnabled 
true
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface enable 0 
true
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface 
isEnabled 
false
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface enable 1
true
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface 
isEnabled 
true
moritz at hippokrates:~/.giFT/completed> dcop kdesktop KScreensaverIface 
isEnabled 

-- 
Moritz Moeller-Herrmann ICQ #3585990
(wiss. Mitarbeiter, IMGB, Mannheim)




More information about the MPlayer-users mailing list