/kde-plasma:keyboard-shortcutsfrom kde-plasma
Inspect and audit KGlobalAccel keyboard shortcuts (global hotkeys) on KDE Plasma. Use when the user wants to see what a Meta/Ctrl/Alt combination is bound to, find a free combination, or troubleshoot a shortcut that stopped firing. Reads are reliable; writes on Plasma 6 Wayland are not — see the warning below before offering to bind anything.
Ships in kde-plasma. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Plasma global shortcuts live in ~/.config/kglobalshortcutsrc and are managed by
the kglobalaccel daemon.
Reading is reliable. Writing is not. On Plasma 6 Wayland there is currently no verified way to bind a shortcut from the command line and have it take effect in the running session. Do not tell the user a binding is done after writing the config file — it very likely is not. See Writing below.
# All shortcuts, grouped by component
grep -E '^\[|^[A-Za-z]' ~/.config/kglobalshortcutsrc
# Just one component
kreadconfig6 --file kglobalshortcutsrc --group "krunner.desktop" --key "_launch"
# Which components register shortcuts at all
qdbus6 org.kde.kglobalaccel /kglobalaccel org.kde.KGlobalAccel.allMainComponents
ShortcutName=<active>,<default>,<friendly name>
# e.g.
_launch=Alt+Space,Alt+Space,KRunner
<active> is what is bound now; <default> is what it ships as.<active>=none means explicitly unbound.Meta+R\tAlt+F2.<active> with a non-empty <default> means "never customised".To check whether a combination is already taken, grep the whole file for it rather
than reasoning about a single component — bindings are scattered across every
[component.desktop] group, and Plasma itself reserves a lot of Meta+*.
grep -n "Meta+Shift+K" ~/.config/kglobalshortcutsrc
Remember that this file only holds global shortcuts. Per-application accelerators
live in ~/.config/kdeglobals under [Shortcuts] and in per-app *shortcutsrc
files, and will not show up here.
Verified not to work on Plasma 6 Wayland (ThinkPad E15 Gen 3, Plasma 6):
kwriteconfig6 + D-Bus reload. The value is written to the file correctly,
but kglobalaccel does not reliably adopt it. In testing the binding only
became active after a full logout and login. Corroborated by
KDE Discuss #17995.
# Writes the file. Does NOT reliably apply.
kwriteconfig6 --file kglobalshortcutsrc --group "krunner.desktop" \
--key "_launch" "Alt+Space,Alt+Space,KRunner"
qdbus6 org.kde.kglobalaccel /kglobalaccel org.kde.KGlobalAccel.reloadConfiguration
The khotkeys route. The khotkeys KDED module does not exist in Plasma 6.
qdbus org.kde.kded6 /modules/khotkeys reread_configuration has no target;
~/.config/khotkeysrc is a Plasma 5 artefact. Custom command shortcuts moved
into the Shortcuts KCM.
.desktop file with X-KDE-Shortcuts=. Does not register.
For custom command shortcuts, walk the user through the GUI — currently the only reliable path:
Then, if the result should be reproducible, commit the resulting
~/.config/kglobalshortcutsrc to a dotfiles or config repo — capture the outcome
rather than trying to script the input.
For rebinding an existing application shortcut, the same KCM has a per-app search; that also applies immediately.
If the user explicitly accepts a logout, kwriteconfig6 plus a logout does work,
and is scriptable for machine setup where a logout is happening anyway. Say that
the logout is required rather than presenting it as optional.
Full write-up of what was tried and rejected:
custom-keybindings.
<active> to the
default.pgrep -a kglobalaccel.xbindkeys,
xdotool bindings) do not work and are not a fallback..desktop launcher, verify the launcher itself still
resolves — a broken Exec= presents as a dead shortcut.What SKILL.md sets; muted values are Claude Code's defaults
kde-plasma@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin kde-plasma22 skills in this plugin
/baloo-opsInspect, pause, resume, and reset the Baloo file indexer. Use when search is missing files, indexing is hammering disk/CPU, or the user wants to add/remove indexed paths./build-plasmoid-fileUse when the user wants to build a distributable `.plasmoid` archive of a KDE Plasma 6 widget for upload to store.kde.org / opendesktop.org. Triggers on phrases like "build a plasmoid file", "package this for the kde store", "create the .plasmoid", "make a release archive for opendesktop", "upload to kde-look". Bumps the version in `package/metadata.json`, zips the `package/` contents into a versioned `.plasmoid` file, and prints the upload checklist for the store product page./install-kde-dev-toolsOther plugins' skills for the same job