Source string Read only

(itstool) path: important/para
273/2730
Context English State
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
<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>

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: important/para
Flags
read-only
Source string location
book.translate.xml:11811
String age
a month ago
Source string age
a month ago
Translation file
books/handbook.pot, string 1995