mitchellroe.dev

Use the Meta Key To Open the Latte Dock Application Launcher

References

Instructions

Edit your ~/.config/kwinrc file and add the following:

[ModifierOnlyShortcuts]
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu

Alternatively, you can run the following command:

kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"

Then, when the configuration file has been written, restart KWin:

qdbus org.kde.KWin /KWin reconfigure

Go back to default

To go back to the using the Plasma Panel, use:

kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu"

Note: This did not work for me in all cases. As a workaround, I was able to set the widget’s shortcut to Meta + F1, after which hitting just Meta triggered the shortcut.