Repository navigation
Deck: resolve the Steam user's home on desktop Linux, - #2
Merged
Alexsander720 merged 1 commit intoNov 30, 2026
Merged
Conversation
…deck deck_home() fell back to $HOME when /home/deck is absent, and main.py hard-coded /home/deck/homebrew for the Game Theme Music cache. On a desktop Linux install (Steam .deb, user is not "deck") the theme-music lookup could never match, and a backend started as root (HOME=/root) would find no library, prefix or save at all. deck_home() now tries, in order: /home/deck, the sudo invoker, the single /home/* account that owns a Steam installation, then $HOME. The theme music path is derived from it. Behaviour on a Steam Deck is unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Owner
|
Thanks, this fixes a real blind spot since I only ever tested on Steam Deck and Windows. Checked the Windows fallback too and it stays untouched. Merging as a regular merge commit so PR #4 doesn't hit conflicts on the shared commit. I might add a tiny follow-up later to check |
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.
deck_home() fell back to $HOME when /home/deck is absent, and main.py hard-coded /home/deck/homebrew for the Game Theme Music cache. On a desktop Linux install (Steam .deb, user is not "deck") the theme-music lookup could never match, and a backend started as root (HOME=/root) would find no library, prefix or save at all.
deck_home() now tries, in order: /home/deck, the sudo invoker, the single /home/* account that owns a Steam installation, then $HOME. The theme music path is derived from it. Behaviour on a Steam Deck is unchanged.
TL;DR: This plugin currently does not work in Linux Big Picture mode. This fixes that without creating problems on SteamDeck