Caps Lock我正在尝试与Backspace组 1交换。我在 xkb_symbols 中有这个:
replace key <BKSP>
{
symbols[Group1] = [ Caps_Lock ],
symbols[Group2] = [ BackSpace ],
actions[Group1] = [ LockMods(modifiers=Lock) ],
actions[Group2] = [ NoAction() ]
};
replace key <CAPS>
{
symbols[Group1] = [ BackSpace ],
symbols[Group2] = [ Caps_Lock ],
actions[Group1] = [ NoAction() ],
actions[Group2] = [ LockMods(modifiers=Lock) ]
};
但是,当我编译它时,会出现以下内容:
modifier_map Lock { <BKSP> };
这会导致Backspace在某些应用程序中仍会在组 1 中切换大写锁定。
有办法防止这种情况吗?modifier_map none { <BKSP> }
不起作用。