#!/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
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!