Steam for Linux > Limited Beta > Detalles del tema
cyber-lis 18 de Dic, 2012 a las 23: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"


#!/bin/bash
#Steam username
username=cyber_lis

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