Skip to content

Keyboard layout defaults to QWERTY in display managers #38481

@va1entin

Description

@va1entin

Issue description

In spite of #32203 at least the following display managers still use the US keyboard layout by default, ignoring services.xserver.layout:

  • SDDM
  • SLiM
  • LightDM

This means that one has to use the US keyboard layout during login and the one actually configured afterwards. (at least with Plasma)

Steps to reproduce

Set services.xserver.layout to a different keyboard layout than US. Use one of the display managers mentioned above.

Technical details

$ localectl status                 
   System Locale: LANG=en_US.UTF-8
       VC Keymap: de
      X11 Layout: de
       X11 Model: pc104
     X11 Options: terminate:ctrl_alt_bksp
$ more /etc/X11/xorg.conf.d/00-keyboard.conf 
Section "InputClass"
  Identifier "Keyboard catchall"
  MatchIsKeyboard "on"
  Option "XkbModel" "pc104"
  Option "XkbLayout" "de"
  Option "XkbOptions" "terminate:ctrl_alt_bksp"
  Option "XkbVariant" ""
EndSection
 - system: `"x86_64-linux"`
 - host os: `Linux 4.15.15, NixOS, 18.03.131800.ac3437aa061 (Impala)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.0`
 - channels(root): `"nixos-18.03, old-17.09.3222.21693048d72, nixos-unstable-18.03pre130932.cc4677c36ee"`
 - channels(val): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions