JoseExposito / touche

The desktop application to configure Touchégg
GNU General Public License v3.0
556 stars 26 forks source link

Add an option to create a gesture that restores the desktop after you have already shown it. #47

Closed linusrg1 closed 3 years ago

linusrg1 commented 3 years ago

A clear and concise description of what you want to happen. When you have told the de to show the desktop via a gesture, it would be nice to be able an opposite gesture to restore the desktop afterwards, kinda like what macos has.

Describe alternatives you've considered

I haven't considered any alternatives as of now.

Thx for touchegg btw it works great!

JoseExposito commented 3 years ago

The show desktop action does exactly that, as you can see in this GIF: https://github.com/JoseExposito/touchegg#show-desktop-show_desktop

Under the hood, Touchégg tells the window manager "Hey, show the desktop" and after that "Hey, I'm done showing the desktop, restore the windows" (well, not exactly like that, but you get the idea). KDE is very good at understanding the second message... But GNOME ignores it.

I'm afraid there is not much I can do, it's up to the window manager to follow the spec.

linusrg1 commented 3 years ago

I apologize I use kde, I should've clarified that. Is there just something I am missing ans should be doing to enable that functionality?

JoseExposito commented 3 years ago

Ah ok, I assumed you were using GNOME, as it is the usual bug report.

What distro and KDE version are you using? Are you using X11 or Wayland?

linusrg1 commented 3 years ago

I am using kde wayland on fedora 33. Maybe I dont have the option to restore the desktop because I am using the gtk version of touche, is there a kde version I should be using instead.

JoseExposito commented 3 years ago

In this case the "problem" is Wayland: https://github.com/JoseExposito/touchegg#does-touch%C3%A9gg-work-on-wayland

Touchégg is X11 only due to technical limitations. The good news is that your compositor (KWin) can access gestures on Wayland, so it's a matter of time until the KDE devs implement it.