[Bug 6689] Created links do not reflect WINEPREFIX used

Tomas Carnecky tom at dbservice.com
Mon Jan 29 11:50:15 CST 2007

Lei Zhang wrote:
> Setting the Exec= line in a .desktop file to: WINEPREFIX=foo wine bar
> worked in KDE. In Gnome, it works if "run from the terminal" is set.
> Unfortunately the Freedesktop spec for desktop entries does not
> specify a way to add environment variables. So yes, it looks like
> we'll need a wrapper script, or perhaps add a --prefix option to Wine?

or change the exec line to:
/bin/sh -i -c "WINEPREFIX=foo wine"


More information about the wine-devel mailing list