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

fix: add script to remove Plasma keyboard shortcuts #144

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

nivaca
Copy link

@nivaca nivaca commented Oct 29, 2021

Summary

A script to remove Plasma keyboard shortcuts

Breaking Changes

None.

UI Changes

None

Test Plan

  1. Run the script.
  2. Answer "yes".
  3. The shortcuts will be removed (you still have to login again).

Related Issues

Closes #137

@gikari gikari self-requested a review November 10, 2021 10:06
sed -i -r 's/^bismuth.+//g' ~/.config/kglobalshortcutsrc
# remove the multiple newlines left by sed
sed -i -r ':a;N;$!ba;s/\n{3,}/\n\n/g' ~/.config/kglobalshortcutsrc
fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do I make sure, that the shortcuts are no longer working after an edit of the config file? You need to reload shortcuts daemon.


# SPDX-FileCopyrightText: 2021 Nicolas Vaughan <nivaca@fastmail.com>
#
# SPDX-License-Identifier: CC-BY-NC-4.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are introducing a new license to the project, so you need to download and place it into the LICENSES folder. Reuse tool can be used for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Problem removing keyboard shortcuts after uninstall
2 participants