Make screen resolution examples use consistent markup, fix title
capitalization, add pointers to two ports that help with keyboard layout switching (thanks to ak@).
This commit is contained in:
parent
1e914c7ab0
commit
2fea0ba42d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47597
1 changed files with 13 additions and 4 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue