Launcher on Linux: Proton starts from the AppImage, and a slim context menu #10
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Zetsukae--Northstar-AMD!10
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/10/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Zetsukae on GitHub · 2026-12-01 12:28 UTC · original
Zetsukae:development→main· +104 −18 · 4 files · 1 commits · merged 2026-12-01 12:34 UTCSummary
PYTHONHOME/PYTHONPATH/LD_LIBRARY_PATH/PATH(and GTK/GStreamer module paths) inside the AppImage. Proton inherited them and its Python could not start (No module named 'encodings'), so "Proton could not prepare its prefix (exit status: 1)". Proton,wineserverandxdg-opennow get the PC's own environment, and a failed preparation shows Proton's last lines.width: 100%items); placed by its drawn size.Tested
proton runfailed with the Python error; with it cleaned as the launcher now does,runexits 0 andruninprefix victory.exe --versionprintsvictory 0.1.0.🤖 Generated with Claude Code
The AppImage's AppRun sets PYTHONHOME, PYTHONPATH, LD_LIBRARY_PATH, PATH and GTK/GStreamer module paths inside the AppImage for the launcher; every program the launcher started inherited them, and Proton's Python could not start ("No module named 'encodings'"), so preparing the prefix failed with exit status 1. Proton, wineserver and xdg-open now get the PC's own environment: each variable loses the AppImage's entries, or goes. A failed preparation also says Proton's last words instead of the status alone. The game's context menu is as wide as its longest item, on one line (Linux's fallback font is wider than Segoe UI, and "Change game path" wrapped). Its items stretch across a flex column instead of a 100% width, which WebKitGTK resolved to ~560px, and it is placed by its drawn size. Co-Authored-By: Claude Opus 5.5 <[email protected]>