Zren / zren.github.io

https://zren.github.io/
12 stars 2 forks source link

Krunner with Meta key, Ubuntu 20.04 #7

Closed okelet closed 4 years ago

okelet commented 4 years ago

This combination doesn't work to launch krunner with the Meta key:

kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/krunner,org.kde.kglobalaccel.Component,invokeShortcut,run command"

This one does work:

kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.krunner,/App,,display"
Zren commented 4 years ago

Oh right, I remember it changed to /component/krunner_desktop and _launch. It no longer has a "toggle" dbus command, which sucks. It uses a new "API" that will launch the app if if it's not already loaded I think. It's annoying as the first time you run krunner now, it's slow...

qdbus org.kde.kglobalaccel /component/krunner_desktop invokeShortcut _launch