svn commit: r47597 - head/en_US.ISO8859-1/books/handbook/x11
Warren Block
wblock at FreeBSD.org
Fri Oct 16 19:03:20 UTC 2015
Author: wblock
Date: Fri Oct 16 19:03:18 2015
New Revision: 47597
URL: https://svnweb.freebsd.org/changeset/doc/47597
Log:
Make screen resolution examples use consistent markup, fix title
capitalization, add pointers to two ports that help with keyboard layout
switching (thanks to 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 16:45:41 2015 (r47596)
+++ head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Fri Oct 16 19:03:18 2015 (r47597)
@@ -599,12 +599,17 @@ DP1 disconnected (normal left inverted r
</varlistentry>
<varlistentry xml:id="x-config-monitors-files">
- <term>Setting Monitor Resolution In a File</term>
+ <term>Setting Monitor Resolution in a File</term>
<listitem>
<para>To set a screen resolution of 1024x768 in a
configuration file:</para>
+ <example>
+ <title>Set Screen Resolution in a File</title>
+
+ <para><filename>/usr/local/etc/X11/xorg.conf.d/screen-resolution.conf</filename></para>
+
<programlisting>Section "Screen"
Identifier "Screen0"
Device "Card0"
@@ -612,6 +617,7 @@ DP1 disconnected (normal left inverted r
Modes "1024x768"
EndSubSection
EndSection</programlisting>
+ </example>
<para>The few monitors that do not have
<acronym>EDID</acronym> can be configured by setting
@@ -662,7 +668,7 @@ EndSection</programlisting>
the <literal>oss</literal> variant.</para>
<example>
- <title>Setting A Keyboard Layout</title>
+ <title>Setting a Keyboard Layout</title>
<para><filename>/usr/local/etc/X11/xorg.conf.d/keyboard-fr-oss.conf</filename></para>
@@ -679,12 +685,15 @@ EndSection</programlisting>
<title>Setting Multiple Keyboard Layouts</title>
<para>Set United States, Spanish, and Ukrainian
- keyboard layouts. Cycle throught these layouts by
+ keyboard layouts. Cycle through these layouts by
pressing
<keycombo action="simul">
<keycap>Alt</keycap>
<keycap>Shift</keycap>
- </keycombo>.</para>
+ </keycombo>. <package>x11/xxkb</package> or
+ <package>x11/sbxkb</package> can be used for
+ improved layout switching control and
+ current layout indicators.</para>
<para><filename>/usr/local/etc/X11/xorg.conf.d/kbd-layout-multi.conf</filename></para>
More information about the svn-doc-head
mailing list