Monday, April 23, 2012

acpi绑定Thinkpad Hotkey

/etc/acpi/default.sh
ibm)
case "$action" in
hotkey)
case "$value" in
00001008)
logger "TouchPage toggle"
export DISPLAY=":0.0"
/home/fred/bin/keys/fn/touchpad.sh
;;
*) log_unhandled $* ;;
esac
;;
esac
;;

No comments:

Post a Comment