[Wine] Re: How can wine be available for all users?

occhigrigi wineforum-user at winehq.org
Wed Oct 22 05:19:09 CDT 2008

I've done it this way
Created a /windows directory where i put all the WINEPREFIX created for every application i need.
Here is an example with 3 applications


Then I've made a launch script for every application 
Here's the script i use for lotusnotes

if [ ! -d $HOME/.windows/$winapp ]; then
    mkdir -p $HOME/.windows/$winapp
    cd $HOME/.windows/$winapp
    ln -s /windows/$winapp/dosdevices
    ln -s /windows/$winapp/drive_c
    ln -s /windows/$winapp/system.reg
    cp  /windows/$winapp/user.reg .
    ln -s /windows/$winapp/userdef.reg
export WINEPREFIX=$HOME/.windows/$winapp
wine 'c:\programmi\lotus\notes\notes.exe' 2> /dev/null

As you can see I use a ~/.windows to link all the necessary files ad directories for each user.
So i can still have a ~/.wine for each user's use 

Disadvantages: security, under /windows each dir has to be 777 and disk space waste
Advantages: every user still has his own settings.

Hope this helps

More information about the wine-users mailing list