doubleclick on .exe starts all programs in wrong directory

Bug #236106 reported by Kenobi
4
Affects Status Importance Assigned to Milestone
wine (Ubuntu)
Fix Released
Medium
Scott Ritchie

Bug Description

Binary package hint: wine

It is a general problem of Ubuntu - Wine. Whenever you doubleclick a .exe in dolphin, the associated wine starts the program with the default directory "/home/username/". Result: The app can't find its other files and crashes.

When you take the console and type: "wine mplayer.exe", it is started in the actual directory we are in and it runs fine.

It seems a simple "cd" command is missing in the ubuntu - wine - starter. Should be fixable - with great results for 1000s of programs.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

The best solution to this may be changing from the standard wine binary to a wrapper script that sets the working directory properly. Integrating the winefix program that popped up on the forums a while back could work here.

Changed in wine:
assignee: nobody → scottritchie
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Kenobi (kazmirzak) wrote :

Yeah. Winefix seems to work. But that is only a workaround, not a fix.

An additional line in *.desktop - files like "StartInBinaryPath=True" should be interpreted. Is this possible for Ubuntu developers?

Revision history for this message
Vincent Povirk (madewokherd) wrote :

This has been fixed in Wine since 0.9.60.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Fixed in Intrepid. Hopefully it will be backported to hardy-backports soon.

Changed in wine:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.