In special window settings in Appearance & Fixes tab we have "Ignore global shortcuts" rule. It works, except of shortcuts used for switching to tty (i.e. Ctrl+Alt+F2). Generally, this rule is used for virtual machines and so on, so users want to pass Ctrl+Alt+Fx combination to active window (teamviewer, virtualbox, etc). But it is handled by xserver, which switches your local machine to tty. So I think it makes sense to also disable these combos on a xserver. I have explored this a bit and created this script: https://github.com/Ashark/aten-ip8000/blob/master/srvrkeys The main idea is to run "setxkbmap -option srvrkeys:none" when window gets focus and run "setxkbmap -option" when it looses it. Operating System: Arch Linux KDE Plasma Version: 5.14.4 Qt Version: 5.11.2 KDE Frameworks Version: 5.52.0
I'm sorry but this is outside the scope of KWin and we are feature frozen on X11.
Ok, I was not sure it is going to kwin product. Do you mean that any X11 features for any component in kde is feature frozen? If no, maybe then this should go to khotkeys? Sorry if I am wrong.
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now. Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again. Thanks for your understanding, everyone.