[openbox] keyboard actions and dvorak

Krešimir Špes kresimir.spes at gmail.com
Tue Dec 19 11:30:10 EST 2006

All keybinds are specified by zero to a couple of modifiers plus a
keysym. For letters the keysym is just the letter, but for symbols it's
the name of the symbol. You can check what the name is with the command
'xev', for example:
> KeyPress event, serial 30, synthetic NO, window 0x4400001,
>     root 0x155, subw 0x0, time 2609563540, (-298,182), root:(330,517),
>     state 0x2010, keycode 25 (keysym 0x27, apostrophe), same_screen YES,
>     XLookupString gives 1 bytes: (27) "'"
>     XmbLookupString gives 1 bytes: (27) "'"
>     XFilterEvent returns: False
> tells us that ' is called "apostrophe", so you would put
> "C-apostrophe" in your keybind.
> -- 
> Mikael Magnusson

thanks a lot! for some strange reason, I was using "XLookupString"
instead of "keysym", which is the same in most cases.

More information about the openbox mailing list