Feat: Linux Custom Titlebar#17
Open
boggedbrush wants to merge 2 commits into
Open
Conversation
Implemented a Linux custom title bar that matches Codex's existing styling so the desktop app feels like a native Linux application, with in-renderer menus, window controls, and floating sidebar fixes.
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
Adds a custom Linux titlebar to the Codex desktop runtime, replacing Electron’s Linux title-bar overlay with Codex-owned in-app chrome: menu bar, window controls, and floating-sidebar/header layout fixes. This gives the Linux app a more integrated desktop feel and brings it closer to the Windows version of Codex.
The new titlebar improves access to core app controls by rendering the application menu directly in the app shell, while preserving native window actions through Linux-specific IPC. Menus use Codex’s existing dark UI tokens so the shell reads as a native Linux app rather than detached system chrome.
What changed
titleBarStyle: hidden) and Codex-rendered window controls (no LinuxtitleBarOverlay).BrowserWindowandwebContentscontext)File,Edit,View,Window, andHelpin the Linux custom titlebar.right: 0).26.601.21319(including incidental auth webview asset refresh from manifest regen).update-codexskill notes so future runtime updates preserve the Linux titlebar and menu behavior.webContentscontextVisual comparison
The previous Linux runtime used Electron’s title-bar overlay, which felt visually detached from the Codex shell. The updated runtime replaces it with an app-owned titlebar that matches Codex’s dark UI, adds visible
File/Edit/View/Window/Helpmenus, and keeps the window controls aligned with the rest of the shell.Before: native Linux titlebar
After: custom Codex titlebar
Before: sidebar/header chrome
After: adjusted sidebar/header chrome
Testing