Forrest logo
back to the localectl tool

setxkbmap:tldr:76e1c

setxkbmap: List all layouts.
$ localectl list-x11-keymap-layouts
try on your machine

The command "localectl list-x11-keymap-layouts" is used to display a list of available keyboard layouts for the X11 display server.

In Linux, X11 is a popular display server protocol that provides a graphical environment for applications. One of the important settings for the X11 server is the keyboard layout, which determines the mapping of keyboard keys to characters.

When you run the "localectl list-x11-keymap-layouts" command, it retrieves the list of keyboard layout options available for X11. It will display a list of different layouts, like "us" for the US QWERTY layout, "de" for German QWERTZ layout, "fr" for French AZERTY layout, and so on.

This command can be useful when you want to check the available keyboard layout options for your X11 server or when you want to configure or change the keyboard layout to suit your preferences or the language you use.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the localectl tool