Re: Interaction with Gnome desktop



Thanks a lot!

Should I prefer DBus?
I started looking at Xlib.
Which one is better?

On 2/5/09, Wouter Bolsterlee <wbolster gnome org> wrote:
2009-02-05 klockan 02:38 skrev Kiril:

> I am new to Gnome and I am looking for some way to interact with the
> desktop, more specifically to be able to lock / unlock it, start
> screensaver, shutdown, hibernate,log off.
> Any ideas will be highly appreciated.


Look at the gnome-screensaver-command application and the DBus API it
invokes, and at the gnome-sessession-save application.


    — Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: This message was signed/encrypted using GnuPG.

iD8DBQFJiwLyP7QTTiUKY+sRArJXAKChK7pHL/cqjY/9jDXyWPxCxsVhrACfUsU/
Z0wn3GzFj3dOHsCLlkADCeQ=
=3pQe
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]