Skip to content

Instantly share code, notes, and snippets.

@karuna
Created November 5, 2016 07:43
Show Gist options
  • Save karuna/9e46bee2cc01b19ac345326614e5a0a9 to your computer and use it in GitHub Desktop.
Save karuna/9e46bee2cc01b19ac345326614e5a0a9 to your computer and use it in GitHub Desktop.
Steam script
#!/bin/sh
find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete
find ~/.local/share/Steam/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete
LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so'
exec /usr/bin/steam "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment