4-finger gestures with Touchegg not triggering Meta+D or Alt+Tab on KDE Plasma 6 (Kubuntu)

Hi everyone,

I’m using kubuktu 24.04 with KDE Plasma 6 on a Dell Inspiron 16 (Ryzen 5 5625U, 16GB RAM) with a touchpad using libinput.

Initially I wanted to use 3-finger gestures, but they were not working properly in KDE, so I switched to 4-finger gestures using touchegg.

I created the following touchegg.conf to trigger some keyboard shortcuts:

<touchégg>
  <settings>
    <property name="animation_delay">150</property>
    <property name="action_execute_threshold">20%</property>
    <property name="color">auto</property>
  </settings>

  <application name="All">

    <!-- ALT TAB window switching -->

    <gesture type="SWIPE" fingers="4" direction="LEFT">
      <action type="KEYBOARD">
        <modifiers>ALT</modifiers>
        <keys>TAB</keys>
      </action>
    </gesture>

    <gesture type="SWIPE" fingers="4" direction="RIGHT">
      <action type="KEYBOARD">
        <modifiers>ALT+SHIFT</modifiers>
        <keys>TAB</keys>
      </action>
    </gesture>

    <!-- Window overview -->

    <gesture type="SWIPE" fingers="4" direction="UP">
      <action type="KEYBOARD">
        <modifiers>SUPER</modifiers>
        <keys>W</keys>
      </action>
    </gesture>

    <!-- Show desktop -->

    <gesture type="SWIPE" fingers="4" direction="DOWN">
      <action type="KEYBOARD">
        <modifiers>SUPER</modifiers>
        <keys>D</keys>
      </action>
    </gesture>

    <!-- App launcher -->

    <gesture type="PINCH" fingers="4" direction="IN">
      <action type="KEYBOARD">
        <modifiers>SUPER</modifiers>
        <keys></keys>
      </action>
    </gesture>

    <!-- Close window -->

    <gesture type="PINCH" fingers="4" direction="OUT">
      <action type="KEYBOARD">
        <modifiers>ALT</modifiers>
        <keys>F4</keys>
      </action>
    </gesture>

  </application>
</touchégg>

The gestures of up were detcted others were not detected
4-finger gestures are detected
Touchegg is running
But Meta+D and Alt+Tab do nothing

can Someone help me in solving this issue ??

Are Meta+D and Alt+Tab assigned to anything in the KDE System Settings keyboard shortcuts screen?

Also, I haven’t tested it but having a gesture just assigned to the Meta key may be breaking the Meta+D??? Comment that one out to test it.