I assume you use nvidia, it opens it in :2 change :2 to something else if you want it somewhere else, or heck make it even a command line option Code: #!/bin/sh # cd to dir && run in wine in another X Display if [ ! "$1" ]; then echo "Usage : xwine [gameDir] [exe]" exit fi if [ ! "$2" ]; then echo "Usage : xwine [gameDir] [exe]" exit fi X :2 -ac -terminate & nvidia-settings --load-config-only sleep 10 DISPLAY=:2 cd "$1" wine "$2" $3 1. create new file, name it xwine 2. copy that to that file 3. chmod +x 4. sudo mv xwine /usr/bin/ 5. xwine "/path/to/game/dir" "executable" Not tested, but should work.