This forum has been archived. All content is frozen. Please use KDE Discuss instead.

how to remove shortcuts registered with registerShortcut ?

Tags: None
(comma "," separated)
tubbadu
Registered Member
Posts
21
Karma
0
Hello there! I was experimenting with kwin scripts and added several shortcuts with

Code: Select all
registerShortcut("name", "description", callback);


all done in the interactiveconsole.
I can list all active shortcuts with:
Code: Select all
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.shortcutNames


I thought that after rebooting all the shortcuts that I added will disappear, but instead they are still there. How can I remove them?
tubbadu
Registered Member
Posts
21
Karma
0
I found the solution:

Code: Select all
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.cleanUp


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]