[Wine] Re: where is all installed programs located?

Segin segin2005 at gmail.com
Mon Mar 19 00:49:44 CDT 2007


chefsansvarig at gmail.com wrote:

> Second,yes,i do actually know how to run it but i cant find a proper
> search path which leads to the windows binary.
> i dont have a .wine directory.

I will demonstrate with my shell-fu what to do.

From your command shell, you probably have a prompt like this:

[ segin at segin:~ ]$

Now, when you run 'ls' in your home directory (represented by the shell
magic charater '~'), none of the files whose names start with a dot are
shown. `.wine' is essentially a hidden folder. You can't see it in the
GUI or a standard 'ls' output.

Try this:

ls -ld ~/.wine

You should see something like this:

drwxr-xr-x  4 segin root 184 Oct 21 00:10 /home/segin/.wine

Note that using ~ in the shell is like typing out your full HOME
directory path in just one letter.

Now, `cd' into the .wine directory, and the virtual drive C: like so:

cd ~/.wine/drive_c/

Now, run `ls' again:

[ segin at segin:~/.wine/drive_c ]$ ls -l
total 2
drwxr-xr-x   2 segin root 240 Sep 16 00:27 Office10
drwxr-xr-x  26 segin root 824 Oct 21 00:08 Program Files
drwxr-xr-x   9 segin root 528 Oct  1 17:06 sysreset
drwxr-xr-x   2 segin root 416 Oct  4 19:15 tmp
drwxr-xr-x  11 segin root 688 Oct 16 06:23 windows
[ segin at segin:~/.wine/drive_c ]$

Now, look at the `Program Files' folder. there's a space in the name,
which really confuses the shell, but there's away around that.

Escape the space.

Now, you may be looking at this thinking "escape the what?", and I know,
I thought the same thing wen I first learned how to use the GNU Bourne
Again Shell (GNU bash). It's simple. You put an escape charater `\'
before the space, like so:

cd Program\ files/

(note that file names are CaSe SeNsItIvE, that is, you can have a file
STARTREK, StarTrek, and starttrek, and they would all be seperate files.)

When you find the Winamp directory, just run this:

wine winamp

(Wine can automatically guess the .exe extension if not specified, and
searches for the executable case-insensitively. That means that if you
have a file `WINAMP.EXE', `winamp' will match it. Just be careful you
don't have a matching file in `c:\\windows\\system32' or so.)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://www.winehq.org/pipermail/wine-users/attachments/20070319/3dcf5dfc/signature.pgp


More information about the wine-users mailing list