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

Using q4wine and Mumble's overlay #56

Closed Xylemon closed 9 years ago

Xylemon commented 9 years ago

I was wondering if it's possible to have the mumble-overlay run with the desktop file you created for the program under q4wine? I've tried messing with the Pre and Post run scripts but no luck.

brezerk commented 9 years ago

Hi. If you need to extend wine execution command, then you should use 'Execution Template string'.

Try to play around: Prefix -> Settings -> Advanced -> Execution Template string

I guess for mumble-overlay you should use something like:

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

or

%CONSOLE_BIN% %CONSOLE_ARGS% %ENV_BIN% %ENV_ARGS% /bin/sh -c "%WORK_DIR% %SET_NICE% LD_PRELOAD=/path/to/libmumble.so.1.1 %WINE_BIN% %VIRTUAL_DESKTOP% %PROGRAM_BIN% %PROGRAM_ARGS% 2>&1 "

Xylemon commented 9 years ago

That worked perfectly! Thanks.