[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to control LCD backlight via program?

On Thu, Sep 25, 2003 at 04:33:31PM +0100, Carlos Sousa wrote:
> On Thu, 25 Sep 2003 14:36:14 +0800 Yun-Ta Tsai wrote:
> > On Thursday 25 September 2003 14:06, Carlos Sousa wrote:
> > > In my machine, the rest of the buttons will run sylpheed,
> > > mozilla and openoffice.
> > 
> > I have problem with this.
> > My laptop is shared with other users, but while executing mozilla
> > via acpid script, the uid will be root. How can I prevent this?
> (I was hoping no one would ask that... ;)
> Here's the ugly hack I've come up with:

acpi4asus (http://sourceforge.net/acpi4asus) distribute an asus_acpid
that can be run as user, e.g. from .xsession, and that listens to
/var/run/.acpid.socket for acpi events. It's a simple per-user variant
of acpid, nothing ASUS-specific about it.


Reply to: