Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Nov 1997 23:28:16 -0700
From:      Warner Losh <imp@village.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        mobile@freebsd.org
Subject:   Re: A little tk program 
Message-ID:  <199711100628.XAA25538@harmony.village.org>
In-Reply-To: Your message of "Mon, 10 Nov 1997 13:50:00 %2B1030." <199711100320.NAA00665@word.smith.net.au> 
References:  <199711100320.NAA00665@word.smith.net.au>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199711100320.NAA00665@word.smith.net.au> Mike Smith writes:
: > P.S. You need to run this as root, or have apm be setuid root.
: 
: Er, I don't think so.  Certainly, apm will give me power status as 
: non-root.

Doesn't for me.  I got permission failed before I made apm setuid
root.

: Wow, now I can set the battery level too! 8)

I was somewhat hopeful that I could speed the charging of my battery
in this way :-).  Too bad that didn't work....

: Here's a slightly modified version that implements a bargraph in the 
: icon title, adds some colour and shrinks it a little to make the most 
: of precious laptop real estate.  You might also want to configure your 
: window manager to hide the decorations on the window to make it smaller 
: again.

Thanks for the update.	It helps me to understand this stuff better.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711100628.XAA25538>