How to access Plasma Shell's Configuration Window not via secondary-click on the desktop?

Problem

In the undermentioned configuration window, I accidentally set the right-click action to spawn the application menu, rather than middle-click:

This renders me unable to access its configuration options (like the colour picker), because I don’t know of any alternative way to access this window.

Diagnosis

  1. I’ve attempted to bypass this by utilising the ☰⃣ key (KC_APPLICATION), [1] but it just spawns the same menu (which is rather strange, considering that a key’s purpose should be immutable).

  2. I’ve also attempted to modify the shortcut in kcm_keys, but plasmashell doesn’t appear to integrate with it!

    …is that expected? I’d expect so.


  1. reddit.com/r/ErgoMechKeyboards/comments/u1jqmh/comment/i4d2i7o [2] ↩︎

  2. github.com/qmk/qmk_firmware/blob/6ef97172889ccd5db376b2a9f8825489e24fdac4/docs/keycodes_basic.md?plain=1#L161C1-L161C93 ↩︎

You should be able to undo that change in ~/.config/plasma-org.kde.plasma.desktop-appletsrc - look for a section like this, and change it to match the below:

[ActionPlugins][0]
MiddleButton;NoModifier=org.kde.applauncher
RightButton;NoModifier=org.kde.contextmenu

In general, if you make an unintended change, you can often find the place to go to undo it by looking at the most recently modified files in your ~/.config directory.

1 Like

@johnandmegh, it required a kquitapp6 plasmashell && plasmashell to apply, but otherwise that was perfect. Thank you again.

How do you discover them? I used to find it trivial to traverse DConf way back when I used GNOME’s DE, but kreadconfig isn’t equivalent:

1 Like

I’m afraid I’m not smart enough for the fancy methods - I opened that .config folder in Dolphin, and sorted by the most recently modified :slight_smile: It seems to work pretty well because it also captures if a file inside a folder was recently modified.

From what I’ve read, other software doesn’t always go with the specification and use a .config subfolder, but that’s at least a starting point that’s helped me out quite a few times!

1 Like

@johnandmegh, that’s actually much more clever. I’d never have thought of that. Sometimes, the simplest solution is the easiest (even if rarely the most comprehensive).