Sherlock19 it is often quicker to just use the command line and copypaste a few commands. Also sometimes it's the only way to run complicated commands. So it's worth it to learn how to enter commands as root. Try this:
- Code: Select all
$ su -
Password:
# cat >/etc/X11/xorg.conf.d/20-thinkpad-trackpoint.conf
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
# exit
logout
$
This is a copypaste of what I just typed on my terminal. I only edited out my name in the prompt, leaving only the
$ to signify that I am running as a regular user and
# when I've become
root.
In this example copypaste the
su - into a terminal and give the root password.
Then copypaste the
cat ... line.
Then copypaste the 10 lines beginning with
Section and ending with
EndSection.
Now you have to hit Control-D by itself at the beginning of the line after
EndSection, noting that it does not show on the terminal, and press enter. This will get you out of the
cat > block and back to the root prompt.
Finally type
exit, or Control-D again to get back to the normal user prompt. Or you can directly close the terminal window.
These are only a couple of simple things to learn which are very useful and you can take with you for the rest of your life...