Sending Shortcuts
Operating systems deal with modifier keys differently, so it's difficult to get the same user experience across all possible target hosts. This is why PiKVM uses a keyboard shortcuts system built around these three concepts:
- Magic key. A special-purpose key, typically the one you use the least when you connect to a remote target host. A good example is the right
Shiftkey for right-handed people. - Modifier keys. Typically, it's e.g.
Ctrl,Alt,Cmd, etc. - Non-modifier keys. These are all the other keys on your keyboard: alphanumeric keys, function keys,
Backspace,Del,Esc, andEnter.
Sending a shortcut¶
When you press a magic key, the web UI starts accumulating a sequence of modifier keys you press, for example, Ctrl Left and Alt Left in Ctrl+Alt+Del, and displays a guiding overlay:
As soon as you press one non-modifier key, the web UI stop accumulating keys and sends the entire sequence of the keys you pressed to the target host system.
Let's send a Ctrl+Alt+Del shortcut to the target host running Windows. Here is the correct sequence of actions:
- Press and release the magic key.
- Press and release
Ctrl. - Press and release
Alt. - Press and release
Del.
Here is another example. Let's send a shortcut to a host system running macOS to open the Force Quit Applications window:
- Press and release the magic key.
- Press and release
Command. - Press and release
Option. - Press and release
Esc.
Using multiple non-modifier keys in one shortcut¶
In some cases you may need to press a non-modifier key two or more times. A common example is cycling through the list of opened windows using Alt+Tab. To achieve that, use the alternative behavior where non-modifier keys are continuously sent as you press them:
- Press and hold the magic key.
- Press and release
Alt. - Press and release
Tab← at this point the target host system will display a list of windows to choose from. - Continue pressing and releasing
Tabuntil you get to the right window. - Release the magic key.
Overriding the desktop environment¶
Some desktop environments claim modifier keys for themselves, so those keys can't be used in a shortcut. For example, if you are trying to open the Start menu on a host Windows-based system using the Win key and you do it from GNOME on Linux, PiKVM web UI will not register the Win key press. Instead, your local GNOME environment will show an overview of locally opened windows instead.
To override that, you can use the alternative behavior outlined above. Let's say you need to minimize all windows and show the desktop on a target host running Windows. Do this:
- Press and hold the magic key.
- Press and release
Win. - Press and release
D. - Release the magic key.
PiKVM will send Win+D to the target host system which will minimize all windows.
Using shortcuts with just the modifier keys¶
Some shortcuts don't use non-modifier keys at all. For example, Ctrl+Shift and Alt+Shift commonly change the keyboard layout, and Win opens the Start menu on Windows. This means you need to tell the web UI to stop accumulating modifiers and send what you have already pressed to the target host. To do that, simply press the magic key twice without a pause.
For example, to open the Start menu on Windows:
- Press and hold the magic key.
- Press and release
Win. - Quickly press and release the magic key twice.
PiKVM will send Win to the target host system which open the Start menu.
Setting up a magic key¶
You can define which key to use as the magic key. Follow these steps:
-
In the web UI, open the System menu.
-
Click on the drop-down list next to Shortcuts magic.
-
Select the key the you will use as the magic key.
PiKVM defaults to Ctrl Right on all major desktop systems, but the list of available keys is platform-specific:
- Windows:
Ctrl,Alt,ShiftandMenu. - macOS:
Ctrl,Option,ShiftandMenu. - Linux:
Ctrl,Alt,Shift,MetaandMenu.

