-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Use dotool or ydotool to support Wayland? #656
Comments
You can replace most of the actions with keyboard shortcuts and tools like ydotool. However, there are some features that won't work. The most noticeable one is animations. Wayland is a bit of trial and error and at the moment, there is not a good way to make Touchégg work... Unfortunately, I don't think there is going to be a solution in the future :S |
I understand the Wayland headache is not that easily overcome. |
I really, really don't mean to be rude, but... why can't there just be wayland support without the animations? |
A reduced feature set on Wayland would be most appreciated compared to no Wayland support |
What are your thougths on https://github.com/iberianpig/fusuma ? Any difference compared to touchegg? |
I am currently using it on Wayland. I would say it is more DIY: no GUI, no animation, requires to use extensions or external packages and a bit of fiddling to set it up correctly, but it does the job eventually. |
I tried using fusuma as well, but it was a while ago and I vaguely remember it never working no matter what I tried. Mainly due to the fact that I wanted it for touchscreen gestures, while fusuma is targeted at touchpad gestures. I use a Surface Pro 8 I got for cheap with Fedora Linux on it to draw, and as a tablet computer, I need to be able to have custom touchscreen gestures, mainly to enter and exit fullscreen for my drawing programs easily without having to have a keyboard handy. |
Is your feature request related to a problem? Please describe
I am switching to Wayland, and the gestures with touchegg+touché working on X11 only was the single thing preventing me from switching. However, I have noticed that some gestures still work in Wayland (show or switching workspaces from key shortcut for instance, or sending a command), but other not (closing Wayland windows).
Describe the solution you'd like
The "Wayland windows not closing" issue is solved when sending the command:
echo key alt+F4 | dotool
from this package.The second xdotool-alternative "ydotool" should also work.
Therefore, every non-working preset in Touché can be replaced by an equivalent dotool command to work in Wayland.
Describe alternatives you've considered
I have tried fusuma as an alternative to touchegg, but this is not relevant to my problem.
I have also tried but failed to install ydotool, so I have used dotool instead.
Additional context
I am using touchegg+touché from the Wayland session of KDE Plasma 6 on Endeavour OS (arch).
The text was updated successfully, but these errors were encountered: