Ubuntu starting to support windows autorun.inf on cd-rom insertion!

Vijay Kiran Kamuju infyquest at gmail.com
Tue Jul 3 11:54:39 CDT 2007


Hi,

I agree with stefan's views.
We should not hard code the wine path, but should search for it.
If it fails only then only we should resort to it.
The searching should be done first using the package managers like rpm,deb.
Inorder to search for wine path by searching for standard app
installations like wine,cxoffice,cedega in this order)
If it fails then it should search for it using the 'which wine' ouptut.
If that too fails we should use hardcoded paths. (as last resort).

Thanks,
VJ

On 7/3/07, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> Am Dienstag, 3. Juli 2007 17:47 schrieb Dan Kegel:
> > Check this out.  Hanusz Leszek just posted a patch implementing part of
> > https://wiki.ubuntu.com/autorun
> > It's at
> > http://launchpadlibrarian.net/8292130/gnome-volume-manager-autorun-inf-02.p
> >atch
> >
> > Are we ready for prime time, kids?  :-)
> On a technical sidenote, instead of hardcoding the wine path he should test
> some common wine locations, perhaps including cedega and
> crossover(/usr/local/bin/wine, ~/cxoffice/bin/wine /opt/cxoffice/bin/wine
> come to my mind). Or perhaps just parse the autorun.inf and then pass
> the .exe to the normal gnome / kde file opening methods to have whatever app
> is associated with the mime type run the app.
>
> Otherwise I like the idea. I tried to so something like that a long time ago,
> but I failed.
>
>
>


More information about the wine-devel mailing list