Alex's Slip-box

These are my org-mode notes in sort of Zettelkasten style


:ID: 284b93d5-e030-4c8a-932b-03858767dfb6

Run Windows programs on linux

# Installing on Ubuntu

sudo apt-get install wine winetricks

See also Winetricks

# Configuring Wine

There’s a GUI applications for this. Just run winecfg.

# Graphics

With 4k monitors, the applications will be tiny. Go to the Graphics tab and increase the Screen resolution dpi value.

# Installation

# Installation options

You can have multiple installation directories. For example, you have run a 32bit application on a 64bit system by doing something like this:

export WINEPREFIX=~/.wine-someapp/
export WINEARCH="win32"

WINEPREFIX is the directory. See also WINEPREFIX docs. WINEARCH sets the system architecture

  • win32 or win64

This will create a .wine-someapp/ directory. With the env vars set, all subsequent wine commands will use that directory and architecture. So, now you can do wine someapp_installer.exe. Then wine ".wine-someapp/drive_c/Program Files/someapp/someapp.exe"

The env vars will only be set for that terminal sessions. For subsequent terminal sessions, they need to be reset or used inline when running the command to start the app.

WINEPREFIX=~/.wine-someapp WINEARCH="win32" wine ~/.wine-someapp/drive_c/Program\ Files/someapp/someapp.exe

# Desktop shortcuts

Installing will create desktop shortcuts. Right click on it and choose “Allow Launching” to make it clickable.

# Resources

Search Results