View Single Post
Posts: 80 | Thanked: 9 times | Joined on Oct 2007
#5
Originally Posted by penguinbait View Post
Well my friends,

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



I realize you will be looking here for some kind of way to do this, but I dont have a update yet, but I thought you would want to know, and also some people familar with KDE who already have xmodmap will find this info useful right now
Would xmodmap allow you to do something like Ctrl+Click = Right Click?