User Tools

Site Tools


wine

This is an old revision of the document!


Wine

Tweaks and Fixes

Copy / Paste

To be able to copy and paste things between Linux and Wine programs I had to add a key to the registry. The easiest way to do that is by making a .reg file with the following content:

wine-copypaste.reg
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"UsePrimarySelection"="1"

And then adding it with: wine regedit {filename}.reg

Disable Crash Dialogues

When using Lutris I get a lot of anooying 'crash' dialogue, even though no problems seem to actually be occuring. To fix this you can run—

sh winetricks nocrashdialog

—from the terminal to disable them.

You can also do it by editing the Windows registry:

wine-nocrashdialog.reg
[HKEY_CURRENT_USER\Software\Wine\WineDbg]
"ShowCrashDialog"=dword:0000000

Fonts

By default support for other character sets can be missing. You can install more fonts via winecfg, or use your normal package manager.

Wine looks for fonts in:

  • /usr/share/fonts (system-wide fonts)
  • /usr/share/wine/fonts (wine-specific)
  • ~/local/.fonts (user-specific fonts)
  • C:\Windows\Fonts within your Wine system. Actually somehwere in ~/.wine/… by default

Default Prefix

The default prefix/bottle/what-have-you is located at ~/.wine. If you don't like things cluttering your home directory you can change this with an environment variable:

Put, say, export WINEPREFIX=~/.local/share/wine/prefix/default in your .bashrc file.

See Also

wine.1605793093.txt.gz · Last modified: 2020/11/20 00:38 by rjt