HEADS UP: Realtime update support added to battstat

Joe Marcus Clarke marcus at FreeBSD.org
Wed Jun 29 07:47:34 GMT 2005

If you're running 5.X or higher, and have been longing for realtime
battery status updates in the battstat applet, apply this patch to devd:


Then rebuild and restart devd.  Next, cvsup your ports tree, and rebuild
gnomeapplets2.  When you restart GNOME, you should find that battstat
will update as soon as you unplug your laptop without driving up the

I talked with Warner about getting this patch put into devd officially,
and he says he's for it.  Once this happens, it should be much easier to
get access to devd events from userland.

To get devd working, do the following after downloading my patch:

# cd /usr
# patch -p < /path/to/devd.diff
# cd src/sbin/devd
# make all
# make install
# etc/rc.d/devd restart

Let me know what you think.


Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20050629/5dc707b8/attachment.bin

More information about the freebsd-gnome mailing list