Author Topic: Left-handed Pdaxrom On 6k When Rotated  (Read 1590 times)

Gondola

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Left-handed Pdaxrom On 6k When Rotated
« 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:
Quote
#!/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:
Quote
#!/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
[span style=\'font-size:8pt;line-height:100%\']Nokia 770, running latest firmware.
1GB RS-MMC sandisk card
Garmin Etrex Legend GPS/USB Earthmate GPS
Rooted, with an SSH server, VNC viewer, etc.
[/span]

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Left-handed Pdaxrom On 6k When Rotated
« Reply #1 on: May 19, 2005, 12:28:40 pm »
I was planning to ask about that if I couldn't find a fix today

thanks!!
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf