我刚刚升级到 21.10,由于 Firefox 不再能找到显示器并在 X 上启动,所以我转向了 Wayland(并且对此感到高兴)。
但是,我在执行键盘映射覆盖时遇到了问题。我想自定义一下我的英语 Dvorak 键盘布局。我在 Fedora 上成功使用了以下配置,但无法在 Ubuntu 上加载或运行它。
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "default" };
xkb_compat { include "complete" };
xkb_symbols {
include "pc+us(dvorak)+inet(evdev)+ctrl(nocaps)+eurosign(e)+kpdl(dot)"
// Less than/Greater than/Pipe key on Swedish keyboards becomes Compose
replace key <LSGT> { [ adiaeresis, odiaeresis ] };
// Scroll Lock becomes Compose
// replace key <SCLK> { [ Multi_key ] };
};
xkb_geometry { include "pc(pc105)" };
};