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

Source string Read only

(itstool) path: sect2/para
Context English State
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
Section "InputDevice"
Identifier "Mouse0"
Option "Buttons" "7"
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/</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/</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
The default fonts that ship with <application>Xorg</application> are less than ideal for typical desktop publishing applications. Large presentation fonts show up jagged and unprofessional looking, and small fonts are almost completely unintelligible. However, there are several free, high quality Type1 (<trademark class="registered">PostScript</trademark>) fonts available which can be readily used with <application>Xorg</application>. For instance, the URW font collection (<package>x11-fonts/urwfonts</package>) includes high quality versions of standard type1 fonts (<trademark class="registered">Times Roman</trademark>, <trademark class="registered">Helvetica</trademark>, <trademark class="registered">Palatino</trademark> and others). The Freefonts collection (<package>x11-fonts/freefonts</package>) includes many more fonts, but most of them are intended for use in graphics software such as the <application>Gimp</application>, and are not complete enough to serve as screen fonts. In addition, <application>Xorg</application> can be configured to use <trademark class="registered">TrueType</trademark> fonts with a minimum of effort. For more details on this, see the <citerefentry vendor="xfree86"><refentrytitle>X</refentrytitle><manvolnum>7</manvolnum></citerefentry> manual page or <xref linkend="truetype"/>.
To install the above Type1 font collections from binary packages, run the following commands:
<prompt>#</prompt> <userinput>pkg install urwfonts</userinput>
Alternatively, to build from the Ports Collection, run the following commands:
<prompt>#</prompt> <userinput>cd /usr/ports/x11-fonts/urwfonts</userinput>
<prompt>#</prompt> <userinput>make install clean</userinput>
And likewise with the freefont or other collections. To have the X server detect these fonts, add an appropriate line to the X server configuration file (<filename>/etc/X11/xorg.conf</filename>), which reads:
FontPath "/usr/local/share/fonts/urwfonts/"
Alternatively, at the command line in the X session run:
<prompt>%</prompt> <userinput>xset fp+ /usr/local/share/fonts/urwfonts</userinput>
<prompt>%</prompt> <userinput>xset fp rehash</userinput>
This will work but will be lost when the X session is closed, unless it is added to the startup file (<filename>~/.xinitrc</filename> for a normal <command>startx</command> session, or <filename>~/.xsession</filename> when logging in through a graphical login manager like <application>XDM</application>). A third way is to use the new <filename>/usr/local/etc/fonts/local.conf</filename> as demonstrated in <xref linkend="antialias"/>.
<trademark class="registered">TrueType</trademark> Fonts
<primary>TrueType Fonts</primary>
<primary>fonts</primary> <secondary>TrueType</secondary>


No matching activity found.

Browse all component changes

Source information

Source string comment
(itstool) path: sect2/para
Source string location
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 2015