View Single Post
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#8
Originally Posted by debernardis View Post
Please credit also apple2 for this breakthrough!
http://www.internettablettalk.com/fo...id=1#post81608
He had seen the Light in October already, but the Revelation has been postponed 3 months...

Yes he was definetly on the right track, but my question is how do you map F4 to that command? This seemed to be missing from the instructions?

Fortunately, KDE shortcuts come in handy? Not sure how you would do this is maemo?

So I created a KDE menu item to run a script,

swmb.sh
~~~~~~~~~~~~~~
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



Then I can map the menu Item to a key or series of keys, inside KDE.




I was originaly trying to skin this cat a different way, by enabling mousekeys and mapping a key to a pointer button.

But I can not enable mousekeys, xkbset -m, it just doesnt work, I think the keyboard layout missing a num_lock may be the reason it wont enable. If mousekeys works, we should be able to set a (CTRL)+left click = right. But its not working for me

So if someone can figure out why mousekeys wont enable, I would be appreciative, but for now, this works pretty well.


And as someone asked earlier, it will work with the N800, I just mapped right click to a single F5, so you can map it to any n800 F? hardware key, not the escape key though.

I originally had F5 on n810- mapped to "next desktop" I am changing it now to (Shift + F5) = "next desktop", F5 now is set to right click on/off
__________________
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.