[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [Bug 6689] Created links do not reflect WINEPREFIX used
From:       Alexander Nicolaysen =?utf-8?q?S=C3=B8rnes?= <alex () thehandofagony ! com>
Date:       2007-01-29 23:16:27
Message-ID: 200701300016.28713.alex () thehandofagony ! com
[Download RAW message or body]

Mandag 29 januar 2007 20:58, skrev Kuba Ober:
> On Monday 29 January 2007 12:50, Tomas Carnecky wrote:
> > 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"
>
> Instead, wouldn't
> /bin/sh -i -c "WINEPREFIX=foo exec wine"
> also properly dispose of the now useless copy of the shell?
>

You don't have to start a new shell if you use

env WINEPREFIX=foo wine


Regards,

Alexander N. Sørnes

> Cheers, Kuba



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic