aboutsummaryrefslogtreecommitdiff
path: root/local/bin/steam
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/steam')
-rwxr-xr-xlocal/bin/steam10
1 files changed, 10 insertions, 0 deletions
diff --git a/local/bin/steam b/local/bin/steam
new file mode 100755
index 0000000..b573daf
--- /dev/null
+++ b/local/bin/steam
@@ -0,0 +1,10 @@
+#!/bin/bash
+#export STEAM_RUNTIME=0
+export STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0
+# Workaround for dbus fatal termination related coredumps (SIGABRT)
+# https://github.com/ValveSoftware/steam-for-linux/issues/4464
+export DBUS_FATAL_WARNINGS=0
+# Override some libraries as these are what games linked against.
+export LD_LIBRARY_PATH="/usr/lib/steam:/usr/lib32/steam"
+#export LD_PRELOAD="/usr/lib/steam:/usr/lib32/steam /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.4/libstdc++.so.6 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_s.so.1 /usr/lib64/libxcb.so.1 /usr/lib64/libgpg-error.so"
+exec /usr/bin/steam "$@"