Wine: Difference between revisions

From wikinotes
Line 27: Line 27:
|}
|}
</blockquote><!-- Notes -->
</blockquote><!-- Notes -->
= Configuration =
<blockquote>
== Prefixes ==
<blockquote>
Wine allows you to create separate ''containers'' for wine installations.
(each representing a different windows system). Each one of these containers
is called a wine '''prefix'''. You are encouraged to create a separate wine
prefix for each program.
<syntaxhighlight lang="bash">
## Creating a wine prefix
##
## do not create the directories you want for your wine setup, let winecfg do that for you.
WINEARCH=win64 WINEPREFIX=/home/will/.wine/x64 winecfg
WINEARCH=win32 WINEPREFIX=/home/will/.wine/x86 winecfg
## Running Wine Programs with a particular Wine Prefix
export WINEPREFIX="<path to a writable folder on your home directory>"
export WINEARCH="win32"
wine /path/to/office_cd/setup.exe
</syntaxhighlight>
</blockquote><!-- Prefixes -->
</blockquote><!-- configuration -->


= Performance =
= Performance =

Revision as of 20:33, 13 March 2022

wine is a program that converts win32 executables into programs that can run natively on *nix systems. This is very awesome, and enables you to use software that would otherwise be unavailable to you (such as MS office, games, etc).

As a user-friendly alternative to managing wine directly (managing multiple wine versions, prefixes etc) a program called playonlinux was created to wrap around it. It is very convenient.

Documentation

official docs: performance https://wiki.winehq.org/Performance

Notes

wine install
wine usage
wine configuration

Performance

General

Nvidia

# enable threaded optimizations in GL drivers
__GL_THREADED_OPTIMIZATIONS=1

# disable the opengl shading language (but graphics suffer)
winetricks glsl-disable

Tools

winetricks
wine mono

Examples

wine microsoft office
wine zbrush 4r4
wine photoshop CS6