Table of Contents

Wine

Tweaks

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:

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.

.desktop files

Wine likes to dump a bunch of useless .desktop files …

When making your own .desktop

Path=[full path to directory with your program in it]
Exec=env WINEPREFIX=[full path to a wine prefix if you're not using the default one] wine [.EXE file you want to run]

Errors and Fixes

This application could not be started. You must enable the .NET Framework from Windows Features dialog box (from Control Panel, choose Programs, Turn Windows features on or off).

See Also