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
The type and quantity of output connectors varies between devices, and the name given to each output varies from driver to driver. What one driver calls <literal>HDMI-1</literal>, another might call <literal>HDMI1</literal>. So the first step is to run <citerefentry vendor="xfree86"><refentrytitle>xrandr</refentrytitle><manvolnum>1</manvolnum></citerefentry> to list all the available outputs:
<prompt>%</prompt> <userinput>xrandr</userinput>
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1366x768 60.04*+
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
VGA1 connected (normal left inverted right x axis y axis)
1280x1024 60.02 + 75.02
1280x960 60.00
1152x864 75.00
1024x768 75.08 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 60.00
720x400 70.08
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
Four outputs were found: the built-in panel <literal>LVDS1</literal>, and external <literal>VGA1</literal>, <literal>HDMI1</literal>, and <literal>DP1</literal> connectors.
The projector has been connected to the <literal>VGA1</literal> output. <citerefentry vendor="xfree86"><refentrytitle>xrandr</refentrytitle><manvolnum>1</manvolnum></citerefentry> is now used to set that output to the native resolution of the projector and add the additional space to the right side of the desktop:
<prompt>%</prompt> <userinput>xrandr --output VGA1 --auto --right-of LVDS1</userinput>
<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:

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), Turkish (tr_TR), Portuguese (Brazil)
Has been translated: Turkish (tr_TR)

Reset

Source information

Source string comment
(itstool) path: example/programlisting
Flags
no-wrap, read-only
Source string location
book.translate.xml:11744
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 1981