Skip to content
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

Open
cyanescent opened this issue Mar 11, 2024 · 7 comments
Open

Use dotool or ydotool to support Wayland? #656

cyanescent opened this issue Mar 11, 2024 · 7 comments

Comments

@cyanescent
Copy link

cyanescent commented Mar 11, 2024

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).

@JoseExposito
Copy link
Owner

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

@cyanescent
Copy link
Author

I understand the Wayland headache is not that easily overcome.
Indeed, the animation to visualize / confirm the gesture is a really nice feature.
Thank you for your reply!

@genderneutralnoun
Copy link

I really, really don't mean to be rude, but... why can't there just be wayland support without the animations?

@aindriu80
Copy link

A reduced feature set on Wayland would be most appreciated compared to no Wayland support

@KAGEYAM4
Copy link

KAGEYAM4 commented Oct 8, 2024

What are your thougths on https://github.com/iberianpig/fusuma ? Any difference compared to touchegg?

@cyanescent
Copy link
Author

cyanescent commented Oct 11, 2024

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.

@genderneutralnoun
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants