Skip to content

Instantly share code, notes, and snippets.

@duketwo
Last active May 20, 2017 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duketwo/9a248827cf3923a8736fe4127f64b980 to your computer and use it in GitHub Desktop.
Save duketwo/9a248827cf3923a8736fe4127f64b980 to your computer and use it in GitHub Desktop.
Steam link automatically close big picture mode - Linux / Gnome
#!/bin/bash
# wmctrl is required! for debian based distributions: apt-get install wmctrl
# copy to /bin/close_steam.sh
# chmod +x /bin/close_steam.sh
# autostart: launch "gnome-session-properties" and add "close_steam.sh &"
while true
do
wmctrl -c steam
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment