【问题标题】:Can not use keyboard 3rd level on Manjaro无法在 Manjaro 上使用第三级键盘
【发布时间】:2022-08-19 02:50:26
【问题描述】:

我觉得我的所有设置都是正确的:

~/: setxkbmap -print -verbose 10

Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules:      evdev
model:      pc105
layout:     us,ru
variant:    ,
options:    grp:shift_caps_switch,lv3:switch,nbsp:level2
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us+ru:2+inet(evdev)+group(shift_caps_switch)+level3(switch)+nbsp(level2)
geometry:   pc(pc105)
xkb_keymap {
    xkb_keycodes  { include \"evdev+aliases(qwerty)\" };
    xkb_types     { include \"complete\"  };
    xkb_compat    { include \"complete\"  };
    xkb_symbols   { include \"pc+us+ru:2+inet(evdev)+group(shift_caps_switch)+level3(switch)+nbsp(level2)\"   };
    xkb_geometry  { include \"pc(pc105)\" };
};

~/: localectl status
   System Locale: LANG=ru_RU.UTF-8
       VC Keymap: us
      X11 Layout: us,ru
       X11 Model: pc105
     X11 Variant: ,
     X11 Options: grp:shift_caps_switch,lv3:ralt_switch_multikey,numpad:mac,nbsp:level2

但是第 3 级或 compose 层(ralt+shift)什么也不做。在我看来,我的 Manjaro (XFCE) 发行版中没有这些布局。

    标签: keyboard manjaro xfce


    【解决方案1】:

    最后,我找到了原因:需要在xkb中的每个布局中添加错字布局:

    $ setxkbmap -layout us+typo,ru:2+typo

    此外,应该启用第 3 级,例如:

    lv3:ralt_switch_multikey

    【讨论】:

    • 首先,非常感谢您分享您的解决方案。我想知道你为什么需要拼写错误和lv3?另外你如何使用lv3标签?是不是像$ setxkbmap -layout us+lv3:ralt_switch_multikey
    • 好的 nvm 我发现了如何使用 lv3 选项,但我仍然不确定是什么错字
    • 错字布局有一些日常使用的 unicode 符号: — ± €₽×⋅¹²³⅓½¼ © 等
    猜你喜欢
    • 2018-07-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-05-26
    • 1970-01-01
    • 2015-11-01
    相关资源
    最近更新 更多