[Ilugc] Reg:powerkey,sleepkey,wakeup

  • From: suraj@xxxxxxxxxxx (Suraj)
  • Date: Fri, 12 Mar 2004 22:27:40 -0800

Hari U wrote on Sat, Mar 13, 2004 at 10:28:34AM +0530: 
,----
|       How to enable power,sleep,wakeup keys in Linux,is there any
`----

This HOWTO  helped me  configure the extra  buttons like  mute, sleep,
power and such.

http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO.html

There  is a utility  named 'hotkeys'  (debian package  available) that
lets you configure the extra keys on your multimedia keyboard.

Some more things to do with other inputs in your computer: :)

1. Hack up a  simple script to use ACPI to send  your PC shutting down
   when the power button on your  cabinet is pressed. You could use it
   to  do even  more cooler  things like  kill the  X-server  when the
   console  locks up or  launch XMMS  without having  to turn  on your
   monitor :)

     http://www.cpqlinux.com/acpi-howto.html

2. http://lcdproc.org/ ;<- do more  nice things without turning on your
   monitor

3. http://lirc.org/ ;<- dont  go near your keyboard. When  I gave it an
   attempt, ritchie  st did not have  all the mentioned  ICs and being
   the not-so-good at electronics guy,  I did not know the alternative
   ICs and the like. If anyone managed to build a working IR device, I
   would be glad  to hear your story (and  of course, what alternative
   components you used and such)

cheers

  -Suraj

-- 
,-----------------[http://www.symonds.net/~suraj/]---o
| According to the U.S. Defense department, the Pentagon's many libraries
| support personnel in research and completion of their work. The Army Library
| alone provides 300,000 publications and 1,700 periodicals in various languages
| .
`------------------------------[suraj@xxxxxxxxxxx]---o

Other related posts: