Wine

Utilities

wineserver – the Wine server

-k[n], –kill[=n],

The instance of wineserver that is killed is selected based on the WINEPREFIX environment variable

WINEPREFIX=/ptahto/myprefix /opt/wine-staging/bin/wineserver -k

Registry keys

https://wiki.winehq.org/Useful_Registry_Keys

Prefixes

Create new prefix (64bits is default):

WINEPREFIX=/path/to/wineprefix winecfg
WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg

Top open the explorer in a wine window:

WINEPREFIX=/path/to/wineprefix wine explorer /desktop=test,2560x1440 explorer

To kill all Wine processes in a wineprefix:

WINEPREFIX=/path/to/wineprefix wineserver -k

Compilation

Compile the 32 bits version with Vulkan:

CC="ccache gcc -m32" ./configure --verbose --disable-tests --with-vulkan
make -j

After compilation, the executables are:

./wine
./server/wineserver

Also, env can set to:

WINESERVER=/path/to/wine-git/server/wineserver

Infos: https://wiki.winehq.org/Building_Wine and https://wiki.winehq.org/Regression_Testing