[openbox] keyboard actions and dvorak
Mikael Magnusson
mangosoft at comhem.se
Tue Dec 19 11:28:53 EST 2006
On Tue, 19 Dec 2006, Kre?imir ?pes wrote:
> I'm using the dvorak layout, which has 4 special characters on the left
> side (' , . ;).
>
> I can't seem to assign key actions with them: eg. C-' or C-, aren't
> recognised by openbox.
> Is there a way for ob to use those keys? Maby by specyfing key codes
> instead (if that is even possibile in ob3.3.1)?
>
> Or if not, does anyone know a workaround?
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
More information about the openbox
mailing list