svn commit: r47581 - head/en_US.ISO8859-1/books/handbook/x11

Warren Block <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: wblock
Date: Fri Oct 16 00:39:04 2015
New Revision: 47581
URL: https://svnweb.freebsd.org/changeset/doc/47581

Log:
  Add a multi-layout keyboard example courtesy of ak@.

Modified:
  head/en_US.ISO8859-1/books/handbook/x11/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/x11/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/x11/chapter.xml	Fri Oct 16 00:07:38 2015	(r47580)
+++ head/en_US.ISO8859-1/books/handbook/x11/chapter.xml	Fri Oct 16 00:39:04 2015	(r47581)
@@ -662,7 +662,7 @@ EndSection</programlisting>
 		the <literal>oss</literal> variant.</para>
 
 	      <example>
-		<title>Setting Keyboard Layout</title>
+		<title>Setting A Keyboard Layout</title>
 
 		<para><filename>/usr/local/etc/X11/xorg.conf.d/keyboard-fr-oss.conf</filename></para>
 
@@ -674,6 +674,26 @@ EndSection</programlisting>
 	Option		"XkbVariant" "oss"
 EndSection</programlisting>
 	      </example>
+
+	      <example>
+		<title>Setting Multiple Keyboard Layouts</title>
+
+		<para>Set United States, Spanish, and Ukrainian
+		  keyboard layouts.  Cycle throught these layouts by
+		  pressing
+		  <keycombo action="simul">
+		    <keycap>Alt</keycap>
+		    <keycap>Shift</keycap>
+		  </keycombo>.</para>
+
+		<para><filename>/usr/local/etc/X11/xorg.conf.d/kbd-layout-multi.conf</filename></para>
+
+		<programlisting>Section	"InputClass"
+	Identifier	"All Keyboards"
+	MatchIsKeyboard	"yes"
+	Option		"XkbLayout" "us, es, ua"
+EndSection</programlisting>
+	      </example>
 	    </listitem>
 	  </varlistentry>
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.