Ikke's Blog

Post details: DBUS'ified XScreensaver

Jan 8
DBUS'ified XScreensaver

Didn't have much time to code today, had to visit some family. Had a good meal ;-)

I hacked some DBUS support into XScreensaver today. Xscreensaver *should* send out a signal on the session bus now when the screensaver starts, or when it stops. Now guess what: it doesn't work (for now). Some security thing which disables me from sending events on my session bus :-(

Patch is here.

When this works, I will write a plugin for Gaim, which listens to the session bus. If it catches a screensaver event, it'll set your status to "Away" when the screensaver is started, and make you "Available" when the screensaver is stopped, if you were so when it started.

I created a new subdomain, http://code.eikke.com, where coding stuff will be hosted. I'd need some fancy "index" script, because Apache indexing doesn't work :-( I'd also need a decent Subversion repository. Maybe I should ask the guys who are so kind to host me (you know who you are).

Got some other new DBUS-based idea too, I'll discuss it on the dbus and gnome-desktop mailing lists when I get time.

Sent the mail to the dbus list regarding the kernel events stuff. Now it looks like I wasn't subscribed on that list anymore, and I need moderation... Hope they'll read and allow it soon.


Comment from: Peter [Member] Email
1. your subdomain is "forbidden" now
2. a hint for your gaim-plugin: maybe you could save the status of the accounts when the screensaver starts and restore them after the screensaver stops? Would be better so because if you were "busy" before screensaver, you don't want to be "available" then ;-)
PermalinkPermalink 01/08/05 @ 23:50
Comment from: jwz [Visitor] · http://www.jwz.org/
Thou Shalt Not Ever add new libraries to the link line of the "xscreensaver" executable. Read On Toolkits until you understand why.

You can do what you want by using something analagous to xscreensaver-command -watch.

PermalinkPermalink 01/09/05 @ 01:30
Comment from: Ikke [Member] · http://www.eikke.com
1. Is normal, need to add some "site"
2. Thats what I meant in my text. But you know, my english...
PermalinkPermalink 01/09/05 @ 14:09

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: 409


XML Feeds

What is RSS?