Skip to content

feat(cli): add Linux desktop app launcher#21456

Draft
efrazer-oai wants to merge 1 commit intomainfrom
codex/linux-desktop-launch
Draft

feat(cli): add Linux desktop app launcher#21456
efrazer-oai wants to merge 1 commit intomainfrom
codex/linux-desktop-launch

Conversation

@efrazer-oai
Copy link
Copy Markdown
Contributor

Summary

Codex Desktop already has macOS and Windows launch paths in the CLI, but Linux builds do not expose codex app at all. This change adds the Linux CLI surface so a Linux user can launch an installed Codex Desktop app from the same command shape used on the other desktop platforms.

The Linux path searches standard XDG application directories for a desktop entry named Codex, opens the requested workspace through gio launch, and supports --download-url as an explicit installer handoff when the app is not installed yet. When no installed app or installer URL is available, it returns a direct error instead of silently doing nothing.

Why

The Electron desktop app already has Linux build support, but the CLI still treated Linux as if no desktop app existed. Exposing the launcher is the first step toward making Linux a normal desktop target rather than a build-only target.

Testing

Tests: targeted Rust unit tests for Linux desktop-file detection and a focused codex-cli test run.

@efrazer-oai efrazer-oai force-pushed the codex/linux-desktop-launch branch from d0d5991 to f10c815 Compare May 7, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant