How to find keycodes for Fn + keys in Ubuntu 11.10

Posted by budwiser on Ask Ubuntu See other posts from Ask Ubuntu or by budwiser
Published on 2011-11-19T16:54:00Z Indexed on 2011/11/19 18:15 UTC
Read the original article Hit count: 286

I'm trying to find out the keycode for Fn+? keypress (left arrow). Xev outputs

FocusOut event, serial 36, synthetic NO, window 0x3c00001,    mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 36, synthetic NO, window 0x3c00001,    mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 36, synthetic NO, window 0x0,    keys:  4294967213 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0              0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  

If it is telling me the keycode here, I'm not able to interpret it so help would be appreciated.

I'm also curious for finding out if it's possible to bind something to Fn+Del but when trying out this combination, Xev outputs

KeyPress event, serial 36, synthetic NO, window 0x3c00001,
root 0xad, subw 0x0, time 1984903, (-666,480), root:(53,533),
state 0x0, keycode 119 (keysym 0xffff, Delete), same_screen YES,
XLookupString gives 1 bytes: (7f) " "
XmbLookupString gives 1 bytes: (7f) " "
XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x3c00001,
root 0xad, subw 0x0, time 1985008, (-666,480), root:(53,533),
state 0x0, keycode 119 (keysym 0xffff, Delete), same_screen YES,
XLookupString gives 1 bytes: (7f) " "
XFilterEvent returns: False

which is exactly the same as pressing del without Fn.

So, summary for short

  1. How can I find keycode for Fn+? (left arrow)?

  2. Is it even possible to bind something to Fn+Del or am I facing windmills here?

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about key-bindings