Skip to content

Instantly share code, notes, and snippets.

@elmarcoh
Created March 24, 2014 03:44
Show Gist options
  • Save elmarcoh/9733764 to your computer and use it in GitHub Desktop.
Save elmarcoh/9733764 to your computer and use it in GitHub Desktop.
Run a game with wine using only one monitor (on multimonitor setup)
#!/usr/bin/env bash
xrandr --auto --output HDMI1 --above LVDS1
xrandr --output LVDS1 --off
WINEDEBUG=-all \
WINEPREFIX=~/.wineprefixes/spore \
/usr/bin/wine <game.exe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment