Source string Read only

(itstool) path: answer/para
184/1840
Context English State
Use <citerefentry><refentrytitle>tzsetup</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
The X Window System and Virtual Consoles
What is the X Window System?
The X Window System (commonly <literal>X11</literal>) is the most widely available windowing system capable of running on <trademark class="registered">UNIX</trademark> or <trademark class="registered">UNIX</trademark> like systems, including FreeBSD. <link xlink:href="http://www.x.org/wiki/">The X.Org Foundation</link> administers the <link xlink:href="http://en.wikipedia.org/wiki/X_Window_System_core_protocol">X protocol standards</link>, with the current reference implementation, version 11 release 7.7, so references are often shortened to <literal>X11</literal>.
Many implementations are available for different architectures and operating systems. An implementation of the server-side code is properly known as an <literal>X server</literal>.
I want to run Xorg, how do I go about it?
To install Xorg do one of the following:
Use the <package>x11/xorg</package> meta-port, which builds and installs every Xorg component.
Use <package>x11/xorg-minimal</package>, which builds and installs only the necessary Xorg components.
Install Xorg from FreeBSD packages:
<userinput><prompt>#</prompt> pkg install xorg</userinput>
After the installation of Xorg, follow the instructions from the <link xlink:href="@@URL_RELPREFIX@@/doc/en_US.ISO8859-1/books/handbook/x-config.html">X11 Configuration</link> section of the FreeBSD Handbook.
I <emphasis>tried</emphasis> to run X, but I get a <errorname>No devices detected.</errorname> error when I type <command>startx</command>. What do I do now?
The system is probably running at a raised <literal>securelevel</literal>. It is not possible to start X at a raised <literal>securelevel</literal> because X requires write access to <citerefentry><refentrytitle>io</refentrytitle><manvolnum>4</manvolnum></citerefentry>. For more information, see at the <citerefentry><refentrytitle>init</refentrytitle><manvolnum>8</manvolnum></citerefentry> manual page.
There are two solutions to the problem: set the <literal>securelevel</literal> back down to zero or run <citerefentry vendor="xfree86"><refentrytitle>xdm</refentrytitle><manvolnum>1</manvolnum></citerefentry> (or an alternative display manager) at boot time before the <literal>securelevel</literal> is raised.
See <xref linkend="xdm-boot"/> for more information about running <citerefentry vendor="xfree86"><refentrytitle>xdm</refentrytitle><manvolnum>1</manvolnum></citerefentry> at boot time.
Why does my mouse not work with X?
When using <citerefentry><refentrytitle>vt</refentrytitle><manvolnum>4</manvolnum></citerefentry>, the default console driver, FreeBSD can be configured to support a mouse pointer on each virtual screen. To avoid conflicting with X, <citerefentry><refentrytitle>vt</refentrytitle><manvolnum>4</manvolnum></citerefentry> supports a virtual device called <filename>/dev/sysmouse</filename>. All mouse events received from the real mouse device are written to the <citerefentry><refentrytitle>sysmouse</refentrytitle><manvolnum>4</manvolnum></citerefentry> device via <citerefentry><refentrytitle>moused</refentrytitle><manvolnum>8</manvolnum></citerefentry>. To use the mouse on one or more virtual consoles, <emphasis>and</emphasis> use X, see <xref linkend="moused" remap="another section"/> and set up <citerefentry><refentrytitle>moused</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
Then edit <filename>/etc/X11/xorg.conf</filename> and make sure the following lines exist:
Section "InputDevice"
Option "Protocol" "SysMouse"
Option "Device" "/dev/sysmouse"
.....
Starting with Xorg version 7.4, the <literal>InputDevice</literal> sections in <filename>xorg.conf</filename> are ignored in favor of autodetected devices. To restore the old behavior, add the following line to the <literal>ServerLayout</literal> or <literal>ServerFlags</literal> section:
Option "AutoAddDevices" "false"
Some people prefer to use <filename>/dev/mouse</filename> under X. To make this work, <filename>/dev/mouse</filename> should be linked to <filename>/dev/sysmouse</filename> (see <citerefentry><refentrytitle>sysmouse</refentrytitle><manvolnum>4</manvolnum></citerefentry>) by adding the following line to <filename>/etc/devfs.conf</filename> (see <citerefentry><refentrytitle>devfs.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>):
link sysmouse mouse
This link can be created by restarting <citerefentry vendor="current"><refentrytitle>devfs</refentrytitle><manvolnum>5</manvolnum></citerefentry> with the following command (as <systemitem class="username">root</systemitem>):
<prompt>#</prompt> <userinput>service devfs restart</userinput>
My mouse has a fancy wheel. Can I use it in X?
Yes, if X is configured for a 5 button mouse. To do this, add the lines <literal>Buttons 5</literal> and <literal>ZAxisMapping 4 5</literal> to the <quote>InputDevice</quote> section of <filename>/etc/X11/xorg.conf</filename>, as seen in this example:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
The mouse can be enabled in <application>Emacs</application> by adding these lines to <filename>~/.emacs</filename>:
;; wheel mouse
(global-set-key [mouse-4] 'scroll-down)
(global-set-key [mouse-5] 'scroll-up)

Loading…

No matching activity found.

Browse all component changes

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: answer/para
Flags
read-only
Source string location
book.translate.xml:4137
String age
a year ago
Source string age
a year ago
Translation file
books/faq.pot, string 660