brezerk / q4wine

Q4Wine is a Qt GUI for W.I.N.E. It will help you manage wine prefixes and installed applications.
http://q4wine.brezblock.org.ua/
GNU General Public License v3.0
208 stars 40 forks source link

Custom environmental settings should be supported #18

Closed povka144 closed 11 years ago

povka144 commented 11 years ago

Often an application needs workaround that can be enabled by passing custom environmental options. For example:

env vblank_mode=0 wine test.exe

It would be great if q4wine allowed to specify custom environmental options.

brezerk commented 11 years ago

v0.999 implements this.

You can change "Execution template string" in prefix settings.

Default is: %CONSOLE_BIN% %CONSOLE_ARGS% %ENV_BIN% %ENV_ARGS% /bin/sh -c "%WORK_DIR% %SET_NICE% %WINE_BIN% %VIRTUAL_DESKTOP% %PROGRAM_BIN% %PROGRAM_ARGS% 2>&1 "

So you can change it to: %CONSOLE_BIN% %CONSOLE_ARGS% %ENV_BIN% vblank_mode=0 %ENV_ARGS% /bin/sh -c "%WORK_DIR% %SET_NICE% %WINE_BIN% %VIRTUAL_DESKTOP% %PROGRAM_BIN% %PROGRAM_ARGS% 2>&1 "

brezerk commented 11 years ago

template

brezerk commented 11 years ago

I'l close this issue. Reopen if you have any questions or suggestions.