Ikke's Blog

Post details: GaimDbus

Jan 11

A picture says 100x more than words...

GaimDbus sample 1 (thumb)
(thumbnail is link to original picture)

This makes me feel good :-)

The picture shows how I started and stopped xscreensaver a few times (by issuing "xscreensaver-command -activate" on a console), in the bottom left corner you can see the desktop-event-notification executable running (I did not daemonize it yet), and last but not least the Gaim debug window where my Gaim plugin shows it's received some DBUS messages sent by the server.

There is on major bug: XScreensaverStarted isnt always catched by the listener, nor by "xscreensaver-demo -watch". I will have to contact the xescreensaver maintainer I guess.

Next to this: the actual "set me away" isnt done yet. This shouldn't be too hard now, calling some functions when a DBUS message is received.

I included all necessary autotools stuff too, so it's as easy as sh autogen.sh && ./configure && make && make install.

I hope I'll be able to code the other parts tomorrow. Sleep now.

Big thanks to everyone hacking on DBUS, the guys at #gaim@freenode, and Google ;-)


Comment from: Karel Demeyer [Visitor] · http://gnometux.blogspot.com/
Wouldn't it be prettier to add another user to your box and make screenshots with this user (who has same permissions as your user so there's no problem reading the files f your user) in a X-nest window or something? This sencurisation (is dit engels ? :p) really messes up your screenshots! :D
PermalinkPermalink 01/12/05 @ 12:33
Comment from: Ikke [Member] · http://www.eikke.com
Maybe thats not such a bad idea...
PermalinkPermalink 01/12/05 @ 12:42
Comment from: Stephane Lacoin [Visitor]

I want to get gaim and the gnome notification making use of dbus event notification from evolution. I'm really interested to get access to your code but I did not find where it is located. Can you give me an access to ?
PermalinkPermalink 09/08/05 @ 10:51

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))


Who's Online?

  • Guest Users: 415


XML Feeds

What is RSS?