DBUS – Linux Desktop Hacking - Mid-Hudson Valley Linux Users ...
DBUS – Linux Desktop Hacking - Mid-Hudson Valley Linux Users ...
DBUS – Linux Desktop Hacking - Mid-Hudson Valley Linux Users ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Sean Dague<br />
Listening for Events<br />
pidgin.on_signal("SentImMsg") { set_active(pidgin) }<br />
screensaver.on_signal("ActiveChanged") {|s|<br />
if s<br />
mute<br />
set_away(pidgin)<br />
else<br />
unmute<br />
end<br />
}<br />
main = DBus::Main.new<br />
main