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

Translation

(itstool) path: answer/para
English
Add the following to <filename>/etc/X11/xorg.conf</filename>:
Context English Norwegian Bokmål State
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>: ZFS TRIM er aktivert som standard, og kan slås av ved å legge denne linjen til <filename>/etc/sysctl.conf</filename>:
;; wheel mouse
(global-set-key [mouse-4] 'scroll-down)
(global-set-key [mouse-5] 'scroll-up)
My laptop has a Synaptics touchpad. Can I use it in X?
Yes, after configuring a few things to make it work.
In order to use the Xorg synaptics driver, first remove <literal>moused_enable</literal> from <filename>rc.conf</filename>.
To enable synaptics, add the following line to <filename>/boot/loader.conf</filename>:
hw.psm.synaptics_support="1"
Add the following to <filename>/etc/X11/xorg.conf</filename>:
Section "InputDevice"
Identifier "Touchpad0"
Driver "synaptics"
Option "Protocol" "psm"
Option "Device" "/dev/psm0"
EndSection
And be sure to add the following into the <quote>ServerLayout</quote> section:
InputDevice "Touchpad0" "SendCoreEvents"
How do I use remote X displays?
For security reasons, the default setting is to not allow a machine to remotely open a window.
To enable this feature, start <application>X</application> with the optional <option>-listen_tcp</option> argument:
<prompt>%</prompt> <userinput>startx -listen_tcp</userinput>
What is a virtual console and how do I make more?
Virtual consoles provide several simultaneous sessions on the same machine without doing anything complicated like setting up a network or running X.
When the system starts, it will display a login prompt on the monitor after displaying all the boot messages. Type in your login name and password to start working on the first virtual console.
To start another session, perhaps to look at documentation for a program or to read mail while waiting for an FTP transfer to finish, hold down <keycap>Alt</keycap> and press <keycap>F2</keycap>. This will display the login prompt for the second virtual console. To go back to the original session, press <keycombo action="simul"><keycap>Alt</keycap><keycap>F1</keycap></keycombo>.
The default FreeBSD installation has eight virtual consoles enabled. <keycombo action="simul"><keycap>Alt</keycap><keycap>F1</keycap></keycombo>, <keycombo action="simul"><keycap>Alt</keycap><keycap>F2</keycap></keycombo>, <keycombo action="simul"><keycap>Alt</keycap><keycap>F3</keycap></keycombo>, and so on will switch between these virtual consoles.
To enable more of virtual consoles, edit <filename>/etc/ttys</filename> (see <citerefentry><refentrytitle>ttys</refentrytitle><manvolnum>5</manvolnum></citerefentry>) and add entries for <filename>ttyv8</filename> to <filename>ttyvc</filename>, after the comment on <quote>Virtual terminals</quote>:
# Edit the existing entry for ttyv8 in /etc/ttys and change
# "off" to "on".
ttyv8 "/usr/libexec/getty Pc" xterm on secure
ttyv9 "/usr/libexec/getty Pc" xterm on secure
ttyva "/usr/libexec/getty Pc" xterm on secure
ttyvb "/usr/libexec/getty Pc" xterm on secure
The more virtual terminals, the more resources that are used. This can be problematic on systems with 8 MB RAM or less. Consider changing <literal>secure</literal> to <literal>insecure</literal>.

Loading…

No matching activity found.

Browse all component changes

Glossary

English Norwegian Bokmål
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: answer/para
Source string location
book.translate.xml:4244
String age
a year ago
Source string age
a year ago
Translation file
books/nb_NO/faq.po, string 681