Changing Wine Location?

Hi, I have installed and reinstalled wine about 3 times now, and the installation thinks the wine path for the “C:” drive is in my Documents folder. I am using OpenSUSE 11.4.

This is the error I get:

Unable to run the command specified. The file or folder file:///home/jonathan/Documents/.wine/dosdevices/c: does not exist.

Is there a way I can change this to another directory? Also, when I look at the directories under “.wine”, I see this:

jonathan@linux-v0wj:~> cd .wine
jonathan@linux-v0wj:~/.wine> ls
dosdevices  drive_c  system.reg  userdef.reg  user.reg
jonathan@linux-v0wj:~/.wine> cd dosdevices
jonathan@linux-v0wj:~/.wine/dosdevices> ls
c:  z:
jonathan@linux-v0wj:~/.wine/dosdevices> ls c:
Program Files  users  windows
jonathan@linux-v0wj:~/.wine/dosdevices> 

Thanks

But what are you trying to do.
You have wine installed and a .wine folder in /home/username/

What command are you running?

Open a terminal and run: winecfg
What happens

Did you run the command winecfg (you can configure the paths for the drives
with it)?


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.4 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.4 | nVidia
ION | 3GB Ram

On 06/17/2011 07:36 PM, LinXNut wrote:
>
> Hi, I have installed and reinstalled wine about 3 times

how did you install it?

did you install using YaST or zypper?

did the wine rpm come from the standard repo for your openSUSE version?
or from some other place?

what version of wine did you try to install?
which openSUSE 11.4 are you running 32 or 64? and which desktop
environment, and version?


dd
http://is.gd/bpoMD

Did you install using YaST or zypper?

I used zypper through the terminal.

did the wine rpm come from the standard repo for your openSUSE version?
or from some other place?

Yes, it came from the standard Repo.

what version of wine did you try to install?
which openSUSE 11.4 are you running 32 or 64? and which desktop
environment, and version?

I installed 1.3.12 which is the default that installs from the repo. I am running openSUSE 11.4 32 bit with KDE.
I ran “winecfg” through the terminal, and the configuration came up fine. However I don’t know how to change the directories through the “Drives” tab.

You didn’t answer my question. What command are you trying to run?
Wine is clearly installed.
It sounds to me like you are having trouble with a application in wine

LinXNut wrote:

> I ran “winecfg” through the terminal, and the configuration came up
> fine. However I don’t know how to change the directories through the
> “Drives” tab.
>
First of all, what does your drive tab show? (You can make a screenshot and
paste it at http://img.susepaste.org/ and post a link to it here).


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.4 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.4 | nVidia
ION | 3GB Ram

The application I am trying to run using wine is “Browse C: Drive”. I have not installed anything on wine, but I should still be able to see the drive. When I open the drives tab of winecfg, this is what I see: SUSE Paste

The configuration comes up completely fine. I am just not sure how to change the directory?

LinXNut wrote:

>
> The application I am trying to run using wine is “Browse C: Drive”. I
> have not installed anything on wine, but I should still be able to see
> the drive. When I open the drives tab of winecfg, this is what I see:
> ‘SUSE Paste’ (http://img.susepaste.org/27222052)
>
> The configuration comes up completely fine. I am just not sure how to
> change the directory?
>
This etting is correct (it is simply the default) starnge that you get the
error message you posted. Can you do a simple test with notepad (which is
part of the standard wine installation) to see if the same error happens?


wine notepad

and


which wine
rpm -q wine

to see where wine is located and if the installed version is the correct
one.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.4 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.4 | nVidia
ION | 3GB Ram

Here is the output for the commands:

jonathan@linux-v0wj:~> wine notepad
jonathan@linux-v0wj:~> which wine
/usr/bin/wine
jonathan@linux-v0wj:~> rpm -q wine
wine-1.3.12-3.4.i586
jonathan@linux-v0wj:~> 

The notepad opened up without any errors.

You are trying to do this via the launcher menu… correct?
I get the same error. But it the first time I ever tried it. I usually just go there with the file manager.

Hang on, let me see if I can alter it.

OK
Go to menu editor by right click on the menu

Go to Wine > Browse C: Drive
In the General tab, erase all in the command line box and enter: winefile

Now switch to advanced tab
And in the working path put: /home/username*/.wine/drive_c/
(replace username* with your username)
Press Save in top left

caf4926 wrote:

>
> You are trying to do this via the launcher menu… correct?
> I get the same error. But it the first time I ever tried it. I usually
> just go there with the file manager.
>
> Hang on, let me see if I can alter it.
>
Aaah now I understand the command posted, it is the entry in the menu. I
understood something like running some unknown to me brwose.exe with wine.
Yes I see the same error with this menu entry.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.4 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.4 | nVidia
ION | 3GB Ram

martin_helm wrote:
> Aaah now I understand the command posted, it is the entry in the menu. I
> understood something like running some unknown to me brwose.exe with wine.
> Yes I see the same error with this menu entry.
>
This has nothing to do with wine at all but with the desktop file for this
menu entry


martinh@ganymed:~> cat /usr/share/applications/wine-browsedrive.desktop
[Desktop Entry]
X-SuSE-translate=false
Name=Browse C:\ Drive
GenericName=Browse C:\ Drive
Name[sv]=Bläddra i C:\
Name[de]=Durchsuche C:\
Name[fi]=Selaa C:\-asemaa
Name[pl]=Przeglądaj napęd C:\
Name[ca]=Navegeu per l'unitat C:\
Comment=Browse your virtual C:\ drive
Comment[sv]=Bläddra i virtuella enheten C:\
Comment[de]=Durchsuche das virtuelle C:\ Laufwerk
Comment[fi]=Selaa virtuaalista C:\-asemaa
Comment[pl]=Przeglądanie wirtualnego napędu C:\
Comment[ca]=Navegeu per la vostra unitat virtual C:\
Exec=xdg-open .wine/dosdevices/c:
Terminal=false
Type=Application
Icon=wine-winefile
Categories=Wine;Emulator;

change in /usr/share/applications/wine-browsedrive.desktop


Exec=xdg-open .wine/dosdevices/c:

to


Exec=xdg-open ~/.wine/dosdevices/c:

and this menu entry works


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.4 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.4 | nVidia
ION | 3GB Ram

On Sat, 18 Jun 2011 00:06:03 GMT, LinXNut
<LinXNut@no-mx.forums.opensuse.org> wrote:

>
>The application I am trying to run using wine is “Browse C: Drive”. I
>have not installed anything on wine, but I should still be able to see
>the drive. When I open the drives tab of winecfg, this is what I see:
>‘SUSE Paste’ (http://img.susepaste.org/27222052)
>
>The configuration comes up completely fine. I am just not sure how to
>change the directory?

I am not sure how you got to where you are. There seems to be discord
between what you think should be the case and what is normal for wine. I
do not understand how you placed a wine executable *.exe file in /etc/bin.

Try:

wine explorer.exe

to browse the files visible from wine.