[SOLUTION] Enable TrackPoint Middle Button Scrolling

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

[SOLUTION] Enable TrackPoint Middle Button Scrolling

Postby David_Batson » Jun 11th, '12, 07:18

I got the following to work for enabling middle button scrolling in Mageia 2. [I used System Settings - Configure Your Desktop > Input Devices > Touchpad; to disable the TrackPad on my ThinkPad, as I don't use that.]

Create the following file as root:
Code: Select all
/etc/X11/xorg.conf.d/20-thinkpad-trackpoint.conf


Put the following content in that file:
Code: Select all
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
David_Batson
 
Posts: 128
Joined: May 1st, '11, 05:19

Re: [SOLUTION] Enable TrackPoint Middle Button Scrolling

Postby Mayavimmer » Jan 21st, '13, 11:22

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...
Mayavimmer
 
Posts: 27
Joined: Nov 30th, '12, 10:17


Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron