wine.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 03 Jan 2019 22:13:18 +0200
changeset 2334 c44e4331713c
parent 2228 837f1337c59b
permissions -rw-r--r--
merged

.. -*- coding: utf-8; -*-

=======
 Wine.
=======
.. contents::
   :local:

Useful info.
============

http://wiki.winehq.org/FAQ
  Official FAQ.

Clearing workspace.
===================

Make workspace backup::

  $ wineboot -k
  $ mv ~/.wine ~/.wine-tmp

Create new workspace::

  $ winecfg

Move old programs (may not always work)::

  $ mv ~/.wine-tmp/opt ~/.wine/opt

Installing into separate workspace.
===================================
::

  $ PROFILE=my-program
  $ export WINEPREFIX=~/.wine-$PROFILE
  $ winetricks dotnet20 dotnet40
  $ wine /path/to/installer.exe
  $ wine $WINEPREFIX/Program\ Files/Program/start.exe

Write simple script to run program in your environment::

  #!/bin/sh
  env WINEPREFIX=~/.wine-my ~/.wine-my/

To make 32-bit environment::

  $ WINEARCH=win32 WINEPREFIX=~/.wine-32 winecfg

winetricks.
===========

List of available packages::

  $ winetricks apps list

Instal .Net 2.0/4.0::

  $ winetricks dotnet20 dotnet40

Wine utils.
===========
::

  $ winecfg

  $ wine control
  $ wine regedit
  $ wine uninstaller
  $ wine notepad

  $ winefile