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

Re: Забиндить кнопку POWER клавиатуры на команду poweroff



ИМХО, с помощью acpid`a не получится забиндить кнопки на клавиатуре,
оно немного для другого:

"...ACPID is a completely flexible, totally extensible daemon for
delivering ACPI events. It listens on a file (/proc/acpi/event) and
when an event occurs, executes programs to handle the event. The
programs it executes are configured through a set of configuration
files, which can be dropped into place by packages or by the admin."

Хотя может я не совсем понямаю что такое ACPI :)

On 7/21/06, Dmitry Nezhevenko <mlist@inhex.net> wrote:
On Fri, Jul 21, 2006 at 10:01:50AM +0700, Vladi Lemurov wrote:
> Алексей Шупиков пишет:
> >Добрый всем,
> >
> >>Подскажите пожалуйста, где почитать по
> >>поводу назначения клавиш?
> >>Нужно чтобы под терминалом работало.
> >
> >А всякими мега-утилитами для много
> >кнопочных клавиатур этого сделать
> >нельзя?
> >
> например? под иксы нашёл hotkeys, keylaunch, а под
> терминал не вижу.

Использовать acpid.

--
WBR, Dmitry


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEwFVY0T/aIlRaJQYRAol7AJ4kakyvEY2s6NlpbVHCqgcbdbZi+ACguCZa
t9QaYITUYcGMB5GF/2wfIsg=
=x5LA
-----END PGP SIGNATURE-----





--
If you think of MS-DOS as mono, and Windows as stereo,
 then Linux is Dolby Digital and all the music is free...

Reply to: