[xmodmap] Problem with e and n
walt
w41ter at gmail.com
Mon Nov 23 14:15:21 PST 2009
On 11/23/2009 02:04 AM, Dirk Wallenstein wrote:
> On Sunday 22 November 2009 23:35:29 walt wrote:
>> I've mapped my CapsLock key to a plain Shift_L key, using your instructions.
>> Here is the output of xev (note the keycode is 66):
>>
>> KeyPress event, serial 30, synthetic NO, window 0x2000001,
>> root 0x189, subw 0x0, time 35504647, (136,79), root:(140,822),
>> state 0x0, keycode 66 (keysym 0xffe1, Shift_L), same_screen YES,
>> XKeysymToKeycode returns keycode: 50
>> XLookupString gives 0 bytes:
>> XmbLookupString gives 0 bytes:
>> XFilterEvent returns: False
>>
>> That part is wonderful, but pressing the Caps Lock key doesn't create upper
>> case letters, but pressing the Shift key does.
>>
>> Here is the line that I changed in the .xkb file:
>> key<CAPS> { [ Shift_L ] };
>>
>> What have I missed?
>
>
> For modifiers, you have to change the modifier_map entry.
>
> Currently, it will look like this:
> modifier_map Lock {<CAPS> };
>
> Change it to:
> modifier_map Shift {<CAPS> };
Yes! The wicked CapsLock witch is dead :o) Thank you.
BTW, I was able to modify the default pc101 easily enough in duttulm to my
desired configuration, but now I have the resulting XML file in ~/.duttulm
and I don't know what to do with it. What comes next?
More information about the xorg
mailing list