Bug 472826

Summary: allow changing Win key assignment
Product: [Plasma] plasmashell Reporter: apache <sabayon11>
Component: Application Menu (Kicker)Assignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: 5.27.6   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description apache 2023-07-31 06:31:28 UTC
SUMMARY
***
Win key is permanently assigned to Kicker and changing assignment to other function (like present windows) works only until restart. 
***


STEPS TO REPRODUCE
Assign Win key to Present Windows (Current Desktop). Reboot system.

OBSERVED RESULT
It works until I restart system . But even so when I go out of Present Windows view by pressing Win key again I still see menu closing. It is somehow activated anyway. After restart it doesn't show Present Windows at all but only opens Kicker. 

EXPECTED RESULT
Should not be "hardcoded" so that any function can be assigned. 

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.6-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Pentium® CPU G4560 @ 3.50GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 610
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: H110M-S2H
Comment 1 Nate Graham 2023-09-07 19:44:21 UTC
In the meantime until this is fixed (see the bug report I just marked this as a duplicate of) you can add

> [ModifierOnlyShortcuts]
> Meta=[dbus invocation of the thing you want it to do instead]

To your kwinrc file.

Obviously that's not very user-friendly, and fixing Bug 371560 will improve the situation a lot.

*** This bug has been marked as a duplicate of bug 371560 ***
Comment 2 apache 2023-09-08 08:49:54 UTC
Like this?
[ModifierOnlyShortcuts]
Meta=[dbus Toggle Present Windows (Current desktop)]
Is it correct?

I am not sure what is correct dbus command.

In system settings I can't type Meta. When I press windows button it saves as some strange characters:
https://i.imgur.com/fnhvqja.png
Comment 3 Nate Graham 2023-09-08 17:02:14 UTC
Yes that's a separate bug which is fixed in Plasma 6.