From 61dc685a766c1bf8c6bc23d219bce856b1ab1d03 Mon Sep 17 00:00:00 2001 From: Warren Block Date: Fri, 16 Oct 2015 00:39:04 +0000 Subject: [PATCH] Add a multi-layout keyboard example courtesy of ak@. --- .../books/handbook/x11/chapter.xml | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/en_US.ISO8859-1/books/handbook/x11/chapter.xml b/en_US.ISO8859-1/books/handbook/x11/chapter.xml index ef5640de91..2535fe1546 100644 --- a/en_US.ISO8859-1/books/handbook/x11/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/x11/chapter.xml @@ -662,7 +662,7 @@ EndSection the oss variant. - Setting Keyboard Layout + Setting A Keyboard Layout /usr/local/etc/X11/xorg.conf.d/keyboard-fr-oss.conf @@ -672,6 +672,26 @@ EndSection MatchIsKeyboard "on" Option "XkbLayout" "fr" Option "XkbVariant" "oss" +EndSection + + + + Setting Multiple Keyboard Layouts + + Set United States, Spanish, and Ukrainian + keyboard layouts. Cycle throught these layouts by + pressing + + Alt + Shift + . + + /usr/local/etc/X11/xorg.conf.d/kbd-layout-multi.conf + + Section "InputClass" + Identifier "All Keyboards" + MatchIsKeyboard "yes" + Option "XkbLayout" "us, es, ua" EndSection