Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] TrackPoint middle-click scrolling behavior
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
pharpend
n00b
n00b


Joined: 24 Sep 2014
Posts: 5
Location: United States

PostPosted: Tue Dec 09, 2014 6:08 pm    Post subject: [SOLVED] TrackPoint middle-click scrolling behavior Reply with quote

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
View user's profile Send private message
b0nafide
Apprentice
Apprentice


Joined: 17 Feb 2008
Posts: 171
Location: ~/

PostPosted: Tue Dec 09, 2014 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
pharpend
n00b
n00b


Joined: 24 Sep 2014
Posts: 5
Location: United States

PostPosted: Tue Dec 09, 2014 6:59 pm    Post subject: Reply with quote

@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
View user's profile Send private message
b0nafide
Apprentice
Apprentice


Joined: 17 Feb 2008
Posts: 171
Location: ~/

PostPosted: Tue Dec 09, 2014 7:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
pharpend
n00b
n00b


Joined: 24 Sep 2014
Posts: 5
Location: United States

PostPosted: Tue Dec 09, 2014 7:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Thu Dec 11, 2014 4:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum