https://bugs.kde.org/show_bug.cgi?id=402857

--- Comment #54 from David Keaton <[email protected]> ---
(In reply to Ben from comment #53)
> Do you mind sharing how you're turning off the built-in KWin gestures with
> Input Actions? Do you just configure it to do nothing when performing
> gestures that are already configured by KDE?

Happy to share.  Yes, you are right.  Here is how I turned off the gestures.
```
touchpad:
  gestures:
    - type: swipe
      direction: up
      fingers: 3

    - type: swipe
      direction: right
      fingers: 3

    - type: swipe
      direction: down
      fingers: 3

    - type: swipe
      direction: left
      fingers: 3

    - type: swipe
      direction: right
      fingers: 4

    - type: swipe
      direction: left
      fingers: 4
```
Notice that I also turn off the four-finger sidways swipes since it feels weird
to have three-finger swipes go one direction and four-finger swipes go the
other.

However, great news!  In the short time since I last posted,
https://github.com/taj-ny/InputActions has been upgraded to support diagonal
gesutres, so I no longer need to stack libinput-gestures on top of it.  Here is
how I use diagonal gestures.

```
touchpad:
  gestures:
    - type: swipe
      direction: up
      fingers: 3

      actions:
        - plasma_shortcut: kwin,Switch One Desktop Up

    - type: swipe
      direction: right_up
      fingers: 3

      actions:
        - plasma_shortcut: kwin,Switch One Desktop to the Right
        - plasma_shortcut: kwin,Switch One Desktop Up

    - type: swipe
      direction: right
      fingers: 3

      actions:
        - plasma_shortcut: kwin,Switch One Desktop to the Right

    - type: swipe
      direction: right_down
      fingers: 3

      actions:
        - plasma_shortcut: kwin,Switch One Desktop to the Right
        - plasma_shortcut: kwin,Switch One Desktop Down

    - type: swipe
      direction: down
      fingers: 3

      actions:
        - plasma_shortcut: kwin,Switch One Desktop Down

    - type: swipe
      direction: left_down
      fingers: 3

      actions:
        - plasma_shortcut: kwin,Switch One Desktop to the Left
        - plasma_shortcut: kwin,Switch One Desktop Down

    - type: swipe
      direction: left
      fingers: 3

      actions:
        - plasma_shortcut: kwin,Switch One Desktop to the Left

    - type: swipe
      direction: left_up
      fingers: 3

      actions:
        - plasma_shortcut: kwin,Switch One Desktop to the Left
        - plasma_shortcut: kwin,Switch One Desktop Up

    - type: swipe
      direction: right
      fingers: 4

    - type: swipe
      direction: left
      fingers: 4
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to