From 2bb4916d83292aabeb0618acca815ffcf899d001 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 5 Nov 2021 09:11:29 +0200 Subject: [PATCH] localectl: add page (#7272) --- pages/linux/localectl.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/localectl.md diff --git a/pages/linux/localectl.md b/pages/linux/localectl.md new file mode 100644 index 000000000..9684fdffa --- /dev/null +++ b/pages/linux/localectl.md @@ -0,0 +1,24 @@ +# localectl + +> Control the system locale and keyboard layout settings. +> More information: . + +- Show the current settings of the system locale and keyboard mapping: + +`localectl` + +- List available locales: + +`localectl list-locales` + +- Set a system locale variable: + +`localectl set-locale {{LANG}}={{en_US.UTF-8}}` + +- List available keymaps: + +`localectl list-keymaps` + +- Set the system keyboard mapping for the console and X11: + +`localectl set-keymap {{us}}`