Use this skill to repair Steam launcher icons on Linux desktops.
.desktop file${XDG_DATA_HOME:-~/.local/share}/applications${XDG_DATA_HOME:-~/.local/share}/icons/hicolorIcon=steam_icon_Exec=...steam://rungameid/Scan local Steam launchers for missing icons:
python3 scripts/steam_icon_fixer.py scan
Install an image with an explicit app ID:
python3 scripts/steam_icon_fixer.py install \
--image /path/to/image.png \
--app-id 1086940
Install an image by matching a game name:
python3 scripts/steam_icon_fixer.py install \
--image /path/to/image.png \
--game "Baldur's Gate 3"
Install using a specific desktop file:
python3 scripts/steam_icon_fixer.py install \
--image /path/to/image.png \
--desktop-file ~/.local/share/applications/Baldur's\ Gate\ 3.desktop
Use explicit directories when the machine is nonstandard:
python3 scripts/steam_icon_fixer.py install \
--image /path/to/image.png \
--game "DOOM: The Dark Ages" \
--desktop-dir /custom/applications \
--icons-dir /custom/icons/hicolor
scripts/steam_icon_fixer.py: deterministic installer/scanner for Steam launcher icons.references/: add launcher or icon-theme notes here if the workflow needs machine-specific guidance.steam_icon_.png naming..ico inputs, Pillow may be required.共 1 个版本