How do I open the application launcher ("start menu") of Kubuntu with my Windows key? Similar to how the Start menu in Windows is opened. I don't want to use Alt+F1.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Modifier keys like Ctrl, Alt and also the Meta (also called "Super" or "Windows" key, are meant to operate only as modifier keys. This design works its way down to the roots of all the libraries under the GUI you see using KDE: Qt, Xorg, etc.
Your exact question is here on the KDE Forums by the way: Super key to load Application Menu.
It seems however, that there's a large audience for this feature. So, in case you really want this to work, you could try the
ksuperkey package, which contains all you need:
ksuperkey allows you to open the application launcher in KDE Plasma < 5.8 using the Super key (also known as the "Windows key"). If you hold down the Super key it will still act as a modifier key, allowing you to use it for other keyboard shortcuts.
ksuperkey is a small application that runs in the background as a daemon. It was forked from xcape by Albin Olsson: https://github.com/alols/xcape
ksuperkey can be installed from this PPA.
Note that KDE Plasma 5.8 and above will support this feature by default.
While the accepted answer may have worked a few years ago,
ksuperkey does not seem to work on Kubuntu 15.10, when installed from PPA. I have no doubt ksuperkey is a better solution, but I ended up following the link in gertvdjik's answer and using this solution, which works absolutely fine. Posting here for future googlers who had the same trouble as I did.
NOTICE: YOU WILL LOSE THE META KEY - so you might want to map it somewhere else.
xev | grep keycodepress the meta key and watch the output (the code is likely 115)
then add an entry to your Xmodmap configuration:
cat "keycode 115 = F13" > ~/.Xmodmap
"xmodmap ~/.Xmodmap" will change the keysym to F13 (not present on most keyboards ;-) and you can use it like any regular key.
If your distro does (probably) not invoke ~/.Xmodmap by default, add a short script to
xmodmap.sh: #!/bin/sh xmodmap $HOME/.Xmodmap
and make it executable
chmod +x ~/.kde/share/autostart/xmodmap.sh
This soultion worked for me
sudo apt-get install git gcc make libx11-dev libxtst-dev pkg-config git clone https://github.com/hanschen/ksuperkey.git cd ksuperkey make ./ksuperkey
then make it to start every-time your computer boots up.
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu"
works most of the time for me. It adds the setting to the kwin config file. This means it defines a new so called "ModifierOnlyShortcurt", which is just the Meta key to activate the launcher menu.
I have also be confused about this question weeks ago.
Today I added a panel and a
Tiled Menu on it. Then I use alt+F5 to activate it.
Beacuse alt+F1 F2 F3 F4 are alreadly occupied. Really, not alt+F1.
It happened just after reboot that the Super was back to life!
So I think that:
The one on Latte Dock won't work. The one on a default panel will do.
KDE Plasma Version:5.14.5
KDE Frameworks Version:5.54.0
Running the "If you wish to revert..." commands from here fixed it for me in the latest Kubuntu after I 'broke' it switching to a custom doc.