NayamAmarshe / ToucheggKDE

TouchEgg configuration for MacOS and Windows like Touchpad Multi-Touch Gestures on KDE Plasma.
359 stars 22 forks source link

Expose and desktop grid shortcut not working #3

Closed SuitedBadge401 closed 3 years ago

SuitedBadge401 commented 3 years ago

Hi, the Kwin expose and desktop grid shortcuts aren't working on my machine. I'm running OpenSUSE Tumbleweed (Plasma 5.22) and Touchegg v2.0.11.

SuitedBadge401 commented 3 years ago

UPDATE: Missing the qdbus package. Will update if I've fixed my issue.

SuitedBadge401 commented 3 years ago

UPDATE: Solved! The command is actually qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut 'Expose'

As you can see it's qdbus-qt5, not simply qdbus. This depends on the distro I think, since the original worked fine on Fedora. Maybe consider adding it to the code?

NayamAmarshe commented 3 years ago

UPDATE: Solved! The command is actually qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut 'Expose'

As you can see it's qdbus-qt5, not simply qdbus. This depends on the distro I think, since the original worked fine on Fedora. Maybe consider adding it to the code?

Hmm, maybe I can add an instruction to alias qdbus-qt5 as qdbus? On KDE Neon, Kubuntu and many other distros, the command is qdbus and there's no -qt-5

SuitedBadge401 commented 3 years ago

UPDATE: Solved! The command is actually qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut 'Expose' As you can see it's qdbus-qt5, not simply qdbus. This depends on the distro I think, since the original worked fine on Fedora. Maybe consider adding it to the code?

Hmm, maybe I can add an instruction to alias qdbus-qt5 as qdbus? On KDE Neon, Kubuntu and many other distros, the command is qdbus and there's no -qt-5

That's certainly a very good idea. That would probably be the most elegant solution.