Hi,
I use Tumbleweed for a long time and yesterday i had to reinstall my system, so i got the latest release from the site. The problem I have is more like inconvenience. Before reinstalling i had assign left win as shortcut for changing keyboard layouts. After reinstalling I again assigned left win for changing layouts, but now, when i press left win, Application menu pops up. You can imagine how annoying it is, so my question is how to remove left win as shortcut for the Application menu?
Are you sure you used the Windows key as shortcut before?
The KDE desktop did not support this at all before 5.8, because Windows (Meta) is a modifier key like Shift, Alt or Ctrl.
The latest versions of Plasma (kwin), allow to use the window keys as shortcut (this wasn’t possible at all before), and set it to open the application menu by default.
(this was a long requested feature, many people complained about that not being possible, and not being done by default)
See the 5.8 release announcement:
Simplified Global Shortcuts
Global shortcuts configuration has been simplified to focus on the most common task, that is launching applications. Building upon the jump list functionality added in previous releases, global shortcuts can now be configured to jump to specific tasks within an application.
Thanks to our Wayland effort, we can finally offer so-called “modifier-only shortcuts”, enabling you to open the application menu by just pressing the Meta key. Due to popular demand, this feature also got backported to the X11 session.
The commit that introduced this feature mentions that this can be configured by editing ~/.config/kwinrc directly, but not through the GUI.
Adding a section like this should work:
[ModifierOnlyShortcuts]
Meta=org.kde.kglobalaccel,/component/kwin/,org.kde.kglobalaccel.Component,invokeShortcut,ShowDesktopGrid
I have no idea currently what that should look like to change the keyboard layout…
OTOH, are you actually talking about KDE/Plasma?
Or did/do you actually use a different desktop environment?
That’s something that should be specified right from the start when asking such questions…
Yes, I’m using Plasma 5. I didn’t mentioned that I have also Windows 7 as dual boot. Yesterday i used win and today i turn back to suse and the problem just disappeared from itself. I didn’t even make update. I guess it was some kind of bug. Now everything works as always.
Anyway, thanks for replay. For the using of left win, I was using it for long time. I didn’t follow the verisons of Plasma my distro was using. I used opensuse tumbleweed for mounts and before that i was using manjaro. In both i was able to use win key (may be even before that, sorry but i don’t remember how long it was).
Still strange, because as mentioned KDE didn’t support modifier-only shortcuts at all for years.
It only got introduced recently in Plasma 5.8, released last week.
But maybe your windows key is not recognized as “Meta”, but rather some normal key? (can be done via xmodmap e.g., or maybe some keyboard layouts do it as well, I’m not sure about the latter though, or maybe it’s something specific to your particular keyboard i.e. hardware-wise)
Or did you install some additional software, like ksuperkey?
Anyway, glad to hear that it’s working again.
Hello,
Apparently, it also works with just Meta=
(found it here).
These steps worked for me to prevent the “Meta” key from triggering the main menu:
- Press Alt+F2 to get KRunner and paste
~/.config/kwinrc
to open the file in a file editor. - Append the following, pasting it at the end of the file:
[ModifierOnlyShortcuts]
Meta=
- Press Alt-F2 again to get KRunner and execute
kwin_x11 --replace
That’s it.
Do you know why empty Meta=
works? And, is it better to use the full line Meta=org...
that you posted earlier, if so, why?
This thread is seven (7!) years old. Software versions may can not even remember. People that long ago quit to post here.
When you have a question, then please start a new thread that will draw the attention of much more people then those that the few that stumbled into this one.
This one will be closed.
This will be closed