Steam for Linux > Limited Beta > 主题详情
cyber-lis 2012年12月18日下午11:52
Script to run TF2 with primus
I want to share my launcher script for TF2. It was made from another script whitch i foud in "Steam for Linux"

#Steam username

cd ~/.steam/steam/SteamApps/$username/Team\ Fortress\ 2\/
export LD_LIBRARY_PATH=/home/$USER/.steam/steam/SteamApps/$username/Team\ Fortress\ 2\/bin/:/home/$USER/.steam/steam/ubuntu12_32/:/home/$USER/.steam/bin/:$LD_LIBRARY_PATH
# I have pulseaudio
#export SDL_AUDIODRIVER=alsa
LANG=C LC_NUMERIC=C SteamAppId=440 vblank_mode=0 primusrun ./hl2_linux -game tf -steam -novid

Change your username and it will work for you