I'm using a KDE+i3
setup on my machine and therefore I want to disable all the global hotkeys provided by KDE, since I've binded the keys properly in my i3-config.
Upon exploring qdbus
API, I've found out the command works per Plasma session:
qdbus org.kde.kglobalaccel /kglobalaccel blockGlobalShortcuts true
Issues
The issue is how to begin with its automation. The following are the issues:
- Global keys start working again after Sleep, Lock etc. which restart Plasma.
- I've used
for now but only works till Plasma doesn't restart.exec --no-startup-id qdbus org.kde.kglobalaccel /kglobalaccel \ blockGlobalShortcuts true
How should I proceed with implementing this?