Overview
OpenWhispr uses global hotkeys to trigger voice dictation from any application. You can customize your hotkey to use single keys, compound combinations, or platform-specific options.The hotkey system automatically handles platform differences and provides intelligent fallbacks when your preferred key is unavailable.
Default Hotkeys by Platform
- macOS
- Windows
- Linux
Default: Globe (Fn) keyThe Globe key (also labeled Fn on some keyboards) provides a hardware-level trigger similar to the system dictation feature.
Globe key support requires Xcode Command Line Tools to compile the native Swift listener. Install with
xcode-select --install.Configuring Your Hotkey
Open Settings
Right-click the system tray icon and select Control Panel, then navigate to Settings → Hotkeys.
Click the Hotkey Input Field
The field will show your current hotkey (e.g., “Globe” or “Ctrl+Super”).
Press Your Desired Key Combination
Press any key or combination of modifier keys (Ctrl, Shift, Alt, Command, Super) plus a regular key.Examples:
F8Control+Alt+DCommand+Shift+SpaceRightCommand(macOS only)
Compound Hotkey Support
OpenWhispr supports multi-key combinations for maximum flexibility:Modifier Keys
Control/CtrlAlt/OptionShiftCommand/Cmd(macOS)Super/Meta/Win(Windows/Linux)CommandOrControl(cross-platform: Cmd on macOS, Ctrl elsewhere)
Special Keys
- Function keys:
F1throughF12 - Special hardware keys:
Pause,ScrollLock - Right-side modifiers:
RightCommand,RightControl,RightAlt,RightShift
Examples
Modifier-only combinations (e.g.,
Control+Super) use native keyboard hooks on Windows for better reliability.Platform-Specific Features
macOS: Globe/Fn Key
The Globe key (Fn key on MacBook keyboards) provides a native hardware trigger:- How it works: A Swift binary listener detects Globe key presses using macOS APIs
- Requirements: Xcode Command Line Tools (
xcode-select --install) - Activation: Select “GLOBE” or “Fn” from the hotkey picker
Windows: Push-to-Talk Support
Windows users can enable true push-to-talk using a native keyboard hook:- Binary:
windows-key-listener.exe(automatically downloaded) - How it works: Uses Windows
SetWindowsHookExAPI for low-level keyboard monitoring - Compound support: Works with combinations like
Ctrl+Shift+F11 - Activation modes: Both tap-to-talk and push-to-talk supported
- Go to Settings → Hotkeys
- Select Push-to-Talk or Tap-to-Talk
- Push-to-talk records while you hold the key; tap-to-talk toggles recording on/off
Linux: GNOME Wayland Special Handling
How GNOME Wayland Hotkeys Work:D-Bus Service Registration
OpenWhispr creates a D-Bus service at
com.openwhispr.App that listens for hotkey events.- No push-to-talk: GNOME shortcuts only fire a single toggle event (no key-up detection)
- Different key format: Uses GNOME keysym format (e.g.,
<Alt>rinstead ofAlt+R) - Backtick not supported: The default backtick key doesn’t work; use
Alt+Rinstead
Troubleshooting Hotkey Conflicts
Hotkey Already Registered
If your chosen hotkey is already in use:View Suggested Alternatives
View Suggested Alternatives
OpenWhispr automatically suggests alternative hotkeys based on your platform:Single keys:
F8,F9,F10Pause,ScrollLock
- macOS:
Control+Alt,Alt+Command,Command+Shift+Space - Windows:
Control+Super,Control+Alt,Control+Shift+K - Linux:
Control+Super,Control+Shift+K,Super+Shift+R
OS Reserved Shortcuts
Some key combinations are reserved by the operating system:- macOS
- Windows
- Linux
Avoid system shortcuts like:
Command+Tab(app switcher)Command+Space(Spotlight)Command+Q(quit)
GNOME Wayland Conflicts
Check for conflicts in GNOME Settings:Hotkey Not Working?
Check Application Permissions
Check Application Permissions
Some platforms require special permissions for global hotkeys:macOS:
- No special permissions needed for hotkeys
- Accessibility permission only required for auto-paste feature
- No permissions needed
- Ensure
windows-key-listener.exeis present in the app directory
- X11: No permissions needed
- GNOME Wayland: Hotkey registered via gsettings (check GNOME Settings)
- Other Wayland: May not support global shortcuts
Verify Hotkey Registration
Verify Hotkey Registration
Check the console logs to see if your hotkey registered successfully:
-
Look for messages like:
-
If registration failed, look for:
- Try a different hotkey from the suggestions
Restart the Application
Restart the Application
Sometimes hotkey registration requires a restart:
- Quit OpenWhispr completely (right-click tray icon → Quit)
- Relaunch the application
- Test your hotkey
Environment Variable Configuration
Advanced users can set the hotkey via the.env file:
Changes to the
.env file require an application restart to take effect.Best Practices
Recommended Hotkeys:- macOS:
GLOBE(best),Control+Alt,F8 - Windows:
Control+Super(default),F8,Control+Shift+K - Linux X11:
Control+Super,F8,Alt+F7 - GNOME Wayland:
Alt+R,Control+Shift+K,Super+Shift+R