Skip to content

Instantly share code, notes, and snippets.

@majabojarska
Created December 20, 2020 08:01
Show Gist options
  • Save majabojarska/86309250a7c83d81e41ecfee05a22d00 to your computer and use it in GitHub Desktop.
Save majabojarska/86309250a7c83d81e41ecfee05a22d00 to your computer and use it in GitHub Desktop.
Fix Steam for Linux LD_LIBRARY_PATH
#!/bin/bash
# Temporarily preprends ~/.steam/root/ubuntu12_32 to LD_LIBRARY_PATH env variable,
# and then runs Steam client. This fixes steam client not detecting libraries
# located at ~/.steam/root/ubuntu12_32 (e.g. for Steam Remote Play).
#
# Make this script executable and use it to start the Steam client:
#
# $ chmod +x run_steam.sh
# $ bash your/path/run_steam.sh
LD_LIBRARY_PATH=~/.steam/root/ubuntu12_32:$LD_LIBRARY_PATH steam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment