Source string Read only

(itstool) path: listitem/para
249/2490
Context English State
<literal>--auto</literal> chooses the resolution and refresh rate detected by <acronym>EDID</acronym>. If the resolution is not correctly detected, a fixed value can be given with <literal>--mode</literal> instead of the <literal>--auto</literal> statement. For example, most projectors can be used with a 1024x768 resolution, which is set with <literal>--mode 1024x768</literal>.
<citerefentry vendor="xfree86"><refentrytitle>xrandr</refentrytitle><manvolnum>1</manvolnum></citerefentry> is often run from <filename>.xinitrc</filename> to set the appropriate mode when X starts.
Setting Monitor Resolution in a File
To set a screen resolution of 1024x768 in a configuration file:
Set Screen Resolution in a File
<filename>/usr/local/etc/X11/xorg.conf.d/screen-resolution.conf</filename>
Section "Screen"
Identifier "Screen0"
Device "Card0"
SubSection "Display"
Modes "1024x768"
EndSubSection
EndSection
The few monitors that do not have <acronym>EDID</acronym> can be configured by setting <literal>HorizSync</literal> and <literal>VertRefresh</literal> to the range of frequencies supported by the monitor.
Manually Setting Monitor Frequencies
<filename>/usr/local/etc/X11/xorg.conf.d/monitor0-freq.conf</filename>
Section "Monitor"
Identifier "Monitor0"
HorizSync 30-83 # kHz
VertRefresh 50-76 # Hz
EndSection
Input Devices
Keyboards
Keyboard Layout
The standardized location of keys on a keyboard is called a <emphasis>layout</emphasis>. Layouts and other adjustable parameters are listed in <citerefentry vendor="xfree86"><refentrytitle>xkeyboard-config</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
A United States layout is the default. To select an alternate layout, set the <literal>XkbLayout</literal> and <literal>XkbVariant</literal> options in an <literal>InputClass</literal>. This will be applied to all input devices that match the class.
This example selects a French keyboard layout.
Setting a Keyboard Layout
<filename>/usr/local/etc/X11/xorg.conf.d/keyboard-fr.conf</filename>
Section "InputClass"
Identifier "KeyboardDefaults"
MatchIsKeyboard "on"
Option "XkbLayout" "fr"
EndSection
Setting Multiple Keyboard Layouts
Set United States, Spanish, and Ukrainian keyboard layouts. Cycle through these layouts by pressing <keycombo action="simul"> <keycap>Alt</keycap> <keycap>Shift</keycap> </keycombo>. <package>x11/xxkb</package> or <package>x11/sbxkb</package> can be used for improved layout switching control and current layout indicators.
<filename>/usr/local/etc/X11/xorg.conf.d/kbd-layout-multi.conf</filename>
Section "InputClass"
Identifier "All Keyboards"
MatchIsKeyboard "yes"
Option "XkbLayout" "us, es, ua"
EndSection
Closing <application>Xorg</application> From the Keyboard
X can be closed with a combination of keys. By default, that key combination is not set because it conflicts with keyboard commands for some applications. Enabling this option requires changes to the keyboard <literal>InputDevice</literal> section:
Enabling Keyboard Exit from X
<filename>/usr/local/etc/X11/xorg.conf.d/keyboard-zap.conf</filename>
Section "InputClass"
Identifier "KeyboardDefaults"
MatchIsKeyboard "on"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Mice and Pointing Devices
If using <package>xorg-server</package> 1.20.8 or later under FreeBSD 12.1 and not using <citerefentry><refentrytitle>moused</refentrytitle><manvolnum>8</manvolnum></citerefentry>, add <userinput>kern.evdev.rcpt_mask=12</userinput> to <filename>/etc/sysctl.conf</filename>.

Loading…

No matching activity found.

Browse all component changes

Things to check

Multiple failing checks

The translations in several languages have failing checks

Reset

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: listitem/para
Flags
read-only
Source string location
book.translate.xml:11771
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 1986