Alt key do not work anymore as it is grabbed by the window manager. This is done simply by the following script:
# on which display to run? 1 to 9 export
D=1
# supress debug mssages, for added performance
export WINEDEBUG=-all
# Optional: a special X config file for specific options or resolutions
# file in /etc/X11, a copy of xorg.conf with some changes
CONFIG='-config xorg-1440.conf'
# we run the X server on D, -ac making it quit after game is run
X :$D -ac -terminate -$CONFIG &
sleep 2 # wait a bit for it to be ready
# we run our game via wine now, alone on this server
DISPLAY=:$D.0
wine THE-GAME-TO-RUN.exe options...
explorer /desktop=Name,1024x768
replacing "Name" by the title you want to give to the window, and use the resolution you want, of course
-- ColasNahaboo - 2008-08-15
|
Navigate:
Changes -
Index -
Map -
Search -
Print version -
RSS Feed
Advanced: Backlinks - Children - Raw View - Email changes - History Admin: Admin - Statistics - Preferences - Notifications - Your Account Edit: Edit - Raw edit - Attach - Create New Topic - More topic actions |
Hacks.WineGeneralTricks Topic revision: r17 - 2008-12-22 - 08:44:55 - ColasNahaboo Powered by Hosted by Linode on Debian |