User:Evilgold/wine

run wine in a seperate X session (NEAT-O!)


 * 1) !/bin/sh

X :3 -ac & nvidia-settings --load-config-only
 * 1) Launches a new X session on display 3. If you don't have an Nvidia card
 * 2) take out the "& nvidia-settings --load-config-only" part

cd "~/.wine/drive_c/windows/"
 * 1) Goto game dir (modify as needed)

sleep 2
 * 1) Forces the system to have a break for 2 seconds, X doesn't launch instantly

DISPLAY=:3 WINEDEBUG=-all wine "C:/windows/explorer.exe"
 * 1) Launches wine

This can be used from a console after login. It wont work if you launch it inside of X unless you kill gdm (or whatever dm) first.