[Pkg-acpi-devel] Bug#521280: hal event processor (was: Bug#521280: how to make acpid react to hotkeys now?)
martin f krafft
madduck at debian.org
Mon Jun 8 21:04:49 UTC 2009
also sprach Henrique de Moraes Holschuh <hmh at debian.org> [2009.04.17.0608 +0200]:
> > I'm using xbindkeys at the moment, but something that's independent
> > from X and a specific user would indeed be nice. Unfortunately I
> > haven't found out yet if and how HAL can call events on keypresses
>
> You have to get the HAL source code, look at its input helper, and WRITE
> the code to do it. It just plain CANNOT do anything useful with input
> events right now.
There's halevt, and I can make it exec() something upon keypress,
but during a cursory look, I could not find a way to distinguish
between the different keys.
halevt is nice though, as it allows system and per-user execution.
That should finally get rid of all the sudo/su -c magic required to
make the system do root operations like enabling wifi, as well as
user configurations such as blanking the X display.
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
"wer schmetterlinge lachen hört,
der weiss wie wolken schmecken."
-- freiherr friedrich von hardenberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20090608/2f08d9a6/attachment.pgp>
More information about the Pkg-acpi-devel
mailing list