table of contents
- stretch 232-25+deb9u11
- testing 241-5
- stretch-backports 241-3~bpo9+1
- unstable 241-5
- experimental 242-2
LOCALECTL(1) | localectl | LOCALECTL(1) |
NAME¶
localectl - Control the system locale and keyboard layout settingsSYNOPSIS¶
localectl [OPTIONS...] {COMMAND}
DESCRIPTION¶
localectl may be used to query and change the system locale and keyboard layout settings. It communicates with systemd-localed(8) to modify files such as /etc/locale.conf and /etc/vconsole.conf.The system locale controls the language settings of system services and of the UI before the user logs in, such as the display manager, as well as the default for users after login.
The keyboard settings control the keyboard layout used on the text console and of the graphical UI before the user logs in, such as the display manager, as well as the default for users after login.
Note that the changes performed using this tool might require the initramfs to be rebuilt to take effect during early system boot. The initramfs is not rebuilt automatically by localectl.
Note that systemd-firstboot(1) may be used to initialize the system locale for mounted (but not booted) system images.
OPTIONS¶
The following options are understood:--no-ask-password
--no-convert
-H, --host=
-h, --help
--version
--no-pager
The following commands are understood:
status
set-locale LOCALE...
list-locales
set-keymap MAP [TOGGLEMAP]
list-keymaps
set-x11-keymap LAYOUT [MODEL [VARIANT [OPTIONS]]]
list-x11-keymap-models, list-x11-keymap-layouts, list-x11-keymap-variants [LAYOUT], list-x11-keymap-options
EXIT STATUS¶
On success, 0 is returned, a non-zero failure code otherwise.ENVIRONMENT¶
$SYSTEMD_PAGER$SYSTEMD_LESS
$SYSTEMD_LESSCHARSET
SEE ALSO¶
systemd(1), locale(7), locale.conf(5), vconsole.conf(5), loadkeys(1), kbd(4), The XKB Configuration Guide[1], systemctl(1), systemd-localed.service(8), systemd-firstboot(1), mkinitrd(8)NOTES¶
- 1.
- The XKB Configuration Guide
systemd 232 |