wine.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
parent 1758 a5b14a9f4498
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

=======
 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