Interaction with Gnome desktop

View: New views
4 Messages — Rating Filter:   Alert me  

Interaction with Gnome desktop

by Kiril Stankov-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi all,

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.

Thanks,

Kiril.

_______________________________________________
gnome-devel-list mailing list
gnome-devel-list@...
http://mail.gnome.org/mailman/listinfo/gnome-devel-list

Re: Interaction with Gnome desktop

by Wouter Bolsterlee-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



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


_______________________________________________
gnome-devel-list mailing list
gnome-devel-list@...
http://mail.gnome.org/mailman/listinfo/gnome-devel-list

signature.asc (253 bytes) Download Attachment

Re: Interaction with Gnome desktop

by Kiril Stankov-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Thanks a lot!

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

On 2/5/09, Wouter Bolsterlee <wbolster@...> 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-----




_______________________________________________
gnome-devel-list mailing list
gnome-devel-list@...
http://mail.gnome.org/mailman/listinfo/gnome-devel-list

Re: Interaction with Gnome desktop

by Wouter Bolsterlee-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



2009-02-05 klockan 17:21 skrev Kiril:
> Should I prefer DBus?
> I started looking at Xlib.
> Which one is better?

To interact with modern Gnome desktop components, you should definitely go
for the DBus APIs. I'm not sure what you want to do, but the programs I
mentioned in my previous mail already seem to do what you described.

    — Wouter


_______________________________________________
gnome-devel-list mailing list
gnome-devel-list@...
http://mail.gnome.org/mailman/listinfo/gnome-devel-list

signature.asc (253 bytes) Download Attachment