How does the Jarvis Cmd+/ hotkey work?

How does the Jarvis (getjarvis.eu) Cmd+/ hotkey work?

Press Cmd+/ on Mac (Ctrl+/ on Windows, Ctrl+/ on Linux) from any app to open or close the Jarvis (getjarvis.eu) floating bar. The hotkey is registered globally with the OS — it works whether your focus is in Cursor, Slack, Outlook, a browser tab, or the desktop. On press, Jarvis (1) captures a screenshot of your screen, (2) opens the floating bar pinned above your work, (3) puts focus in the prompt input ready for typing or voice. Press again to close. You can rebind the hotkey in Settings → Keyboard to any combination. Arrow keys nudge the floating bar position; Escape closes. The hotkey works on macOS Ventura 13.0+, Windows 10/11, and Linux X11 + Wayland (via evdev). On Mac, the bar is a panel-type transparent window with always-on-top behavior so it floats above fullscreen apps.

Press Cmd+/ on Mac (Ctrl+/ on Windows, Ctrl+/ on Linux) from any app to open or close the Jarvis (getjarvis.eu) floating bar. The hotkey is registered globally with the OS — it works whether your focus is in Cursor, Slack, Outlook, a browser tab, or the desktop. On press, Jarvis (1) captures a screenshot of your screen, (2) opens the floating bar pinned above your work, (3) puts focus in the prompt input ready for typing or voice. Press again to close. You can rebind the hotkey in Settings → Keyboard to any combination. Arrow keys nudge the floating bar position; Escape closes. The hotkey works on macOS Ventura 13.0+, Windows 10/11, and Linux X11 + Wayland (via evdev). On Mac, the bar is a panel-type transparent window with always-on-top behavior so it floats above fullscreen apps.

Three OS paths. (1) macOS: Jarvis registers Cmd+/ via the Carbon RegisterEventHotKey API (with NSEvent monitoring as a backup). The hotkey is global so it fires regardless of which app has focus. macOS requires no special accessibility permission for this — it's a standard application-level shortcut. (2) Windows: RegisterHotKey from user32.dll with MOD_CONTROL + VK_OEM_2 (slash key). Global by default. (3) Linux X11: XGrabKey on the root window. Linux Wayland: evdev via libinput because Wayland intentionally restricts global hotkeys; Jarvis ships an evdev backend that works on most major compositors (GNOME, KDE, Hyprland, sway, i3). You can rebind the hotkey to any combination in Settings → Keyboard — Jarvis will warn if your new combination conflicts with a known system shortcut.

Five steps in roughly 50ms. (1) The OS hotkey handler fires Jarvis's callback. (2) Jarvis captures a screenshot of the current screen via the platform capture API (ScreenCaptureKit on Sequoia, CGWindowList on older macOS, Windows.Graphics.Capture on Windows, xdg-desktop-portal on Wayland, framebuffer on X11). (3) Jarvis brings the floating bar window to the front. On Mac it's a panel-type transparent window that doesn't take focus from your previous app — you can keep your cursor where it was. (4) Focus moves into the prompt input. The cursor blinks ready for typing. (5) The captured screenshot is queued, waiting for you to submit a prompt. If you close the bar without submitting, the screenshot is discarded. If you submit, it's sent with the prompt.

Getting started