Who am i? and where is C:?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Derek McGowan

Who am i? and where is C:?

Post by Derek McGowan »

in your home directory, there is a hidden directory called .wine - look there

Derek



----- Original Message ----
From: gcampton <[email protected]>
To: [email protected]
Sent: Tuesday, August 12, 2008 11:11:15 AM
Subject: [Wine] Who am i? and where is C:?

Hello,

I just started using linux a cpl days ago, still trying to wrap my head around things and of course not willing to part entirely with windows :P

I'm a student studying Software dev (c++, Java) and Database design.

I installed Wine just now, and notepad++ i directed installation to C:/Program Files/Notepad++, under install ticked %APPDATA% as i assumed Wine would actually create a Pretend C: directly in usr/local/bin or something to that effect... %APPDATA% is config file stored in local directory of notepad++

after reading through the entire FAQ, i went to the folder as i wanted to install plugins into notepad directory, i noticed the config file was sent to my desktop, wierd, i noticed that all the files where the FAQ or docs (i read them both) said they would be were not...

so wtf? where is C: exactly? does it exsist? and if not then how do i install plugins?
gcampton
Newbie
Newbie
Posts: 3
Joined: Tue Aug 12, 2008 9:58 am

Post by gcampton »

thanks :D


ooooooooooo theres lots of other crap there i wondered where it was :P
Nik N

Who am i? and where is C:?

Post by Nik N »

On 8/12/08, Derek McGowan <[email protected]> wrote:
in your home directory, there is a hidden directory called .wine - look
there
Why, oh why does it have to be a hidden directory?
Hidden from who, and for what purpose?
Is there any way (short of re-compiling wine) to change that and make
it a normal directory called simply "wine"?
nik
Daniel Kasak

Who am i? and where is C:?

Post by Daniel Kasak »

On Wed, 2008-08-13 at 04:52 +0000, Nik N wrote:

On 8/12/08, Derek McGowan <[email protected]> wrote:
in your home directory, there is a hidden directory called .wine - look
there
Why, oh why does it have to be a hidden directory?
Hidden from who, and for what purpose?
It's to stop polluting my home folder with stuff that I'm not interested
in. It's common to put config files and stuff into hidden files &
folders.

Is there any way (short of re-compiling wine) to change that and make
it a normal directory called simply "wine"?
How about:
ln -s .wine wine
... from your home folder?


Daniel Kasak / DNA
Application Developer
T: +61.2.8968.4056 / F:
+61.2.9904.5055
[email protected]
24/7 Real Media
15-19 Parraween Street
Cremorne, NSW 2090
Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Who am i? and where is C:?

Post by vitamin »

Nik N wrote:On 8/12/08, Derek McGowan <[email protected]> wrote:
in your home directory, there is a hidden directory called .wine - look
there
Why, oh why does it have to be a hidden directory?
Hidden from who, and for what purpose?
Is there any way (short of re-compiling wine) to change that and make
it a normal directory called simply "wine"?
nik
Not that easy. But you can symlink it.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Who am i? and where is C:?

Post by dimesio »

Nik N wrote:Is there any way (short of re-compiling wine) to change that and make
it a normal directory called simply "wine"?
You can rename .wine to anything you want, but you will then have to edit your menu entries and desktop links so WINEPREFIX= points to the new location. If you run your programs from the command line, you will have to include the wineprefix variable:
WINEPREFIX=/home/user/whatever wine program.exe
You can have as many different wineprefixes as you like--just remember to specify which one you're using each time. (If you don't specify the wineprefix, Wine will use .wine.)
Jim

Who am i? and where is C:?

Post by Jim »

On Wed, Aug 13, 2008 at 12:52 AM, Nik N <[email protected]> wrote:
On 8/12/08, Derek McGowan <[email protected]> wrote:
in your home directory, there is a hidden directory called .wine - look
there
Why, oh why does it have to be a hidden directory?
Hidden from who, and for what purpose?
Reduce clutter. Your home directory stores a lot of things. The idea
is that background things you won't *normally* be accessing directly -
program data, etc. Is stored in hidden files/driectories to make it
easier to find the things you will use frequently. If you want to see
a hidden directory, try 'ls -a' on the command line. The 'hidden' is
more of a convenience thing than a function/security/restriction
thing. Once you are used to it, it also becomes VERY convenient.
Is there any way (short of re-compiling wine) to change that and make
it a normal directory called simply "wine"?
There have been a couple of answers to this, for most users, the
symlink is the easiest.

In a command line:
$ cd ~
$ ln -s .wine wine


Note: I often get the 'ln' ops backwards, you might want to check the
man page. It might be 'ln -s wine .wine', but I'm fairly sure it's
what I wrote above.

-Jim Stapleton
Locked