Computer detecting right-click as left-click, left-click as left-click and middle with 2 fingers pressed as right-click
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.
Computer detecting right-click as left-click, left-click as left-click and middle with 2 fingers pressed as right-click
I couldn't open the root menu when right-clicking on the Fluxbox desktop.
I opened Xev and I got this output when making these actions:
-Left-click:
Code:
ButtonPress event, serial 36, synthetic NO, window 0xc00001,
root 0xd4, subw 0x0, time 57000313, (97,169), root:(1070,196),
state 0x10, button 1, same_screen YES
ButtonRelease event, serial 36, synthetic NO, window 0xc00001,
root 0xd4, subw 0x0, time 57000421, (97,169), root:(1070,196),
state 0x110, button 1, same_screen YES
-Right-click:
Code:
ButtonPress event, serial 36, synthetic NO, window 0xc00001,
root 0xd4, subw 0x0, time 57004019, (97,163), root:(1070,190),
state 0x10, button 1, same_screen YES
ButtonRelease event, serial 36, synthetic NO, window 0xc00001,
root 0xd4, subw 0x0, time 57004126, (97,163), root:(1070,190),
state 0x110, button 1, same_screen YES
-Middle-click with 2 fingers:
Code:
ButtonPress event, serial 36, synthetic NO, window 0xc00001,
root 0xd4, subw 0x0, time 57291756, (76,167), root:(1049,194),
state 0x10, button 3, same_screen YES
ButtonRelease event, serial 36, synthetic NO, window 0xc00001,
root 0xd4, subw 0x0, time 57291897, (76,167), root:(1049,194),
state 0x410, button 3, same_screen YES
As we can see in the output, right-click is interpreted the same way left-click is.
I have removed GPM with pkgtool, but it still doesn't work(I found a post where someone solved a problem that he had with his mouse by removing the GPM).
I am using an Asus touch-pad(I don't know how to call it.).
Scrolling with 2 fingers works.
It isn't so bad, it feels also a bit modern to have to middle-click to make things that we are currently doing with right-click, but it isn't practical for playing games like Minetest.
You could give instructions on how to remove this behavior, but also how to enable something like this, so people who like to use middle-click with 2 fingers can experience such a modern life-style.
P.S. I know the output isn't "code", but I like to see it kind of isolated from the other text.
When I was reading the synaptics' man page, I saw a line like this:
Code:
- Multifinger taps: two finger for right button and three finger for middle button events. (Needs hardware support. Not all models implement this feature.)
Which clearly describes my current situation. I am going to take some time reading this man page, so I can disable this feature.
When I was reading the synaptics' man page, I saw a line like this:
Code:
- Multifinger taps: two finger for right button and three finger for middle button events. (Needs hardware support. Not all models implement this feature.)
Which clearly describes my current situation. I am going to take some time reading this man page, so I can disable this feature.
Those gestures are what modern tablets tend to use. And not un-expected. I can't look at a tablet and not think of the ancient one button mouse associated with apple / macintosh. With multi-touch being two one button mice, not one two button mouse.
Browsers and other things have adopted left click only behavior, so a right mouse triggers the left mouse action. In the old days you could left mouse the address bar history and right mouse to COPY the url. Not anymore and it's still fairly application specific. There are settings that you can adjust for the mouse, but the apps are what the apps are.
In my case ## is currently 8 for my logitech mouse, and ### is 279 for middle button emulation. With value being 1 for true. Although not something I would normally do for this mouse as it has a middle button. But I have a kensington trackball with only two buttons. And I prefer a wm that uses the middle button to resize windows. Although wmctrl works for that if I'm being lazy. Just another option or two if your desktop environment doesn't have a nice gui way to customize your pointer device(s).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.