feat(linux): add Linux cross-platform support#427
Draft
rodrigoluizs wants to merge 15 commits intomainfrom
Draft
feat(linux): add Linux cross-platform support#427rodrigoluizs wants to merge 15 commits intomainfrom
rodrigoluizs wants to merge 15 commits intomainfrom
Conversation
added 15 commits
March 16, 2026 19:34
Linux desktop environments (GNOME, KDE) reserve Alt+Shift for input switching, causing globalShortcut.register to fail. Use DoubleTap shortcuts as Linux defaults since they use uiohook directly.
…s unsupported
Add supportsMouseForward flag to DisplayModule. On Linux, Electron's
setIgnoreMouseEvents(true, { forward: true }) is not supported, which
prevented the HUD from receiving mouse events for dragging and hover.
…bleTap defaults Two fixes: - When globalShortcut.register fails and config resets to platform defaults, re-register immediately so DoubleTap detectors are created - Use DoubleTap:Ctrl for both hold and toggle on Linux since GNOME intercepts Alt key events for window management
Contributor
CI Summary
|
Contributor
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ JSON | jsonlint | 11 | 0 | 0 | 0.13s | |
| ✅ JSON | npm-package-json-lint | yes | no | no | 5.2s | |
| prettier | 11 | 1 | 0 | 2.1s | ||
| ✅ JSON | v8r | 11 | 0 | 0 | 8.3s | |
| ✅ REPOSITORY | checkov | yes | no | no | 28.74s | |
| ✅ REPOSITORY | devskim | yes | no | no | 2.53s | |
| ✅ REPOSITORY | dustilock | yes | no | no | 1.29s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 1.86s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.33s | |
| ✅ REPOSITORY | grype | yes | no | no | 48.34s | |
| ✅ REPOSITORY | kics | yes | no | no | 2.45s | |
| ✅ REPOSITORY | kingfisher | yes | no | no | 5.13s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 5.63s | |
| ✅ REPOSITORY | syft | yes | no | no | 2.52s | |
| ✅ REPOSITORY | trivy | yes | no | no | 21.57s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 2.91s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 4.34s | |
| ✅ YAML | prettier | 1 | 0 | 0 | 0.41s | |
| ✅ YAML | v8r | 1 | 0 | 0 | 2.7s | |
| ✅ YAML | yamllint | 1 | 0 | 0 | 0.52s |
Detailed Issues
⚠️ JSON / prettier - 1 error
Checking formatting...
[warn] package.json
[warn] Code style issues found in the above file. Run Prettier with --write to fix.
See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

Show us your support by starring ⭐ the repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
permissions,whisper,paster,window,autostart) following the existing darwin/win32 patternxdotoolfor Ctrl+V simulation with clipboard fallback notification.desktopfile in~/.config/autostart/--hiddenflag for tray-only startup (used by autostart)supportsMouseForwardflag onDisplayModule— skipssetIgnoreMouseEvents(true, { forward: true })on Linux where it's unsupported, fixing HUD interactiondefaultShortcutsonDisplayModule— Linux usesDoubleTap:Ctrlto avoid GNOME Alt interceptionglobalShortcut.registerfails and config resets to platform defaults, re-register immediately so DoubleTap detectors are properly createdKnown Issues
Test plan
make buildon Linux