[Noob] wineprefix= doesn't work

Questions about Wine on Linux
Locked
User avatar
mr.matt.eastwood
Level 2
Level 2
Posts: 15
Joined: Fri Sep 03, 2021 8:38 am

[Noob] wineprefix= doesn't work

Post by mr.matt.eastwood »

Hello, Wine community!

I am new to Wine (but have been using Linux since 2009), with only very limited experience from like 10 years ago. I'm getting into it a bit right now out of curiosity and I'm really impressed! I got some really cool Windows apps to run without even having to tinker (a lot).

One thing baffles me though. I deleted the default ~/.wine directory because I wanted to make my own 2 prefixes for 32 and 64 bits (the latter being the default). So I created a folder called ~/.wineprefixes and I ran this command:

Code: Select all

wineprefix=~/.wineprefixes/64bit winecfg
Afterwards, I found a new Wine prefix had been created in ~/.wine, and there was no directory at all in ~/.wineprefixes.

What am I doing wrong? Shouldn't it have created a new wineprefix in ~/.wineprefixes/64bit?
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: [Noob] wineprefix= doesn't work

Post by dimesio »

Linux is case sensitive and environment variables are ALL CAPS.

Code: Select all

WINEPREFIX=~/.wineprefixes/64bit winecfg
User avatar
mr.matt.eastwood
Level 2
Level 2
Posts: 15
Joined: Fri Sep 03, 2021 8:38 am

Re: [Noob] wineprefix= doesn't work

Post by mr.matt.eastwood »

Hey @dimesio, thanks for your help! :-) That did the trick. Oh man, I knew it had to be something obvious. o.O
Locked