Add a multi-layout keyboard example courtesy of ak@.
This commit is contained in:
parent
18020b068c
commit
61dc685a76
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47581
1 changed files with 21 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
@ -672,6 +672,26 @@ EndSection</programlisting>
|
|||
MatchIsKeyboard "on"
|
||||
Option "XkbLayout" "fr"
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue