Bug 74108

Summary: Executing localectl set-x11-keymap without any argument break X config
Product: systemd Reporter: Alexandre Minoshi <minoshi>
Component: generalAssignee: systemd-bugs
Status: RESOLVED DUPLICATE QA Contact: systemd-bugs
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Alexandre Minoshi 2014-01-27 06:48:27 UTC
systemd 208, archlinux

Executing localectl set-x11-keymap <layout> <model> <variant> without any argument break X config.

For example:
#localectl set-x11-keymap us,ru pc104 grp:alt_shift_toggle
#localectl status
   System Locale: LANG=ru_RU.utf8
       VC Keymap: ru
      X11 Layout: ru,us
       X11 Model: pc104
     X11 Variant: grp:ctrl_shift_toggle

As you there is error in X11Variant.

Correct command for this example:
#localectl set-x11-keymap us,ru pc104 "" grp:alt_shift_toggle  //with quotes !!!
# localectl status
   System Locale: LANG=ru_RU.utf8
                  LC_COLLATE=C
       VC Keymap: us
      X11 Layout: us,ru
       X11 Model: pc104
     X11 Options: grp:alt_shift_toggle


As simple way - write about in man page
Comment 1 Lennart Poettering 2014-06-25 10:48:32 UTC

*** This bug has been marked as a duplicate of bug 64973 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.