View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#34
I'll put this here, as it is the most likely place for it to be.

If you want application-by-application control over your keycodes (for instance, mapping the + and - hardware keys in an app to do zoom-in and zoom-out for that app), just preface the app with
Code:
xmodmap -e "keysym <original keysym> = <your new keysym>"
After you are done, clean up the key to work right again:
Code:
xmodmap -e "keycode <original keycode> = <original keysym>"
And here are the keysym and keycode entries to use for <original keysym> and <original keycode>, at least on the N800:

- HW key: keysym: F8 keycode: 74
FullScreen HW key : keysym: F6 keycode: 72
+ HW key: keysym: F7 keycode: 73
Menu HW key: keysym: F4 keycode: 70
Home (Swap) HW key: keysym: F5 keycode: 71
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-10-01 at 03:33.
 

The Following User Says Thank You to qole For This Useful Post: