Applying keyboard shortcut in Window Rules does not work

I have set a window rule to apply keyboard shortcut to the specific window:


but the shortcut does not work.
I can see that the window is being matched by setting opacity in the same rule so the
problem is with applying the shortcut not matching a window.
I have similar rules which apply keyboard shortcuts for other windows and they work properly.
I tried different keyboard shortcuts and nothing worked.

Any idea what might be the reason?

Here are window properties shown by using Detect Window Properties button:

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 Ă— AMD Ryzen 5 7600 6-Core Processor
Memory: 14,8 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUS

Could someone please give me a helping hand here?

i’m not at all familiar with window rules… they seem very anti-intuitive and perhaps too powerful for me to understand.

but i’ve seen mention in another thread about matching rules and instead of using “exact”, try just using a text match to the window tile bar label.

total shot in the dark.

good luck.

Thanks for your suggestion but matching window class (using Exact match) does work as I have another rule with this condition and it works.
What’s more it seems matching window title (using Substring match) seems to also work as (quoting myself):

I can see that the window is being matched by setting opacity in the same rule so the
problem is with applying the shortcut not matching a window.

I raised 502561 – Using a keyboard shortcut set in Window Rules does not do anything

1 Like