-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lxqt-config-input: add a knob to enable/disable a mouse/touchpad device #621
base: master
Are you sure you want to change the base?
Conversation
GTM. I'm worried about one thing though: Suppose that the user has disabled his/her touchpad and then, he disables his mouse and clicks Apply confidently. OK, he still has the keyboard, with which he could enable the mouse again but (1) The tab order is a mess in the GUI and (2) even if we fix the tab order (which we should), the user may not know about tab or may have difficulty in using keyboard. As a result, we'll get bug reports like, "Mouse is disabled under LXQt…". Adding a visible shortcut might solve the problem only partially because the user may not know how to reach this section with keyboard. @yan12125 |
Sounds like a daemon is needed for monitoring events. I'll try to see how to achieve that. |
Another possibility may be disabling the checkbox in one device if it's checked for another existing device but various scenarios will become possible (e.g., if the fist device disappears for whatever reason, we'll have no input other than keyboard ). |
Sounds complex and error-prone :/ KDE achieves "Disable touchpad when mouse is plugged in" with a daemon [1] listening to X11 events [2]. Udev events might be better in terms of performance. Compatibility concerns:
[1] https://github.com/KDE/plasma-desktop/blob/v5.18.5/kcms/touchpad/src/kded/kded.cpp |
I agree completely. |
My touchpad produces quite a bit of noise, so I would like to disable it. Instead, I set the acceleration to the lowest value (most negative, that is: -1.0) and it reduces the noise on my mouse cursor. It would be nice to have a way to disable this completely through the UI, or at least the CLI. If there is a way to do this, the help file doesn't indicate it. Thanks for reading my "report". :) |
Of course, there is but, because it's independent of DEs and ditros, there's no reason to add an LXQt documentation for it. Find your touchpad ID from |
xinput set-prop Cheers |
I don't use Linux on my laptop anymore. I will continue to work on this PR if my next laptop is Linux-friendly. That will not happen in near future, though. If anyone is interested, feel free to create another PR and replace this one. |
No description provided.