FG
💻 Software

How to send Ctrl+Alt+F1 (and other special keystrokes) to X window?

Fresh7 days ago
Mar 15, 202611412 views
Confidence Score0%
0%

Problem

When I press Ctrl+Alt+F{1..12}, it switches me to other virtual terminal. Even leads to switching to vt instead of sending that keys to focused window. Use cases of this includes (but not limits to) sending special keystrokes to VNC or virtualization clients to be handled by clinet/guest system ins…

Error Output

xte "keydown Control_L" "keydown Alt_L" "key F1" "keyup Alt_L" "keyup Control_L"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to send Ctrl+Alt+F1 (and other special keystrokes) to X window?

Low Risk

Let's call Ctrl+Alt+Fx (where Fx is one of function buttons: F1, F2, F3...) srvr keys. There is a way to disable/enable srvr keys on the fly. By disabling I mean that X11 do not swallow them, but passes to window manager (kwin in kde). For diabling …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment