Package Details: openai-codex-desktop 26.519.41501-1

Git Clone URL: https://aur.archlinux.org/openai-codex-desktop.git (read-only, click to copy)
Package Base: openai-codex-desktop
Description: OpenAI Codex desktop app
Upstream URL: https://developers.openai.com/codex/app/
Licenses: custom
Submitter: parsiad
Maintainer: parsiad (mothran)
Last Packager: parsiad
Votes: 6
Popularity: 2.82
First Submitted: 2026-03-10 04:07 (UTC)
Last Updated: 2026-05-24 20:10 (UTC)

Latest Comments

1 2 3 4 Next › Last »

JiangHuDao commented on 2026-05-22 11:03 (UTC) (edited on 2026-05-22 11:03 (UTC) by JiangHuDao)

@dcelasun better-sqlite3.tgz sha256 have changed.
i install this patch with:

paru -G openai-codex-desktop
cd openai-codex-desktop
patch -p1 < openai-codex-desktop.patch
updpkgsums
makepkg -si

your patch work for me. thanks

latte_macchiato commented on 2026-05-22 00:45 (UTC)

Tested the patch, works great with it applied

dcelasun commented on 2026-05-20 12:55 (UTC) (edited on 2026-05-21 10:56 (UTC) by dcelasun)

@latte_macchiato sorry, I forgot to include it in the diff. Should be fixed now, same link.

EDIT: The diff was badly formatted, now it's fixed.

latte_macchiato commented on 2026-05-20 12:49 (UTC)

@dcelasun Seeing the same thing, but your patch does not build for me. Where did you get patch-linux-opaque-bg.mjs from? It's not in the patch you linked.

dcelasun commented on 2026-05-20 10:25 (UTC)

Anyone else see a flickering background / rendering artifacts on the sidebar? The dmg image assumes macOS vibrancy support for transparency effects, which fail to render on Linux (at least for me with Wayland+Nvidia).

I have a patched PKGBUILD below that forces a fixed background for the window, which eliminates the issue.

I also took the opportunity to upgrade to electron42 since that's available in the official repos and electron39 isn't. better-sqlite3 needs a small patch (see below) for compatibility, but it's just a few lines and should be temporary.

Finally, there is also a fix for the generic app icon shown for the Codex Desktop window. Electron unfortunately ignores --class and derives the Wayland app_id (and X11 WM_CLASS) from the binary name which is just electron here since the path is /usr/lib/electron42/electron. The solution is to create a symlink named codex and we get the proper icon :)

The diff is too long for an AUR comment, so here's a link: https://gist.github.com/dcelasun/8d002bc05d32491204c0bf695bc6b3d6

@parsiad what do you think, can you include these changes in the package?

parsiad commented on 2026-05-20 00:54 (UTC)

@yanwuhuan: Good catch. Fixed!

yanwuhuan commented on 2026-05-19 08:45 (UTC) (edited on 2026-05-19 08:45 (UTC) by yanwuhuan)

Seems previous Codex.zip causes update fail, show file error but not re-download new one.

Change each Codex.zip in PKGBUILD to Codex-${pkgver}.zip, will be OK.

jiao77 commented on 2026-05-15 17:18 (UTC)

@cangzhu This issue has been resolved in the latest version 6.513.20950-1 of openai-codex-desktop. Many thanks to you for the helpful suggestion.

cangzhu commented on 2026-05-15 16:09 (UTC) (edited on 2026-05-15 16:13 (UTC) by cangzhu)

@jiao77 I ran into the same issue, and I fixed it with the following steps.

  • Completely quit Codex Desktop first.

  • Kill any remaining Codex Desktop processes:

ps -aux | grep codex
  • Back up the desktop app state:
ts=$(date +%Y%m%d-%H%M%S)
mkdir -p ~/.config/codex-desktop-backups
cp -a ~/.config/Codex ~/.config/codex-desktop-backups/Codex.$ts
  • Move away only the Electron frontend cache and session state:
mv ~/.config/Codex/Cache ~/.config/Codex/Cache.bak-$ts 2>/dev/null
mv ~/.config/Codex/"Code Cache" ~/.config/Codex/"Code Cache.bak-$ts" 2>/dev/null
mv ~/.config/Codex/"Session Storage" ~/.config/Codex/"Session Storage.bak-$ts" 2>/dev/null
mv ~/.config/Codex/"Local Storage" ~/.config/Codex/"Local Storage.bak-$ts" 2>/dev/null

mv ~/.config/Codex/Partitions/codex-browser-app/Cache ~/.config/Codex/Partitions/codex-browser-app/Cache.bak-$ts 2>/dev/null
mv ~/.config/Codex/Partitions/codex-browser-app/"Code Cache" ~/.config/Codex/Partitions/codex-browser-app/"Code Cache.bak-$ts" 2>/dev/null
mv ~/.config/Codex/Partitions/codex-browser-app/"Session Storage" ~/.config/Codex/Partitions/codex-browser-app/"Session Storage.bak-$ts" 2>/dev/null
mv ~/.config/Codex/Partitions/codex-browser-app/"Local Storage" ~/.config/Codex/Partitions/codex-browser-app/"Local Storage.bak-$ts" 2>/dev/null
  • Start Codex Desktop again:
codex-desktop

This only clears the Codex Desktop Electron frontend cache/session state. It should keep your login state and Codex CLI configuration intact.

cangzhu commented on 2026-05-15 15:56 (UTC)

For the Codex Pets feature, I made an X11 compatibility workaround for the issue where the pet cannot be clicked or dragged after being opened/woken up.

Details are available here: https://github.com/Rebybyx/codex-pets-x11-fix