How I love the Linux world, with a little help from someone called davidjany I got the screen rotate button working:
(Jaunty instructions)
edit the file:
/etc/acpi/rotatescreen.sh
change:
Code:
case "$ROTATION" in
right)
NEW_ROTATION="normal"
;;
*)
NEW_ROTATION="right"
;;
esac
to
Code:
case "$ROTATION" in
right)
NEW_ROTATION="inverted"
;;
left)
NEW_ROTATION="normal"
;;
inverted)
NEW_ROTATION="left"
;;
*)
NEW_ROTATION="right"
;;
esac
then create a event handler by creating the file (as root/sudo)
/etc/acpi/events/asus-rotate
and change the content to (replace 9b)
Code:
event=hotkey ATKD 0000007b
action=/etc/acpi/rotatescreen.sh
the following codes are valid
7b - short keypress
7c - long keypress
7d - keyrelease
Bookmarks