You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adding environment variables to RUN_COMMAND to distinguish between input device types #597
Is your feature request related to a problem? Please describe
Many programs are optimized for touchscreen and I want to specify different behavior for touchscreen and touchpad, but currently it is difficult to distinguish between input sources.
When the touchscreen gesture is turned off
xsetwacom set"Wacom HID 524D Finger touch" Gesture off
Some programs such as firefox, krita, support two-finger pinch zoom, the effect of SendKeys way is not as smooth as the native operation, and enable SendKeys will destroy the native operation experience.
GNOME Shell 41.2 with 3 and 4 fingers swipe left and right is fixed to switch workspaces, X11Gestures(Version 14) extension also can not set it, if touchegg enabled 3 fingers tile a window, the two operations will happen together.
Provide DeviceType to external commands via environment variables, and the external command determines the actual operation.
For example: DEVICE_TYPE=TOUCHSCREEN
Describe alternatives you've considered
It would also be nice to be able to set the <deviceType> in a configuration file, but this can be more complicated and less flexible.
This could be a great feature to have. However, it'd involve too much work for a "niche" feature. "Niche" because most users don't have a touchscreen and a touchpad.
This would require changes in Touchégg to implement the feature, Touché, requiring a complete UI redesign and the X11 GNOME Shell extension and Gala due to protocol changes.
I think that it could be awesome to have this, but I don't have the time/energy to implement it.
Of course, if someone else volunteers to do the job I'd be happy to review their code.
Activity
JoseExposito commentedon Sep 11, 2022
This could be a great feature to have. However, it'd involve too much work for a "niche" feature. "Niche" because most users don't have a touchscreen and a touchpad.
This would require changes in Touchégg to implement the feature, Touché, requiring a complete UI redesign and the X11 GNOME Shell extension and Gala due to protocol changes.
I think that it could be awesome to have this, but I don't have the time/energy to implement it.
Of course, if someone else volunteers to do the job I'd be happy to review their code.