Fix Russian X11 keyboard settings

Submitted by:	idea from Alexandr Listopad <laa@ZGIA.zp.ua>
This commit is contained in:
Andrey A. Chernov 2000-03-17 23:31:16 +00:00
parent bad24d7170
commit c8b75ac08e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=6784
2 changed files with 22 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/l10n/chapter.sgml,v 1.26 2000/03/12 03:59:28 ache Exp $
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/l10n/chapter.sgml,v 1.27 2000/03/13 21:33:30 jim Exp $
-->
<chapter id="l10n">
@ -790,8 +790,10 @@ FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/100dpi"</programlisting>
<listitem>
<para>To activate a Russian keyboard add a
<programlisting>XkbKeymap "xfree86(ru)"</programlisting>
line into the <literal>"Keyboard"</literal>
<programlisting>
XkbLayout "ru"
XkbOptions "grp:caps_toggle"</programlisting>
lines into the <literal>"Keyboard"</literal>
section in your <filename>/etc/XF86Config</filename> file.
Also make sure that <literal>XkbDisable</literal> is turned
off (commented out) there.</para>
@ -801,6 +803,12 @@ FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/100dpi"</programlisting>
available via <literal>Shift+CapsLock</literal> (in LAT mode
only).</para>
<para>If you have "Win"-keys on your keyboard and notice that
some non-alphabetical keys are mapped incorrectly
in RUS mode, try to add a line:</para>
<programlisting>
XkbVariant "winkeys"</programlisting>
<note>
<para>The Russian XKB keyboard may not work with old XFree86
versions, see the <link linkend="russian-note">above

View file

@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/l10n/chapter.sgml,v 1.26 2000/03/12 03:59:28 ache Exp $
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/l10n/chapter.sgml,v 1.27 2000/03/13 21:33:30 jim Exp $
-->
<chapter id="l10n">
@ -790,8 +790,10 @@ FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/100dpi"</programlisting>
<listitem>
<para>To activate a Russian keyboard add a
<programlisting>XkbKeymap "xfree86(ru)"</programlisting>
line into the <literal>"Keyboard"</literal>
<programlisting>
XkbLayout "ru"
XkbOptions "grp:caps_toggle"</programlisting>
lines into the <literal>"Keyboard"</literal>
section in your <filename>/etc/XF86Config</filename> file.
Also make sure that <literal>XkbDisable</literal> is turned
off (commented out) there.</para>
@ -801,6 +803,12 @@ FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/100dpi"</programlisting>
available via <literal>Shift+CapsLock</literal> (in LAT mode
only).</para>
<para>If you have "Win"-keys on your keyboard and notice that
some non-alphabetical keys are mapped incorrectly
in RUS mode, try to add a line:</para>
<programlisting>
XkbVariant "winkeys"</programlisting>
<note>
<para>The Russian XKB keyboard may not work with old XFree86
versions, see the <link linkend="russian-note">above