fix startup bug

This commit is contained in:
Andy 2016-08-06 01:34:36 +02:00
parent 6a6132e8d6
commit f711458879
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

4
launch
View File

@ -15,6 +15,7 @@ if [ -f /proc/sys/kernel/grsecurity/tpe_gid ]; then
/lib/i386-linux-gnu/ld-2.19.so \ /lib/i386-linux-gnu/ld-2.19.so \
$HOME/.local/share/Steam/ubuntu12_32/steam \ $HOME/.local/share/Steam/ubuntu12_32/steam \
$HOME/.local/share/Steam/ubuntu12_32/steamwebhelper \ $HOME/.local/share/Steam/ubuntu12_32/steamwebhelper \
$HOME/.local/share/Steam/ubuntu12_32/gameoverlayui \
$HOME/.local/share/Steam/steamapps/common/Half-Life/hl_linux $HOME/.local/share/Steam/steamapps/common/Half-Life/hl_linux
# paxctl -c -v -m /lib/i386-linux-gnu/ld-2.19.so # paxctl -c -v -m /lib/i386-linux-gnu/ld-2.19.so
fi fi
@ -25,4 +26,5 @@ fi
# echo "$(find /usr/lib /usr/lib32 -maxdepth 1 -type d -name "*nvidia*" -print0 |tr '\0' ':' ; echo)" # echo "$(find /usr/lib /usr/lib32 -maxdepth 1 -type d -name "*nvidia*" -print0 |tr '\0' ':' ; echo)"
export LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/nvidia-361:/usr/lib/nvidia-361-prime:/usr/lib/nvidia-340:/usr/lib/nvidia-340-prime:/usr/lib/nvidia-304:/usr/lib32/nvidia-361:/usr/lib32/nvidia-340:/usr/lib32/nvidia-304:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu" export LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/nvidia-361:/usr/lib/nvidia-361-prime:/usr/lib/nvidia-340:/usr/lib/nvidia-340-prime:/usr/lib/nvidia-304:/usr/lib32/nvidia-361:/usr/lib32/nvidia-340:/usr/lib32/nvidia-304:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu"
exec su -p user -c "steam $@" su -p user -c "steam $@"
# exec su -p user -c "steam $@"