View Single Post
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#8
Well my friends, less than 24 hours

Using xmodmap, I mapped a hardware key to "|"
Using xmodmap, I mapped a hardware key to "Tab"

USING xmodmap I NOW HAVE RIGHT CLICK........


I made a shortcut, in KDE, I use hardware keyboard, (CONTROL-Z) turrns on and off right click.

I can move the shortcut around, BUT IT WORKS, maybe a little clunky but it works

Oh I am so excited, I will be adding this to the update

It was oh so simple, after banging my head into a wall for hours, it was staring me in the face the whole time.

God, I want to take this moment to thank Linus Torvalds, I love linux....
~~~~~~~~~~~~~
export CHANGE=`/usr/bin/xmodmap -pp | awk '{print $2}' | tail -n 33 | head -n 1`
if test 3 = $CHANGE
then
/usr/bin/xmodmap -e "pointer = 1 2 3"
else
/usr/bin/xmodmap -e "pointer = 3 2 1"
fi
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.

Last edited by penguinbait; 2008-01-18 at 05:31.