Kwin script for gesture or libinput gesture

for gesture application what should be kwin script for zoom in and zoom out ?

If you are using libinput I don't think you need a Kwin script--just put the gesture you want into /etc/libinput-gestures.conf.

It's application specific and you haven't supplied any information about what application you want to zoom in, nor what gesture you want to use, so for the sake of an example I will assume we want pinch to zoom in Firefox:

gesture pinch   in    2  xdotool key ctrl+minus
gesture pinch   out   2  xdotool key ctrl+plus
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.