Bug 472826 - allow changing Win key assignment
Summary: allow changing Win key assignment
Status: RESOLVED DUPLICATE of bug 371560
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) (show other bugs)
Version: 5.27.6
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-31 06:31 UTC by apache
Modified: 2023-09-08 17:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.