1

I am using a dual booted setup of windows 11 and kubuntu. Unfortunately, kubuntu doesn't support the pinch gestures out of the box which were very useful. So I installed libinput gestures for it but for some reason its not working. All my dependencies are installed(including the GUI gestures which I realize is not a dependency). Here's a snippet from my /etc/libinput-gestures.conf file:

# KDE Plasma open/close overview
gesture pinch in       xdotool key ctrl+F9
gesture pinch out      xdotool key ctrl+F9

For some reason this is not working even after restarting libinput-gestures-setup. Is there something I am missing here? Also I don't fully know that whether these mappings will give me smooth pinch gestures like that of windows 11. Can anyone suggest any solutions to emulate that behavior?

echo $XDG_SESSION_TYPE
x11

1 Answers1

0

Install the Plasma Wayland Session

sudo apt install plasma-workspace-wayland

Restart the computer and choose the Plasma (Wayland) session (not the Plasma (X11) session) in the login screen.

Afterwards,run Microsoft Edge with the command

microsoft-edge --enable-features=UseOzonePlatform --ozone-platform=wayland

Now it should support pinch gestures.

I am unsure if that enables wayland permanently in MS Edge. If it does not work when you launch the browser from the app menu, you will have to modify the microsoft edge desktop file with these flags and place it in $HOME/.local/share/applications. Let us know if you need further help regarding this.