Map Windows Key to Activate KMenu
- Open a Konsole window
- Find the key to which Super_L (the Windows key comes up as Super_L) is mapped by running xev (it will open a small window that waits for your keyboard input and displays it in the console window where xev was started. Closing the window will cause xev to terminateCode:
xev | grep
The keycode above came from my keyboard. Please run xev to determine what your keycode is.
- Create a file under ~/.kde/Autostart to remap the above discovered keycode to F13. I called my file win-key.sh as per the doc at Mepis (also Mepis mentioned mapping the keycode to the string Menu, but that did not work for me).
- Make the script you created in Step 3 executable:
- Execute the script manually (it will be executed every time you restart)
- Confirm the keycode has been mapped to F13Code:
- KMenu –> Search: Global Keyboard Shortcuts –> KDE Component: Plasma Desktop Shell –> Activate Application Launcher Widget –> Custom (Click None)
- Press the Windows Key and None should change to F13
- Click OK.
The Windows key should now activate the KMenu. Remember, if you have programs using the Windows key as the Meta key then your programs will now be broken (I lied when I said I would only warn you once).