OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Gondola on May 19, 2005, 12:07:44 pm
-
If you prefer the base of the 6k to be in your right hand when you hit Rotate, just make one small change to your /etc/sysconfig/clamshell/portrait.sh:
See where it says "/usr/X11R6/bin/xrandr -o left"? Change that to "/usr/X11R6/bin/xrandr -o right" and your display will pivot left instead of right when you hit Rotate from the menu.
Old, lame right-handed version:
#!/bin/sh
/usr/X11R6/bin/xrandr -o left
#xmodmap -e "keycode 133 = Up"
#xmodmap -e "keycode 134 = Down"
MODEL=`cat /proc/deviceinfo/product`
echo 'MODEL:'$MODEL
case "$MODEL" in
SL-C860)
echo "75" >/proc/driver/w100/fastsysclk
;;
*)
;;
esac
if pidof xvkbd >/dev/null; then xvkbdlauncher; fi
New, cool hip left-hander version:
#!/bin/sh
/usr/X11R6/bin/xrandr -o right
#xmodmap -e "keycode 133 = Up"
#xmodmap -e "keycode 134 = Down"
MODEL=`cat /proc/deviceinfo/product`
echo 'MODEL:'$MODEL
case "$MODEL" in
SL-C860)
echo "75" >/proc/driver/w100/fastsysclk
;;
*)
;;
esac
if pidof xvkbd >/dev/null; then xvkbdlauncher; fi
-
I was planning to ask about that if I couldn't find a fix today
thanks!!