Jabber Auto-away
Well, I found the first problem with my Jabber script. Last night I left
my laptop at the office, and I forgot to log out of Jabber before I left.
So this page reported that I was online all night when I wasn’t.
Actually, this isn’t a problem with my script; it’s a problem of user
error (me not logging out). But there is a fix, and it comes from
the excellent Jabber client I use,
Gabber. It turns out
that Gabber has a nifty auto-away feature, where it will report you
as being “Away” after X minutes of inactivity, and “Extended Away”
after Y minutes of inactivity. Pretty cool. My question is, how does
Gabber monitor activity? Through X Windows? GTK? Gnome? the
OS? Perhaps I’ll take a look at the source code later.
Anyhow, I’ve got this feature turned on now. So if I stop using
my computer for more than 5 minutes, my status should appear as
“Away”, and if I stop using the computer for 20 minutes, my status
should appear as “Extended Away”, both with a comment of “Away from
my desk.”