Skip to content

Instantly share code, notes, and snippets.

@Edu4rdSHL
Created July 12, 2025 22:44
Show Gist options
  • Save Edu4rdSHL/6031982c2f5c86d1fc988dafe2625559 to your computer and use it in GitHub Desktop.
Save Edu4rdSHL/6031982c2f5c86d1fc988dafe2625559 to your computer and use it in GitHub Desktop.

Fix steam

$HOME/.steam/steam/steam_dev.cfg

unShaderBackgroundProcessingThreads 6
@nClientDownloadEnableHTTP2PlatformLinux 0
@cMaxInitialDownloadSources 15

Enable ntsync

PROTON_USE_NTSYNC=1 PROTON_USE_WOW64=1 gamemoderun %command%

Always use the latest Proton GE version

I don't want to be changing the version every time a Proton GE update happens

  • Sync it from heroic
# /home/edu4rdshl/.config/systemd/user/update-proton-ge-latest.service
[Unit]
Description=Copy Heroic Proton-GE to Steam compatibilitytools.d and patch display_name

[Service]
Type=oneshot
ExecStart=%h/.local/bin/update-proton-ge-latest.sh

# /home/edu4rdshl/.config/systemd/user/proton-ge-latest.path
[Unit]
Description=Watch Heroic Proton-GE for changes

[Path]
PathChanged=%h/.config/heroic/tools/proton/Proton-GE-latest/compatibilitytool.vdf
Unit=update-proton-ge-latest.service

[Install]
WantedBy=default.target
#!/bin/bash
# $HOME/.local/bin/update-proton-ge-latest.sh
WAIT_SEC=15

echo "Waiting $WAIT_SEC seconds until heroic has finished the update"
sleep $WAIT_SEC

SRC="$HOME/.config/heroic/tools/proton/GE-Proton-latest"
DST="$HOME/.local/share/Steam/compatibilitytools.d/Proton-GE-latest"

if [[ ! -d "$SRC/compatibilitytool.vdf" ]]; then
    echo "Source directory not found. Skipping."
    exit 0
fi

rsync -a --delete "$SRC/" "$DST/"
sed -i 's/"display_name".*$/\"display_name\" \"Proton-GE-Latest\"/' "$DST/compatibilitytool.vdf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment