Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
the Option "Protocol" is very important on this one for ZAxisMapping to work..
If you use a USB mouse and the protocol is set to PS/2, change it to IMPS/2. it should work then.
(tried it on Slack, gentoo, fedora and debian)
//the one I use now
Section "Input Device"
Identifier "Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
As you can see i tried changing the protocol which did not help.
I'm wondering about two things:
1)I only have two buttons plus the wheel on my mouse. So is the thing with 4 and 5 right? I read that a wheel occupies two buttons, so shouldn't it be 3 and 4 in my ZAxisMapping since I only use 1 and 2 as real buttons?
2)Could it be that I need to add a section "Pointer" so that the applications know what's going on? read that somewhere too, not sure if I got it right....
Left click, right click and center click are buttons 1,2, and 3; wheel up and down are 4 and 5. That's why it's "ZAxisMapping" "4 5". Have you tried setting your protocol to "Auto"?
Edit:
I know nothing about "core pointer" options. Sorry.
If you search this site, you will find information on setting up a secondary mouse, which is what it looks like you're doing. Perhaps one of those threads could provide some extra insight?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.