Skip to content

Instantly share code, notes, and snippets.

@mdeguzis
Created December 15, 2016 14:46
Show Gist options
  • Select an option

  • Save mdeguzis/833507c42e366c6981ef52b52f1b6c2d to your computer and use it in GitHub Desktop.

Select an option

Save mdeguzis/833507c42e366c6981ef52b52f1b6c2d to your computer and use it in GitHub Desktop.
/usr/bin/steamos-session
#!/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment