Wine in Gentoo

From Elvanör's Technical Wiki
Revision as of 12:31, 17 January 2016 by Elvanor (talk | contribs)
Jump to navigation Jump to search

General Hints

  • You may need to recreate your wine directory (~/.wine) if it is very old.
  • You *need* the loopback interface for wine to work correctly, so don't remove /etc/init.d/net.lo from the init scripts.

Building latest Git

  • Add to /etc/portage/package.accept_keywords:
app-emulation/wine **
  • Add to /etc/portage/package.unmask:
=app-emulation/wine-9999

Russian Programs

  • If text is garbled, try to run with a russian locale (be sure to have this locale available, check /etc/locale.gen):
LANG=ru_RU.UTF-8 wine Setup.exe
  • However, there may still be problems with fonts. I haven't been able to solve them yet.

AMD64 Profile

Wine does not yet play very well with the no-exec protection of recent Linux kernels. It may be necessary to disable no-exec at boot with the following kernel argument:

noexec32=off

Registry Keys

  • If you need to add or change keys to the Windows registry, you can use regedit which is a GUI for this task.