← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #70652]: when i try to open "Browse C:\Drive" under wine, it gives me an error message.

 

Question #70652 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/70652

skierpage proposed the following answer:
I have the same problem in Kubuntu 9.04.  The .wine directory is in your home directory, yet the "Browse C:\Drive" menu item uses the non-existent path $HOME/Documents/.wine
The workaround is to simply navigate to $HOME/.wine/dosdevices/c: in a file manager like Dolphin.

The launchpad bug is Bug #223989 , with a few duplicates.
This problem is covered on the Wine forum in http://forum.winehq.org/viewtopic.php?p=17873

The desktop entry /usr/share/applications/wine-browsedrive.desktop has
  Exec=xdg-open .wine/dosdevices/c:

This is a relative path, but the behavior of the command `xdg-open`
given a relative path is undocumented and unspecified.  On Kubuntu it
creates a file:/// URL relative to $HOME/Documents , and you get this
bug.

The fix is to edit /usr/share/applications/wine-browsedrive.desktop (you will need to become root with sudo or such) and give the absolute path to the directory.  I think the $HOME environment variable is better than the '~' those reports use for your home directory, thus change the line to
  Exec=xdg-open $HOME/.wine/dosdevices/c:

This worked for me.

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.