I see, you're looking at something like this:
Code:
KeymapNotify event, serial 31, synthetic NO, window 0x0,
keys: 68 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 64 0 0 0 0 0 0 0 0 0 0 0 0 0
Well, on my machine, the above lines are immediately followed by these:
Code:
KeyRelease event, serial 31, synthetic NO, window 0x5a00001,
root 0x8b, subw 0x0, time 21523367, (210,374), root:(214,432),
state 0x0, keycode 150 (keysym 0x1008ff2e, XF86WWW), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
The output I've enhanced in bold is the one you should be looking for. So, in my case, it would be the keycode 150 that triggers the XF86WWW "event" -- which is a call to the Internet browser, as you may have guessed from the "WWW". You must replace this call with some other, like XF86LightBulb, or maybe a pointless one such as XF86IWantThisKeyDeadOnceAndForAll.
Good luck hacking it!
Bookmarks