#!/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

/usr/bin/steamos/set_hd_mode.sh >> $HOME/set_hd_mode.log

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 &

loadargb_cursor /usr/share/icons/steam/arrow.png

steam -tenfoot -steamos -enableremotecontrol
