|
|
2008-03-13
, 22:28
|
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#32
|
#!/bin/sh
if [ "x$1" == x ] ; then
direction=normal
else
direction=$1
fi
case $direction in
[Cc][Ww])
direction=`xrandr --verbose|awk '/connected/ {print $5}'`
case $direction in
normal)
direction=left;
;;
left)
direction=inverted;
;;
inverted)
direction=right;
;;
right)
direction=normal;
;;
;;
[Cc][Cc][Ww])
direction=`xrandr --verbose|awk '/connected/ {print $5}'`
case $direction in
normal)
direction=right;
;;
left)
direction=normal;
;;
inverted)
direction=left;
;;
right)
direction=inverted;
;;
;;
esac
case $direction in
[Nn]ormal)
xmodmap -e "keycode 114 = Right" -e "keycode 111 = Up" -e "keycode 113 = Left" -e "keycode 116 = Down";
;;
[Ll]eft)
xmodmap -e "keycode 114 = Down" -e "keycode 111 = Right" -e "keycode 113 = Up" -e "keycode 116 = Left";
;;
[Ii]nverted)
xmodmap -e "keycode 114 = Left" -e "keycode 111 = Down" -e "keycode 113 = Right" -e "keycode 116 = Up";
;;
[Rr]ight)
xmodmap -e "keycode 114 = Up" -e "keycode 111 = Left" -e "keycode 113 = Down" -e "keycode 116 = Right";
;;
*)
echo "Usage: $0 [ cw | ccw | normal | inverted | left | right ]";
exit 1;
;;
esac
xrandr -o $direction
|
|
2008-03-13
, 22:42
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#33
|

|
|
2008-03-13
, 22:51
|
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#34
|
Not sure if there really is anything to be done on that or not; if anyone has a clue, I'd be happy to integrate that. I'll poke at it some more, but meantime, if the BT keyboard is more important than the dpad to anyone, just don't use the script (call xrandr -o < normal | left | inverted | right >) or modify it to not xmodmap things.
| The Following User Says Thank You to Benson For This Useful Post: | ||
|
|
2008-03-13
, 23:10
|
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#35
|
| The Following User Says Thank You to fanoush For This Useful Post: | ||
|
|
2008-03-14
, 04:59
|
|
Posts: 8 |
Thanked: 0 times |
Joined on Mar 2008
|
#36
|
|
|
2008-03-14
, 05:06
|
|
|
Posts: 213 |
Thanked: 27 times |
Joined on Oct 2007
@ Detroit, MI
|
#37
|
|
|
2008-03-14
, 06:46
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#38
|
Is there a step by step guide on how to do this?
I am confused about flashing the kernel. I know i can do this from the tablet itself. But, how do I do it? I've downloaded the files (http://sse2.net/rotate/) to my tablet along with the fanoush flasher for the n800 (to flash directly on the tablet) but I just dont get it.
I do not have linux installed natively. But I am using VMware with DSL (Dam Small Linux and Ubuntu Gutsy)
|
|
2008-03-14
, 06:47
|
|
Posts: 28 |
Thanked: 3 times |
Joined on May 2007
@ Moscow, Russia
|
#39
|
|
|
2008-03-14
, 06:51
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#40
|
![]() |
| Tags |
| angular momentum, quantum mechanics, rotation, weirdtags |
|
Thanks