Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse Configuration in xorg.conf
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
PP133
Apprentice
Apprentice


Joined: 02 Jun 2005
Posts: 192

PostPosted: Fri Jul 06, 2007 5:55 am    Post subject: Mouse Configuration in xorg.conf Reply with quote

Hey peeps, I'm trying to configure my laptop's mouse buttons in xorg.conf but I'm a bit confused.

I have three mouse buttons on my laptop. When I had Windows on this laptop, I would press and hold the middle button and move the cursor up/down to scroll up/down a webpage. I would really like to set that back up in Gentoo.

I don't mind the middle mouse button pasting things, but if enabling this web scroll feature on it means I can't paste with it, I'd be fine pasting with the right mouse button.

I've been reading the xorg.conf and X setup guides but I find that their explanation of ZAxisMapping is lacking. Maybe I'm reading the wrong man page but even 'man xorg.conf' is lacking in this department.

Can any of you gurus out there point me in the right direction?

Thanks in advance!
_________________
-Paul
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Jul 06, 2007 7:10 am    Post subject: Reply with quote

In firefox at least, it does that by default. No special config required. Just don't click on a text entry area.

[edit] Actually, you don't hold it down. You middle-click and it goes into a scroll mode.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
PP133
Apprentice
Apprentice


Joined: 02 Jun 2005
Posts: 192

PostPosted: Fri Jul 06, 2007 4:51 pm    Post subject: Reply with quote

Hrmm, well it's not working for me...

Here's the mouse section of my xorg.conf:

Code:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option     "ZAxisMapping" "4 5 6 7"
EndSection



I tried changing ZAxisMapping to "3" in hopes that it would accomplish what I'm looking for, but it didn't work. Now my scroll wheel is broken :)
_________________
-Paul
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Jul 06, 2007 5:57 pm    Post subject: Reply with quote

Huh. Alright, open about:config, and see if general.autoScroll is set to true. As far as xorg.conf goes, the "4 5 67" was correct. Check /var/log/Xorg.0.log to see what protocol it decides to use with the mouse.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
PP133
Apprentice
Apprentice


Joined: 02 Jun 2005
Posts: 192

PostPosted: Fri Jul 06, 2007 6:08 pm    Post subject: Reply with quote

didymos wrote:
Huh. Alright, open about:config, and see if general.autoScroll is set to true. As far as xorg.conf goes, the "4 5 67" was correct. Check /var/log/Xorg.0.log to see what protocol it decides to use with the mouse.


Haha, way to think outside the box :)

That firefox config fixed it.

Thx!
_________________
-Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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