AyatanaIndicators / ayatana-indicator-keyboard

Ayatana Indicator Keyboard Applet
GNU General Public License v3.0
2 stars 6 forks source link

greeter mode: also support multi-layout settings via 00-keyboard.conf | /etc/default/keyboard #68

Closed sunweaver closed 2 weeks ago

sunweaver commented 2 months ago

When putting multiple keyboard layouts into 00-keyboard.conf / /etc/default/keyboard, these should be picked up correctly by the keyboard indicator.

Such as:

/etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "cz,us"
        Option "XkbModel" "pc104"
        Option "XkbVariant" ",dvorak"
        Option "XkbOptions" "grp:win_space_toggle"
EndSection

See: https://wiki.archlinux.org/title/Xorg/Keyboard_configuration