A mute button for any microphone that Zoom and Google Meet actually obey, on Linux and macOS. Your call app sees a real USB telephony headset, so a key, your status bar, or your browser toolbar mutes the call, and muting inside the call updates all of them too.
- Mute that the call app respects. Zoom and Meet treat Virtual Headset's button like a headset's: they mute themselves and light its mute light back, so your key, your bar and the call app never disagree.
- Any mic. The built-in mic, a USB mic, or Bluetooth earbuds; nothing to buy.
- Mute from anywhere. A keyboard shortcut, your status bar or menu bar, a panel, the Firefox toolbar, or a script.
- Bluetooth that sounds right. While you're muted, Virtual Headset lets go of the mic, so earbuds switch back from tinny hands-free audio to full stereo, and back again when you unmute.
- Background noise removed, on your own computer. Optional DeepFilterNet 3 noise suppression runs locally on Linux and macOS, with an A/B test to hear the difference.
- In the browser too. Chrome and other Chromium browsers talk to the headset directly; a small extension does it for Firefox.
- Starts muted on Linux, so you're never live by accident after logging in.
- Nix modules for NixOS, nix-darwin and Home Manager.
| Part | Needs |
|---|---|
| Linux | PipeWire, on any distribution (NixOS module included) |
| macOS | Nix, and the amfi_get_out_of_my_way=1 boot argument, which needs System Integrity Protection turned off; see why before you do |
| Your call | Zoom (web or desktop) or Google Meet, in Chrome or another Chromium browser; Firefox with the extension |
In your call app's settings, the headset shows up as two devices: Virtual_Headset_Microphone, the mic carrying your voice, and Virtual_Headset, its mute button. Zoom pairs them because their names match, and from then on treats them as one headset.
Linux, with NixOS:
{
inputs.virtual-headset.url = "github:xav-ie/virtual-headset";
# in your NixOS configuration
imports = [ inputs.virtual-headset.nixosModules.default ];
services.virtual-headset = {
enable = true;
user = "you";
};
}macOS, with nix-darwin:
{
inputs.virtual-headset.url = "github:xav-ie/virtual-headset";
# in your nix-darwin configuration
imports = [ inputs.virtual-headset.darwinModules.default ];
services.virtual-headset.enable = true;
}Not using Nix on Linux? See installation.
Then, in your call:
- Choose Virtual_Headset_Microphone as your microphone.
- In Zoom, open Settings → Audio, turn on Sync buttons on headset, and connect Virtual_Headset when the browser asks.
- Press mute:
virtual-headset-ctl toggle-muteon Linux,virtual-headset toggle-muteon macOS. Bind it to a key.
| Where | Linux | macOS |
|---|---|---|
| Keyboard | bind virtual-headset-ctl toggle-mute |
bind virtual-headset toggle-mute (skhd, Raycast, …) |
| Your bar | Waybar, i3 or Polybar | any menu bar tool, e.g. SketchyBar |
| A panel | the desktop panel, with a mic picker | the settings panel |
| The browser | the Firefox extension | Chrome's own headset support |
| Scripts | virtual-headset-ctl or D-Bus |
virtual-headset and its state files |
A Bluetooth headset can't play stereo and carry your voice at the same time, so whenever an app holds its mic, it switches to mono call audio. Most call apps hold the mic for the whole meeting; Virtual Headset only while you're live:
On Linux the switching is WirePlumber's Bluetooth autoswitch, which is on by
default (bluetooth.autoswitch-to-headset-profile); macOS does it on its own.
- Installation: NixOS, nix-darwin, Home Manager, and without Nix
- Using it: day to day, and the CLI, D-Bus and HID reference
- macOS: the panel, noise suppression, Bluetooth, and your menu bar
- Status bars and the panel on Linux
- Firefox: the extension that syncs Zoom and Meet tabs
- How it works: the devices, the reports, and why Zoom trusts them
- Troubleshooting
- Development
- Make your first steps with a USB HID Report
- Introduction to HID report descriptors
- UHID: user-space I/O driver support for HID
- uhid-virt for the Linux HID device
- BlackHole, the base of the macOS microphone
- DeepFilterNet and RNNoise for noise suppression
