aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/x11
diff options
context:
space:
mode:
authorWarren Block <wblock@FreeBSD.org>2015-10-16 19:03:18 +0000
committerWarren Block <wblock@FreeBSD.org>2015-10-16 19:03:18 +0000
commit2fea0ba42d4fa2e81a06d7ae9f36dba503295e78 (patch)
tree12a480b2bc82b0e6c57db55275137d7c0942997b /en_US.ISO8859-1/books/handbook/x11
parent1e914c7ab00b39dd71040f0597dfc5c258b9de10 (diff)
downloaddoc-2fea0ba42d4fa2e81a06d7ae9f36dba503295e78.tar.gz
doc-2fea0ba42d4fa2e81a06d7ae9f36dba503295e78.zip
Make screen resolution examples use consistent markup, fix title
capitalization, add pointers to two ports that help with keyboard layout switching (thanks to ak@).
Notes
Notes: svn path=/head/; revision=47597
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/x11')
-rw-r--r--en_US.ISO8859-1/books/handbook/x11/chapter.xml17
1 files changed, 13 insertions, 4 deletions
diff --git a/en_US.ISO8859-1/books/handbook/x11/chapter.xml b/en_US.ISO8859-1/books/handbook/x11/chapter.xml
index 2535fe1546..562129c12e 100644
--- a/en_US.ISO8859-1/books/handbook/x11/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/x11/chapter.xml
@@ -599,12 +599,17 @@ DP1 disconnected (normal left inverted right x axis y axis)</screen>
</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 right x axis y axis)</screen>
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>