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

Source string Read only

(itstool) path: sect3/para
Context English State
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
<filename>/usr/local/etc/X11/xorg.conf.d/mouse0-buttons.conf</filename>
Section "InputDevice"
Identifier "Mouse0"
Option "Buttons" "7"
EndSection
In some cases, <application>Xorg</application> autoconfiguration does not work with particular hardware, or a different configuration is desired. For these cases, a custom configuration file can be created.
Do not create manual configuration files unless required. Unnecessary manual configuration can prevent proper operation.
A configuration file can be generated by <application>Xorg</application> based on the detected hardware. This file is often a useful starting point for custom configurations.
Generating an <filename>xorg.conf</filename>:
<prompt>#</prompt> <userinput>Xorg -configure</userinput>
The configuration file is saved to <filename>/root/xorg.conf.new</filename>. Make any changes desired, then test that file (using <option>-retro</option> so there is a visible background) with:
<prompt>#</prompt> <userinput>Xorg -retro -config /root/xorg.conf.new</userinput>
After the new configuration has been adjusted and tested, it can be split into smaller files in the normal location, <filename>/usr/local/etc/X11/xorg.conf.d/</filename>.
Using Fonts in <application>Xorg</application>
Type1 Fonts

Loading…

No matching activity found.

Browse all component changes

Source information

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