Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  $ cd /etc/acpi
  $ cat events/thinkvantage-button 
  # Thinkpad 'ThinkVantage' button
  event=button/prog1
  action=/etc/acpi/thinkvantage.sh
  $ cat thinkvantage.sh
  #!/bin/sh            
  /bin/chvt 1
Hope this helps.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: