-
Notifications
You must be signed in to change notification settings - Fork 60
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
Touchpad settings #109
Touchpad settings #109
Conversation
The |
Failing here....:
Update: |
Hmm the assertion failure is out of my expectation. What the output of this command?
|
|
Thanks @palinek Seems you're using the Synaptics driver. In X11, the two most common drivers are xf86-input-synaptics and xf86-input-libinput. The former is vendor-specific and the latter is more general. My initial plan was encouraging users to move from the vendor-specific Synaptics driver to the more general libinput driver as the Synaptics driver is now in the maintanence mode (see links in my first note). Should LXQt support drivers that are considered deprecated? |
Fair enough, but lxqt-config-input has to run even on environment where it is not able to handle the touch pad. Maybe just show a message in the new tab? |
It seems that the major distributions switch to libinput - so i guess we should only support libinput and display a message if synaptics is present. |
Sorry for not continuing on this pull request. My old laptop is completely broken, and I don't think I'll get a new one soon. That is, I can't give any more progress on this. If anyone else has a libinput-compatible touchpad and is interested in tweaking the touchpad via GUI buttons, feel free to just copy my code. |
Very sorry to hear that (after a long time)! This seems really needed.
I have a libinput-compatible touchpad but not the required knowledge ;) |
Hmm libinput appears to have changed a lot. The CLI tool is completely redesigned, and I'm not sure how to use them to debug. At this point I don't know more than you :) |
c8202eb
to
54d6ecd
Compare
Rebased and add some error checking. I plan to install Arch Linux on my Macbook Air to see if I can develop touchpad codes on it... |
Now lxqt-config-input automatically loads touchpad settings just like lxqt-config-monitor. There's no need to configure touchpad after every login. |
What's left here? (Is the description accurate?) |
Minor stuff - change the term "touchpad" as it covers also covers mice, and UI improvements. UPDATE: added TODO 3, which is also a nice to have feature. I'm OK with adding it after merging this. |
Cool, I ask because Lubuntu 19.04's development has started and this has been one of the most frequently requested features. 😄 |
i can test and merge it probably in a few days - right now i take a little "transition-vacation" - my builder don't work until the perl transiton is over |
But @agaida, why don't you try with Debian Stable? hehehe |
not a good idea, tried it with a current Ubuntu 14.04 LTS - didn't work. |
@agaida bump |
@yan12125 I want to make a PR for adding an Apply button to |
It's both a good idea and good news :) I'll wait until this is merged. |
@@ -61,8 +68,10 @@ target_link_libraries(lxqt-config-input | |||
Qt5::Widgets | |||
Qt5::X11Extras | |||
${X11_LIBRARIES} | |||
${X11_Xinput_LIB} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO, it's better to use the *_LDLIBS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
X11 appears to be a special case, where there's only *_LIB
, but no *_LDLIBS
or *_LDFLAGS
. The latter two does not build on my machine (Arch Linux).
X11_Xinput_INCLUDE_PATH, X11_Xinput_LIB, X11_Xinput_FOUND
(From https://cmake.org/cmake/help/v3.13/module/FindX11.html)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. Sorry for the noise :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem :) I appreciate your reviewing!
WARNING: incomplete implementation
This is the first step to https://github.com/lxde/lxqt/issues/92.
Notes:
TODO: