HP Mini 210-1100, Slackware 14.1: touchpad right button behavior.
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I found a workaround with the "enable-softbuttons.sh" script from this GitHub repository. Just put it on a path and make it autostart with X. It might be useful to you.
P.S. Right now GitHub is experiencing outages. If you can't get access to the repository I may paste the script here (it's ~40 LOC long).
Last edited by sombragris; 08-17-2015 at 04:03 PM.
I found a workaround with the "enable-softbuttons.sh" script from this GitHub repository. Just put it on a path and make it autostart with X. It might be useful to you.
P.S. Right now GitHub is experiencing outages. If you can't get access to the repository I may paste the script here (it's ~40 LOC long).
This does utilize xinputs instead of synclient, but I don't think this will enable the ability to enable/disable the pad (but I could certainly be wrong).
To go further with this, find out what device number your mouse is by typing xinput. Once you have that, replace all entries of $ID with your mouse ID #.
Code:
xinput get-button-map $ID
xinput list-props $ID
xinput query-state $ID
# And then run this again with the button pressed to disable the touchpad to see if anything is different
xinput query-state $ID
Here are the outputs. And there is a difference between states, though only in the position coordinates. Temporarily I am using this to disable the pad:
Don't you have a file whose name ends in .conf directly in /etc/X11 then?
Yes I have. But only files in /etc/X11/xorg.conf.d are scanned, AFAIK. And the log file posted says; "Using config directory /etc/X11/xorg.conf.d and /usr/share/X11/xorg.conf.d. The latter is where X is reading the name of the driver (synaptics).
Allright. Post #22 has the log now. Now synaptics module is being loaded with no pro blems. Now I think I can follow the steps outlined in post #7 by bassmadrigal. But isn't that way how it all began in the thread?
and edit the copy as advised in the file itself, that also suggests you to use "synclient -l" to see all available options and "man synaptics" for details about what the options do.
PS Nowadays it's generally better to let the X server use its default settings, and by exception write only the specific settings you need in small files ending in .conf. Also, making only one change at a time helps testing and checking the effects of your customization.
Last edited by Didier Spaier; 08-17-2015 at 05:48 PM.
Reason: PS added.
Now synaptics module is being loaded with no pro blems. Now I think I can follow the steps outlined in post #7 by bassmadrigal. But isn't that way how it all began in the thread?
Of course the advice bassmadrigal already gave you in post #7 was the way to go. If only you didn't have this xorg.conf that confused us
Thank you guys. As to the contents of 50-synaptics.conf, I feel lost here. In the synaptics man page, there is
Code:
Option "LTCornerButton" "integer"
Which mouse button is reported on a left top corner tap.
Set to 0 to disable. Property: "Synaptics Tap Action"
And
Code:
Option "TouchpadOff" "integer"
Switch off the touchpad. Valid values are:
0 Touchpad is enabled
1 Touchpad is switched off
2 Only tapping and scrolling is switched off
Property: "Synaptics Off"
I think I must use those options, but in what way? The behavior I'd like to get is: tapping the pad upper left corner, where there is an on/off indicator LED, toggles the pad state between off and on. The hardware can do this, because that behavior was observed by me under Windows 7.
Are you sure the synaptics driver can do this?
Guess you guys got quite far while I was asleep. Right now, synclient will be your friend. This is used for temporary modification of the synpatics driver on the fly. Once you find the desired configuration, you can then import it into your xorg conf files.
As far as LTCornerButton, this allows you to assign a mouse button to the Left Top corner, I don't believe there is any button that can function to turn off the pad, so I don't think the synaptics driver is capable of this (but, I could certainly be wrong on this). I tried finding a listing of the mouse buttons you can emulate, but I came up empty. From memory, I'm pretty sure leftclick=1, middleclick=2, rightclick=3, back=8, forward=9.
The other option you listed is a way for you to completely disable the touchpad itself, but it isn't based on any inputs on the touchpad, it would be a command you'd need to type (synclient TouchpadOff=1), although, you could probably set up a hotkey to run a script to do this for you.
To start, run synclient -l to see what options are available for your mouse and what they are set as.
to disable the pad, and an analog one to enable it.
Based on that, all your corner tap buttons are disabled (so it would just act like a normal tap like anywhere else on the pad). You have Tap 2 fingers at once set to right click, and tap 3 fingers at once for a middle click.
I still don't see a way for you to enable/disable the touchpad based on tapping a corner. You could simplify that alias a bit by using synclient, however, I would probably use something other than a single character... maybe something like:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.