-
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 (Request) #405
Comments
Accepted |
+1, this would be very nice to have |
Does anyone know how to do that? |
perhaps you can get some ispiration from gnome-control-center |
A humble request: while taking ideas from gnome stuff, try to avoid oversimplification. Some time ago I've tried to convince them to make decent mouse speed and acceleration settings. In the end they changed two non-working sliders into one which does magic with no way to tell where speed setting ends and acceleration setting begins. |
@Vladimir-csp When making UX decisions I try to make the interface as simple as possible without removing actual functionality. |
Can you please turn off tapping by default? It's annoying and unnecessary. |
Touchpad settings are usually just xinput properties of the device. No need for any special treatment. IMHO this should be merged into #337 |
Is there any other configuration tool one could use? I tried the one from GNOME, but enabling "tap to click" there does nothing. I tried the one from KDE, but so far I was unable to even load it:
Not being able to tap to click is a pretty severe regression, compared to the DEs I used previously. EDIT: I solved this for now by editing the Xorg configuration. Better than nothing. |
There is a |
IMHO, not before proper xinput frontend/daemon (#337). ...some of touchpad properties are exposed via xinput anyway. |
Tools AFAIK the common way to tweak input device settings in realtime are Device Properties so we'd better use these as backend. Also, I don't know how that whole thing will be implemented in Wayland, in particular whether the concept of Device Properties will persist. |
Breaking it apart: there is a need for input device configuration tool. This tool would work with a range of properties, grouped in profiles which would be applied to devices. It would be logical to generalize properties and create a list of known properties with (translatable) descriptions. The config tool would take a list of available properties, compare it to a list of known properties, then show known ones on the 'main' tab, all other on 'advanced' tab. Where would it take all these properties? That depends on backends. Wayland is maturing, but it is still not mainstream, nor has stable interfaces. So xinput is the thing to start with (via binary or library, does not matter). The plus side of this approach is that it would provide GUI access to any property backend can give. In case of xinput it is very impressive list, sufficient to handle a touchpad:
Everything I wrote here is just a clarification of the concept already described in #337 |
Not sure if this is helpful but xfce recognizes both my laptop and usb mice. I always disable the former to avoid accidentally moving my cursor about when typing. With lxde/qt i have to be much more careful about not touching the trackpad. Such an option would be a great addition to a great desktop. Thanks for your consideration! |
Until that option is added, if your touchpad works with Synaptics driver, you could add this to your startup:
or to keyboard shortcuts. |
with xinput
|
On my Dell Latitude e5420 running the latest (arch-based) Antergos and LxQt, xinput says unable to find SynPS/2 Synaptics TouchPad. ANy further advice? Is it possible my machine is using a different touchpad? Many thanks! From: Joseph George [email protected] with xinput $ xinput --list $ xinput --set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1 You are receiving this because you commented. |
Sometimes non-synaptis touchpads are recognised only as mouse, you can see the model with Better you search on the net specific solutions for your laptop model, it's not related in any way to LQXt. |
I respectfully disagree. Certainly the way to disable a trackpad is related to one's operating system? However, thank you for the tip on "xinput list". Using that command,and previous instructions from Joseph George, i disabled the trackpad on my Dell Latitude e5420 by... xinput --set-prop "AlpsPS/2 ALPS GlidePoint" "Device Enabled" 0 From: Stefano Binde [email protected] Sometimes non-synaptis touchpads are recognised only as mouse, you can see the model with Better you search on the net specific solutions for your laptop model, it's not related in any way to LQXt. You are receiving this because you commented. |
Yes, but in case the trackpad is not recognised by the kernel there is no DE which makes miracles. |
Following the idea of @josephg5 and description on https://bbs.archlinux.org/viewtopic.php?id=210096, this is how I change my scrolling method to edge-scrolling:
libinput provides some configuration APIs, which seems promising: https://wayland.freedesktop.org/libinput/doc/latest/group__config.html |
In response to @fedelibre:
In brief: X11-specific codes seem inevitable for implementing this Take tap-to-click for eample: gnome-control-center sends configurations to gnome-settings-daemon (gsd) [1]. On the other hand, mutter subscribes the setting from gsd [2]. Mutter then sends an X11 Atom to Xorg server to change the setting. [3] (PS. I'm new to GTK+/GLib. The conclusion above is from 2-hour reading of GNOME codes, which may be wrong) libinput settings are context-wise. That is, settings in a process are independent from another process. As a result, for LXQt running on Xorg, lxqt-config needs to use the X protocol to change those settings. That's a bad news for a desktop environment aiming to support wayland. [1] https://git.gnome.org/browse/gnome-control-center/tree/panels/mouse/gnome-mouse-properties.c#n285 |
I have a quick implementation at #109. Hope everyone can have a test as it's highly hardware-dependent and I'm not sure if things are still working with different configurations. |
i wanna see that too, the buttons on my touchpad are broken and barely work... tapping is the only way for me (also its way more comfy) |
I am assigning this to myself, because I am declaring it a feature goal for Lubuntu 19.04. Anyone is welcome to discuss the implementation or implement it (in fact, I would encourage @yan12125 to finish their PR), but I'd like to put in the work to get it mergable in time for 19.04. |
I'll also assign to @yan12125. |
@tsimonq2 Is there a feature-freeze deadline for Lubuntu 19.04? |
Mid-to-late February. |
I agree with this. @yan12125, is it acceptable to you? Or there's a case of single-click that's covered by it? |
Guess it is swapped over from mouse configuration |
Most probably. It should be "Tap to click" and it's better to put "Tap to drag" below it. |
Oh, "Tap to drag" may need be "Tap twice to drag". Confusing... |
Sure! The replacement sounds more intuitive :)
I guess I missed "twice" as the underlying libinput attribute is called LIBINPUT_PROP_TAP_DRAG. Feel free to add "twice"! |
@yan12125 I'm not even sure if "twice" is correct here. Dragging isn't done by a simple tapping, of course, but it isn't done by double tapping either because, the second time, the finger remains on touchpad. The easiest way of finding correct terms is launching KDE settings. I'll do that later and make a pedantic PR ;) The important thing is that LXQt touchpad settings work well. |
I think this prevents confusion: #460 "Tap and drag" is "Tap-and-drag" in KDE. |
Oh, it's missing! It would be a nice addition. |
Hello, sorry for the dumb question, but how do I implement this config? I've just installed lubuntu 18.10 and I have no such config entry for touchpad. this is the only place I've seen any reference to a GUI config and yet I'm not able to uncover how do it. thank you in advance |
What version of LXQt do you have? I found some pictures of Lubuntu 18.10 having version 0.13.0 of PCManFM-Qt, which would mean that indeed, you'd not have the touchpad settings yet (I believe 0.14.0 would be the earliest release with it). |
LTS means in this case that you will get the same answer longterm - it is not implemented in 0.13 |
@agaida Sounds a lot like "stable" which doesn't even have 0.12 🤣 @zerinoid 18.10 is not an LTS and actually stopped being supported in April. Upgrade to 19.04 and problem solved, at least for the basic touchpad configuration. Assuming that this finally gets implemented and released before approximately August 22nd, it will be in 19.10. |
I see. Indeed, my LXQt version is 0.13.0 |
Ah, ok. I'm starting to get what LTS means lol. thank you |
@wxl - let me cite Jack Cohen:
Edit: sorry, mixed two bugs - the LTS answer was planned for a bug in LTS. |
This is a bit of an aside but is there any way we could get more generic configuration options? I know that at least in |
I don't have enough knowledge on this but, IMO, "more generic" could mean "poorer". Each device has its own settings, which are most probably different from those of other devices. |
It's possible to implement something to apply settings to all devices identified as ID_INPUT_TOUCHPAD or ID_INPUT_MOUSE. Those keywords can be found in #109. |
To be clear, I think that we would have very device-specific settings is great. You'll find nearly every device has its own little quirks that others don't. That said, there are also some similarities that apply to all devices. For example, it would be nice to set natural scrolling universally, so that if one switches devices, one isn't surprised by the behavior. |
I completely agree with you. The only thing that it makes me stay on MATE desktop instead of using LXQt environment, is that MATE has the option to disable the touchpad permanently: https://i.imgur.com/fG5hNll.png |
Hope that you could implement the option to disable the touchpad permanently, inspired by the code of MATE desktop: https://github.com/mate-desktop/mate-control-center/blob/master/capplets/mouse/mate-mouse-properties.c |
@yan12125 I disable my touchpad in a startup script and have assigned 2 keyboard shortcuts for enabling and disabling it. @sebasarena |
Here you go~ #621 I should refactor the code for less copy/paste for a new option if I find time :/ |
Very good -- and fast. Thank you! |
In #621, we are discussing about disabling the touchpad only when a mouse is plugged. However, how the Linux kernel handles devices is less than ideal. For wireless mouse that are connected via a USB receiver, the kernel lists them even when they are out of the wireless range. Not sure if everyone plugs the receiver away when bringing their laptop out. |
IMHO, we can ignore that scenario when disabling touchpad with a plugged-in mouse. The mouse can also be broken or, for another reason, it may not work properly; these aren't our problem to solve. Having a mouse that's reported to be plugged-in can be the sufficient condition for disabling touchpad. |
Ok I've solved a way to enable tap to click and side of pad scrolling... Open terminal of choice since were talking Lxqt lets say qterminal type: xinput list I get this: ⎡ Virtual core pointer id=2 [master pointer (3)] Notice my touchpad Id is 10 above Next in terminal type: xinput enable 10 Test tap to click and pad side scrolling - mine works Now lets make it load on startup On the main panel menu: Preferences >> LXQt Settings >> Session Settings Window will open: on left click Autostart Next on right click: Add Give it whatever name you like In "Command" type: xinput enable 10 I set mine to wait for system tray, no reason just did Click: Ok On the list find the name you gave it and make sure it is checked in the box Done Enjoy |
This is more a request than a bug.
In the mouse settings theres no options for touchpads (vertical and horizontal scroll, tap, etc). It will be great if the option could be included in the settings app.
The text was updated successfully, but these errors were encountered: