View previous topic :: View next topic |
Author |
Message |
pharpend n00b
Joined: 24 Sep 2014 Posts: 5 Location: United States
|
Posted: Tue Dec 09, 2014 6:08 pm Post subject: [SOLVED] TrackPoint middle-click scrolling behavior |
|
|
I have a ThinkPad with an IBM TrackPoint-style pointer. (There's a more common name for it, but the language guidelines prevent me from posting it). When I middle click, and move the TrackPoint pointer, it scrolls. This is the behavior I want. I get this behavior by following this guide.
Recently, I bought this keyboard. That keyboard also has a TrackPoint-style pointer, but only has left & right click (that is, no middle click). For that reason, the middle-click scrolling solution I used before will not work. I would like to have that behavior, but when I press left & right click.
I have asked in the #gentoo IRC channel and the #xorg IRC channel, but nobody seemed to be able to help.
Thanks in advance,
Peter Harpending
Last edited by pharpend on Fri Dec 12, 2014 7:20 pm; edited 2 times in total |
|
Back to top |
|
|
b0nafide Apprentice
Joined: 17 Feb 2008 Posts: 171 Location: ~/
|
Posted: Tue Dec 09, 2014 6:29 pm Post subject: |
|
|
It appears that under gnome 3 you can just issue:
Code: | $ gsettings set org.gnome.settings-daemon.peripherals.mouse middle-button-enabled true |
otherwise you would just do something like:
Code: | Option "Emulate3Buttons" "True" |
in the appropriate section of your xorg.conf
Hope this helps, if it doesn't, try http://www.x.org/archive/X11R7.5/doc/man/man4/evdev.4.html. |
|
Back to top |
|
|
pharpend n00b
Joined: 24 Sep 2014 Posts: 5 Location: United States
|
Posted: Tue Dec 09, 2014 6:59 pm Post subject: |
|
|
@b0nafide
Funny thing, right after I posted this, someone in #xorg responded to me. After playing information tag between #xorg and #gentoo, I got finally got to this configuration file in /etc/X11/xorg.conf.d/10-threebutton.conf .
Code: |
Section "InputClass"
Identifier "Emulate 3 Buttons"
MatchProduct "Unicomp Endura Pro Keyboard"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "true"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
|
Middle-click pastes work (i.e. 3button emulation is working), but middle-click scrolling still doesn't work. Note that changing the configuration file to this
Code: |
Section "InputClass"
Identifier "Emulate 3 Buttons"
MatchProduct "Unicomp Endura Pro Keyboard"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "1 3"
Option "Emulate3Buttons" "true"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
|
seemingly had no effect. |
|
Back to top |
|
|
b0nafide Apprentice
Joined: 17 Feb 2008 Posts: 171 Location: ~/
|
Posted: Tue Dec 09, 2014 7:36 pm Post subject: |
|
|
Just for fun you could try
Code: | Option "EmulateWheelButton" "3" |
to verify the incompatibility between Emulate3Buttons and EmulateWheel? I was going to dig out an old keyboard to test with but unfortunately I've lost the old mouse ball. Yes, it's old. |
|
Back to top |
|
|
pharpend n00b
Joined: 24 Sep 2014 Posts: 5 Location: United States
|
Posted: Tue Dec 09, 2014 7:44 pm Post subject: |
|
|
Well, that worked :/ . That is, I set emulateWheelButton to 3, and now right-clicking and moving the cursor scrolls.
That will work for the time being. Actually, that might work better, because hitting both mouse buttons at the same time is a bit of a hassle.
Cheers!
Alright, how do I mark the post as solved? |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Thu Dec 11, 2014 4:55 am Post subject: |
|
|
pharpend wrote: | I have a ThinkPad with an IBM TrackPoint-style pointer. (There's a more common name for it, but the language guidelines prevent me from posting it). | Actually, we have historically had no problems with eraserhead.
pharpend wrote: | Alright, how do I mark the post as solved? | Edit the first post, change the Subject field, and submit the changed version. |
|
Back to top |
|
|
|