https://bugs.kde.org/show_bug.cgi?id=401623

            Bug ID: 401623
           Summary: Disable Ctrl+Alt+Fx with Ignore global shortcuts
                    window rule
           Product: kwin
           Version: 5.14.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: ash...@linuxcomp.ru
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to