definekey only grabs one key
Torbjörn Söderstedt <[email protected]>
| Newsgroups | gmane.comp.window-managers.ratpoison.devel |
|---|---|
| Message-ID | <[email protected]> |
Using definekey for the top keymap, I tried to assign a command to "minus". It
didn't work, and after some investigation I found that I have two minus keys on
my keyboard:
$ xmodmap -pk | grep minus
20 0x002d (minus) 0x005f (underscore) 0x002d (minus) 0x005f (underscore) 0x0aaa (endash) 0x0aa9 (emdash)
94 0x002d (minus) 0x005f (underscore) 0x002d (minus) 0x005f (underscore) 0x0aaa (endash) 0x0aa9 (emdash)
126 0x00b1 (plusminus) 0x0000 (NoSymbol) 0x00b1 (plusminus) 0x0000 (NoSymbol) 0x00b1 (plusminus)
After remapping the key to the scancode with the lower value, it works as
expected. Is this a limitation in ratpoison, or some peculiarity of X11?