10

enter image description hereI want to open latte dock using only super key. Is there any way?

muru
  • 197,895
  • 55
  • 485
  • 740
nazar2sfive
  • 1,335

1 Answers1

18

According to the FAQ page of the project on GitHub, there are two ways to do this.

You can either edit ~/.config/kwinrc and add

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

or run the following commands in terminal

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

then, in either case, reload KWin:

qdbus org.kde.KWin /KWin reconfigure
nazar2sfive
  • 1,335
  • Do you have a command to undo this and let kde plasma panels handle the super key – AmaanK Aug 23 '21 at 12:51
  • xcodz-dot you should be able to just go into ~/.config/kwinrc and remove the two lines shown in the prompt above. Don't forget to reload KWin to apply! – Hugeblank Nov 16 '21 at 14:51