Linux VM keyboard shortcuts clash with the Mac: capture the keyboard
In a Hermitbox Linux VM, click to capture the keyboard so ⌘ shortcuts and ⌘Tab reach the guest. Press and release ⌃⌥ to hand it back to the Mac.
Updated 5 min read
On this page
You run Linux in a VM on your Mac and the shortcuts fight each other: ⌘Tab, ⌘Q or ⌘C do something on the wrong side, or you can't tell who owns the keyboard. A common complaint is "I haven't found a way to fully capture the keyboard." In Hermitbox 1.0.0 there is a clear rule for who gets the keys, and this page explains it.
Why shortcuts clash between the Mac and a VM
A VM window is an ordinary Mac window, so macOS wants its shortcuts to keep working. The guest also expects every key. Something has to decide who wins, and Hermitbox decides by capture state.
- Captured (after you click the VM): keys go to the guest, including ⌘ shortcuts and system keys such as ⌘Tab. Mac menu shortcuts such as ⌘R (Start/Resume) or ⌘P (Pause) don't fire.
- Released: the Mac gets the keys again, and menu shortcuts work.
The most common cause of a "clash" is not knowing which state you are in. A Mac shortcut that does nothing means the VM still has the keyboard. A shortcut that acts inside Linux means the same thing.
How capture and release work
- Click inside the VM window. On the first capture, a note reads "Press ⌃⌥ to release the keyboard" for 3 seconds.
- Work in the guest. Every key goes to Linux.
- Press and let go of ⌃⌥. Don't press any other key between them. The window shows "Keyboard released · Click the VM to capture it."
- Click the VM again to capture.
The "no other key in between" rule is deliberate. It means guest shortcuts such as Ctrl+Alt+T still reach Linux instead of being taken as a release.
Use a Mac shortcut while working in a VM
- Press and release ⌃⌥ to release the keyboard.
- Use the Mac shortcut, such as ⌘Tab or a Machine menu shortcut like ⌘P.
- Click the VM to capture the keyboard again.
To jump to another VM without releasing first, press ⌃⌥V. The switcher lists running, paused and suspended VMs. Use the arrow keys or ⇥ to move, Return, Enter or Space to show one, and Esc to close.
Keys that always stay with the Mac
| Shortcut | What it does | Can you change it? |
|---|---|---|
| ⌃⌥ (press and release) | Releases the keyboard from the VM | Not in 1.0.0 |
| ⌃⌥V | Opens the VM Switcher, even while a VM has the keyboard | Yes, in Settings |
Change the switcher shortcut if it clashes
Open Hermitbox ▸ Settings (⌘,), go to General, and find VM Switcher. Record a different shortcut, or click ✕ to remove it. The shortcut must include ⌃ or ⌥. If another app holds the combination, Hermitbox says "Another app uses this shortcut. It still works inside Hermitbox."
Fixes for common symptoms
| Symptom | Cause | Fix |
|---|---|---|
| A Mac shortcut does nothing | The VM still has the keyboard | Press and release ⌃⌥ |
| ⌘Tab switches apps inside Linux | Expected while captured | Release with ⌃⌥, then press ⌘Tab; or use ⌃⌥V |
| ⌃⌥ doesn't release | Another key was pressed between ⌃ and ⌥ | Press both, let go, touch nothing else |
| ⌃⌥V does nothing | Another app owns it | Record a new one in Settings > General > VM Switcher |
| Ctrl-based Linux shortcuts feel wrong on a Mac keyboard | Keys reach the guest as you press them | See "What 1.0.0 doesn't do" below |
The release shortcut doesn't release
Press ⌃ and ⌥, then let go of both without touching another key. A key pressed in between stops it counting as a release. If the window is not the front window, click it first so Hermitbox sees the keys.
⌘ keys feel backwards in Linux
Linux apps expect Ctrl for copy and paste, so ⌘C may not copy. In the 1.0.0 build there is no key remapping: keys reach the guest as pressed, so use Ctrl+C in Linux terminals and apps.
What 1.0.0 doesn't do
As of November 2026, the published build is 1.0.0. Choosing when capture starts, changing the release shortcut, swapping ⌘ and ⌃, and a Send Keys menu for combinations like Ctrl+Alt+Delete are not in 1.0.0. They are planned for a later release and are not documented here as available. Until then, release the keyboard with ⌃⌥ for Mac shortcuts, and type guest combinations directly while captured.
Checklist before you try again
- You clicked inside the VM window, not on its title bar.
- You see "Keyboard released" before expecting Mac shortcuts to work.
- You pressed ⌃⌥ with no other key in between.
- Your switcher shortcut includes ⌃ or ⌥ and isn't taken by another app.
- You are running Hermitbox 1.0.0 behavior: no remapping, no Send Keys.
If nothing works
Contact MacSuite support through the support page. Include your Hermitbox version, macOS version, guest OS, what you pressed, and what happened. Screenshots of the on-screen note help.
Subject: Hermitbox keyboard capture problem
Hermitbox version: 1.0.0
macOS version: (your version)
Guest: Linux (distribution and version)
What I pressed: (for example, ⌃⌥ to release)
What I expected: Mac shortcuts to work after "Keyboard released"
What happened: (describe)
Already tried: clicking the VM again, restarting Hermitbox, changing the VM Switcher shortcutCommon questions
Can I make ⌘Tab always go to the Mac?
Not in 1.0.0. While a VM has the keyboard, ⌘Tab goes to the guest. Release with ⌃⌥ first, or use ⌃⌥V to move between VMs.
Does the Mac menu bar work while the VM is captured?
Menu shortcuts like ⌘R and ⌘P don't fire while captured. You can still click menu items with the mouse, or release the keyboard first.
Is there a way to send Ctrl+Alt+Delete to the guest?
A Send Keys menu is not in 1.0.0. Combinations you type while the keyboard is captured reach the guest as pressed, except ⌃⌥ alone, which releases.
Where can I see every shortcut?
Help ▸ Keyboard Shortcuts lists them by group. See also Keyboard shortcuts and The VM window, keyboard and Send Keys.