From 6d5a335b5021bf6e01db2cdca418a7408df4f227 Mon Sep 17 00:00:00 2001 From: PrimaMateria Date: Fri, 11 Oct 2019 20:58:42 +0200 Subject: [PATCH] setxkbmap: add complex example and available values examples (#3353) --- pages/linux/setxkbmap.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pages/linux/setxkbmap.md b/pages/linux/setxkbmap.md index fd203bf3db..5532261e50 100644 --- a/pages/linux/setxkbmap.md +++ b/pages/linux/setxkbmap.md @@ -6,6 +6,22 @@ `setxkbmap {{fr}}` +- Set multiple keyboard layouts, their variants and switching option: + +`setxkbmap -layout {{us,de}} -variant {{,qwerty}} -option {{'grp:alt_caps_toggle'}}` + - Get help: `setxkbmap -help` + +- List all layouts: + +`localectl list-x11-keymap-layouts` + +- List variants for the layout: + +`localectl list-x11-keymap-variants {{de}}` + +- List available switching options: + +`localectl list-x11-keymap-options | grep grp:`