What is the "X11 layout"?

I set everything to “English (US)”: keyboard layout, system language and measurement system.

In particular the only keyboard layout in the settings is English (US), as can be seen from this screenshot:

image

However, if I issue the localectl status command, the “X11 layout” stays to it:

$ localectl status
   System Locale: LANG=en_US.UTF-8
       VC Keymap: it
      X11 Layout: it

Why is that, and why do I have an X11 layout if I am using Wayland?

$ echo $XDG_SESSION_TYPE 
wayland

You can change it with:

sudo localectl set-x11-keymap us

But what’s the purpose of it?

How is it used by the system?

Who looks at the “X11 layout” if I’m on Wayland?

Check the output:

sudo grep -e lang -e layout ~root/anaconda-ks.cfg
1 Like

I think it’s just set by default, may not necessarily be used anywhere.

https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/basic-system-configuration/System_Locale_and_Keyboard_Configuration/

1 Like