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

Source string Read only

(itstool) path: step/para
Context English State
The binary package can be installed quickly but with fewer options for customization:
<prompt>#</prompt> <userinput>pkg install xorg</userinput>
To build and install from the Ports Collection:
<prompt>#</prompt> <userinput>cd /usr/ports/x11/xorg</userinput>
<prompt>#</prompt> <userinput>make install clean</userinput>
Either of these installations results in the complete <application>Xorg</application> system being installed. Binary packages are the best option for most users.
A smaller version of the X system suitable for experienced users is available in <package>x11/xorg-minimal</package>. Most of the documents, libraries, and applications will not be installed. Some applications require these additional components to function.
<application>Xorg</application> Configuration
<personname> <firstname>Warren</firstname> <surname>Block</surname> </personname> <contrib>Originally contributed by </contrib>
<primary>Xorg</primary>
<primary><application>Xorg</application></primary>
Quick Start
<application>Xorg</application> supports most common video cards, keyboards, and pointing devices.
Video cards, monitors, and input devices are automatically detected and do not require any manual configuration. Do not create <filename>xorg.conf</filename> or run a <option>-configure</option> step unless automatic configuration fails.
If <application>Xorg</application> has been used on this computer before, move or remove any existing configuration files:
<prompt>#</prompt> <userinput>mv /etc/X11/xorg.conf ~/xorg.conf.etc</userinput>
<prompt>#</prompt> <userinput>mv /usr/local/etc/X11/xorg.conf ~/xorg.conf.localetc</userinput>
Add the user who will run <application>Xorg</application> to the <systemitem class="groupname">video</systemitem> or <systemitem class="groupname">wheel</systemitem> group to enable 3D acceleration when available. To add user <replaceable>jru</replaceable> to whichever group is available:
<prompt>#</prompt> <userinput>pw groupmod video -m <replaceable>jru</replaceable> || pw groupmod wheel -m <replaceable>jru</replaceable></userinput>
The <application>twm</application> window manager is included by default. It is started when <application>Xorg</application> starts:
<prompt>%</prompt> <userinput>startx</userinput>
On some older versions of FreeBSD, the system console must be set to <citerefentry><refentrytitle>vt</refentrytitle><manvolnum>4</manvolnum></citerefentry> before switching back to the text console will work properly. See <xref linkend="x-config-kms"/>.
User Group for Accelerated Video
Access to <filename>/dev/dri</filename> is needed to allow 3D acceleration on video cards. It is usually simplest to add the user who will be running X to either the <systemitem class="groupname">video</systemitem> or <systemitem class="groupname">wheel</systemitem> group. Here, <citerefentry><refentrytitle>pw</refentrytitle><manvolnum>8</manvolnum></citerefentry> is used to add user <replaceable>slurms</replaceable> to the <systemitem class="groupname">video</systemitem> group, or to the <systemitem class="groupname">wheel</systemitem> group if there is no <systemitem class="groupname">video</systemitem> group:
<prompt>#</prompt> <userinput>pw groupmod video -m <replaceable>slurms</replaceable> || pw groupmod wheel -m <replaceable>slurms</replaceable></userinput>
Kernel Mode Setting (<acronym>KMS</acronym>)
When the computer switches from displaying the console to a higher screen resolution for X, it must set the video output <emphasis>mode</emphasis>. Recent versions of <acronym>Xorg</acronym> use a system inside the kernel to do these mode changes more efficiently. Older versions of FreeBSD use <citerefentry><refentrytitle>sc</refentrytitle><manvolnum>4</manvolnum></citerefentry>, which is not aware of the <acronym>KMS</acronym> system. The end result is that after closing X, the system console is blank, even though it is still working. The newer <citerefentry><refentrytitle>vt</refentrytitle><manvolnum>4</manvolnum></citerefentry> console avoids this problem.
Add this line to <filename>/boot/loader.conf</filename> to enable <citerefentry><refentrytitle>vt</refentrytitle><manvolnum>4</manvolnum></citerefentry>:
kern.vty=vt
Configuration Files
Manual configuration is usually not necessary. Please do not manually create configuration files unless autoconfiguration does not work.
<application>Xorg</application> looks in several directories for configuration files. <filename>/usr/local/etc/X11/</filename> is the recommended directory for these files on FreeBSD. Using this directory helps keep application files separate from operating system files.
Storing configuration files in the legacy <filename>/etc/X11/</filename> still works. However, this mixes application files with the base FreeBSD files and is not recommended.

Loading…

No matching activity found.

Browse all component changes

Source information

Source string comment
(itstool) path: step/para
Flags
read-only
Source string location
book.translate.xml:11281
String age
4 months ago
Source string age
4 months ago
Translation file
books/handbook.pot, string 1886