Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-19-2017, 06:26 AM
|
#1
|
LQ Newbie
Registered: Jun 2017
Location: Earth
Distribution: Slackware
Posts: 4
Rep:
|
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.
|
|
|
06-19-2017, 07:40 AM
|
#2
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
go into mouse settings and change it from left handed to right handed mouse, see if that works.
Fluxbox
look at the settings in this link you can put them in your start up file in /fluxbox/startup file to see your pad
mine I turn off using this
Code:
#completely turn off the touchpad
xinput set-prop 12 "Device Enabled" 0
synclient touchpadoff=1
synclient VertEdgeScroll=0
synclient TapButton1=0
synclient TapButton2=0
synclient TapButton3=0 &
it is in the top end of my start up file
https://wiki.archlinux.org/index.php/Touchpad_Synaptics
Last edited by BW-userx; 06-19-2017 at 07:45 AM.
|
|
1 members found this post helpful.
|
06-19-2017, 09:29 AM
|
#3
|
LQ Newbie
Registered: Jun 2017
Location: Earth
Distribution: Slackware
Posts: 4
Original Poster
Rep:
|
Thanks, BW-userx.
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.
|
|
|
06-19-2017, 09:34 AM
|
#4
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by Festerdam
Thanks, BW-userx.
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.
|
cool -- have fun learning. 
|
|
|
06-19-2017, 11:47 AM
|
#5
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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.
https://en.wikipedia.org/wiki/Apple_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.
$ xinput
$ xinput --list-props ##
$ xinput --set-prop ## ### value
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).
|
|
|
06-19-2017, 05:41 PM
|
#6
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
|
|
|
All times are GMT -5. The time now is 10:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|