This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Keyboard shortcut for the application launcher (the K logo)

Tags: None
(comma "," separated)
Serge Roussak
Registered Member
Posts
15
Karma
0
Hello everybody!
When I assign a keyboard shortcut for the application launcher in the KDE 5 it going to be triggered when the windows-key pressed. I.e., if I assign the Alt+F1 then this combination works wine while the windows-key when pressed cause to the launcher is activated too. If I clear the shortcut then the windows-key is not fire the launcher too.
I could accept this strange behaviour if the windows-key, when it is pressed while the virtual machine is foreground, could not fire the KDE launcher, but it could. I.e., when I press the windows-key in the virtual-boxed windows then the windows start menu is triggered and the KDE's launcher is foregrounded.
wolfi323
Registered Member
Posts
1129
Karma
11
OS
You can disable the Windows key in ~/.config/kwinrc.
Add this to ~/.config/kwinrc:
Code: Select all
[ModifierOnlyShortcuts]
Meta=

(if the [ModiferOnlyShortcuts] section already exists, just add/modify the Meta line accordingly)

You can also achieve this by running:
Code: Select all
kwriteconfig5 --file kwinrc --group ModifierOnlyShortcuts --key Meta ""
Serge Roussak
Registered Member
Posts
15
Karma
0
wolfi323 wrote:You can disable the Windows key in ~/.config/kwinrc.

I use it in other applications.
wolfi323
Registered Member
Posts
1129
Karma
11
OS
Serge Roussak wrote:
wolfi323 wrote:You can disable the Windows key in ~/.config/kwinrc.

I use it in other applications.

Sorry if I wasn't clear enough.

This will not disable the Windows key completely, it will just disable kwin opening the application menu when you press the Windows key.
In other words, exactly what you want AIUI.
Serge Roussak
Registered Member
Posts
15
Karma
0
Oh, it looks like I misunderstood you. Thank you.
User avatar
zachus
Registered Member
Posts
56
Karma
0
OS

launch KMenu , i.e. the cashew-icon

Mon Jun 14, 2021 11:02 am
while I still do not understand what the O.P. tried to say, I realized there is a minor issue in plasmashell:

Alt-F1 is the usual shortcut for KMenu. Also the Windows-key will do the same opening of the main K-menu.

If the shortcut Alt-F1 is cleared, also the windows-key will ("implicitly") no longer open the KMenu.

Users might be surprised about the inactive windows-key then, as they intended to repurpose the Alt-F1 combo ONLY.




Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]