Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key bindings are not removed when uninstalling #31

Open
macco3k opened this issue Feb 24, 2019 · 2 comments

Comments

@macco3k
Copy link

@macco3k macco3k commented Feb 24, 2019

Even after uninstalling the script through make uninstall, the global key binding still appears in the global shortcuts for KWin. How can I get rid of those? I'm on Plasma 5.14.5

@esjeon

This comment has been minimized.

Copy link
Owner

@esjeon esjeon commented Feb 24, 2019

AFAIK, KDE doesn't officially support the removal of shortcuts registered by KWin scripts. But there are 2 methods that can achieve what you want.

The first method is removing the entire KWin group in Global Shortcuts. After selecting KWin in Global Shortcuts panel, you can click on - button on the left-bottom corner. This will remove all KWin shortcuts, but KWin will register back the default values when you restart your session.

The second method is directly modifying the config file: ~/.config/kglobalshortcutsrc. Note that you MUST turn off all of your KDE sessions before modifying, or your changes will be overwritten by KDE. You can simply logout, bail out to linux console (ctrl-alt-F2/F3/F4/F5/F6), and edit the file from there. Note that the names of all Krohnkite shortcuts start with "Krohnkite", so you can't miss them.

@macco3k

This comment has been minimized.

Copy link
Author

@macco3k macco3k commented Feb 25, 2019

Nasty KDE. I'll try the first way, I'm too lazy to hand-edit config files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.