NEX OS supports a comprehensive set of Windows-compatible keyboard shortcuts for window management, virtual desktop navigation, system actions, and per-application commands. All global shortcuts are registered through a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/shadownrx/windows/llms.txt
Use this file to discover all available pages before exploring further.
keydown event listener in Desktop.tsx, keeping shortcut handling centralized and easy to extend.
Window Management
These shortcuts control the lifecycle and state of windows across the desktop. They are active at all times while the desktop is focused.| Shortcut | Action |
|---|---|
Win + D | Minimize all open windows to the taskbar simultaneously |
Win + R | Open the Run dialog to launch apps by name or .nex executable |
Win + E | Open File Explorer directly |
Win + Tab | Open Task View — visual overview of all windows and virtual desktops |
Win + Ctrl + → | Switch to the next virtual desktop (wraps around) |
Win + Ctrl + ← | Switch to the previous virtual desktop (wraps around) |
Alt + F4 | Close the currently focused window |
Escape | Close Task View (when open) or dismiss the Run dialog |
In the browser context, the Win key maps to
metaKey on macOS and the Windows key on Windows. NEX OS uses e.metaKey in its event handlers so shortcuts work on both platforms.In-App Shortcuts
Some NEX OS applications register their own keyboard shortcuts internally. These are active only when the application window is focused.| Shortcut | App | Action |
|---|---|---|
Ctrl + S | Notepad, VS Code (Nex Code), WordPad | Save the current file |
Programmatic Shortcut Handling
Global shortcuts are registered once insideDesktop.tsx via window.addEventListener('keydown', handleKeyDown). The handler is cleaned up on unmount. Key actions call the following context methods:
closeFocusedWindow() targets whichever window has the highest zIndex at the time of the keypress — the same window that would be visually “on top”. minimizeAllWindows() iterates over all AppWindow entries and sets isMinimized: true on each one.Run Dialog (Win + R)
The Run dialog accepts both full application IDs and short.nex names. NEX Runtime resolves short names by appending .nex and searching C:\Program Files\NEX\.
Type an app name or .nex executable
Type a registered app name (e.g.
notepad, vscode, explorer, controlpanel) or a full .nex path like C:\Program Files\NEX\spotify.nex.Adding Custom Shortcuts
To register a new global shortcut, extend thehandleKeyDown function in Desktop.tsx:
Always call
e.preventDefault() inside shortcut handlers that override browser-native behaviors (e.g. Ctrl + S would otherwise trigger the browser’s native save dialog). For Win key combinations, e.metaKey captures the key on both macOS and Windows.