I found it. The menu settings are in ~/.config/plasma-org.kde.plasma.desktop-appletsrc
Here is what the settings were after I attempted to change the middle mouse button.
- Code: Select all
[ActionPlugins][0]
MidButton;NoModifier=org.kde.paste
RightButton;NoModifier=org.kde.applauncher
wheel:Vertical;NoModifier=org.kde.switchdesktop
I edited the file and changed it to:
- Code: Select all
[ActionPlugins][0]
MidButton;NoModifier=org.kde.paste
RightButton;NoModifier=org.kde.contextmenu
wheel:Vertical;NoModifier=org.kde.switchdesktop
I could not refresh the desktop settings because the "Refresh Desktop" function is in the context menu that I could not display. So I chose to log out and log back in.
Then, I found that there was no way for me to log out to get the new settings to take effect. Since I could not get to the Desktop context menu, there was no "Leave" option. I could not find a "logout" function in the context menu.
I brought up a terminal, Ctl-Alt-F5, and shut down the system as root. After rebooting, the desktop is back to a usable state (middle button for paste and right button for context menu).
I think that it is a bad usability bug that Plasma will allow me to set the Desktop settings such that I am locked out completely from basic functions. It is nice to be able to configure things the way you want them, but it allowed my attempt to try something different to break my system in a devastating way. The Desktop Context menu should always be available regardless of what settings the user has requested. Think of it as a safety interlock.
Now that I have my system back, I will run the experiment again to see if Plasma really did mislabel my mouse buttons, or if I just ham-fisted it again.
But even if it was my own fault, I should not be allowed to lock myself out of the system like that.
One idea would be to put a "Logout" function in the launcher.... unless there already is one. I could not find any.
Perhaps we could add a System tool that will post the Configure Desktop dialog box. None of the Desktop configuration tools that I found in the launcher would configure the mouse buttons for the desktop.
A well-known keystroke accelerator to post the Desktop Context menu could work.
The best option is to disallow the removal of the desktop context menu since it has such critical actions in it.
Banjo
(_)=='=~
If only the best bird sang, the forest would be a very quiet place.