Hi, the sticky SHIFT key can be obtained by adding the following lines to the first block in "/usr/share/X11/xkb/symbols/us" : Code: key <LFSH> { type[Group1]="ONE_LEVEL", symbols[Group1]=[ ISO_Level2_Latch] }; modifier_map Shift { Shift_L, ISO_Level2_Latch}; Unfortunately, this seems to be buggy because it sends some escape character that makes crazy programs like vi or ssh when entering passphrases. Any ideas how to fix this?
key <LFSH> { type[Group1]="ONE_LEVEL", symbols[Group1]=[ ISO_Level2_Latch] }; modifier_map Shift { Shift_L, ISO_Level2_Latch};
interpret Caps_Lock { action = LatchMods(modifiers = Shift);}
key <LFSH> { [Caps_Lock] }; key <BKSP> { [BackSpace, Delete ] }; key <RTRN> { [Return, bar] }; key <CAPS> { [Escape, backslash] }; key <TAB> { [Tab, greater] }; key <SPCE> { [ space, less] };