View Single Post
Posts: 10 | Thanked: 1 time | Joined on Jun 2008 @ Poland
#46
Hello!
Please explain what should I do, to make it work - I mean the right-click on n800.
Here is what I have already done:
1) I have installed xmodmap-1.02-1_armel.deb
2) I have created a script, called: rk.sh:
#!/bin/sh
BTN=$(/usr/bin/xmodmap -pp | sed -ne 's/^\s\+1\s\+\([[:digit:]]\+\)\s*$/\1/p')
if [ $BTN == 3 ]; then
MAP='1 2 3'
else
MAP='3 2 1'
fi
/usr/bin/xmodmap -e "pointer = $MAP" 2>/dev/null
But no matter what I do, as root, after sudo gainroot, or just as user, I can not run the script, or even change permissions.
So I am asking for an advise how to change permissions and of course - what to do next? Is it enought to get a right click? Just run that script and press "menu" buton, as Machster did?

Originally Posted by Machster View Post
YEEEESSS!! Installed xmodmap and right click now works with the menu button I had assigned it to on the n800. PCQ, you have earned your crown. This is cool, thanks!
Thanks very much
Vect0r.