Skip to content

Instantly share code, notes, and snippets.

@kallisti5
Created January 4, 2014 07:20
Show Gist options
  • Save kallisti5/8252663 to your computer and use it in GitHub Desktop.
Save kallisti5/8252663 to your computer and use it in GitHub Desktop.
steamos-session, pulled from SteamOS
#!/bin/sh
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
export HOMETEST_DESKTOP=1
export HOMETEST_USER=steam
export HOMETEST_DESKTOP_USER=desktop
export HOMETEST_DESKTOP_SESSION=gnome
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libmodeswitch_inhibitor.so:/usr/lib/i386-linux-gnu/libmodeswitch_inhibitor.so
# Disable DPMS and screen blanking for now; it doesn't know about controller
# or Steam remote control events right now
xset -dpms
xset s off
steamcompmgr &
start-pulseaudio-x11
loadargb_cursor /usr/share/icons/steam/arrow.png
steam -tenfoot -steamos -enableremotecontrol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment