The translation is temporarily closed for contributions due to maintenance, please come back later.

Source string Read only

(itstool) path: example/programlisting
Context English State
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>.
Many mouse parameters can be adjusted with configuration options. See <citerefentry vendor="xorg"><refentrytitle>mousedrv</refentrytitle><manvolnum>4</manvolnum></citerefentry> for a full list.
Mouse Buttons
The number of buttons on a mouse can be set in the mouse <literal>InputDevice</literal> section of <filename>xorg.conf</filename>. To set the number of buttons to 7:
Setting the Number of Mouse Buttons

Loading…

No matching activity found.

Browse all component changes

Things to check

Multiple failing checks

Following checks are failing:
Unchanged translation: Chinese (Simplified) (zh_CN), Portuguese (Brazil)

Reset

Source information

Source string comment
(itstool) path: example/programlisting
Flags
no-wrap, read-only
Source string location
book.translate.xml:11786
String age
4 months ago
Source string age
4 months ago
Translation file
books/handbook.pot, string 1990