Currently, Lutris is the best method for Nvidia GPU users.
Before doing anything, make sure you have a .exe version of Affinity Photo, Affinity Designer, and/or Affinity Publisher downloaded from the official Affinity website: https://store.serif.com/en-us/account/downloads
Make sure you have the following programs installed in your Linux system before proceeding:
winetricks is available in the package repositories of major Linux distributions, and can be installed by running commands in the terminal.
For Debian- or Ubuntu-based distros, run the command:
sudo apt install winetricksFor Fedora Linux-based distros, run the command:
sudo dnf install winetricksFor Arch Linux-based distros, run the command:
sudo pacman -Sy winetricksThe Flatpak version of Lutris is recommended.
Alternately, you can visit the download page of Lutris' official website and follow the instructions to download and install it, or you may install the unofficial AppImage of Lutris using a program such as GearLever.
Choose one of the following forks of Wine, and download and extract it:
-
ElementalWarriorWine (Recommended) — Download
ElementalWarriorWine-x86_64.tar.gz, then right click and extract it. You should have a folder now calledElementalWarriorWine-x86_64which we'll copy in the next step. -
Wine-TKG-affinity — Download the
wine-tkg-affinity-archbuilt.tar.zstarchive file, then extract theusr/folder from the archive and rename the folder towine-tkg-affinity-x86_64.
Lutris' Wine-related folders can be found in a hidden directory within your home folder. If you can't see hidden folders in your file browser, you can usually enable them by pressing Ctrl + H
- If you installed Lutris via Flatpak, navigate to
/home/$USER/.var/app/net.lutris.Lutris/data/lutris/runners/ - If you installed Lutris via AppImage or other methods, navigate to
/home/$USER/.local/share/lutris/runners/
Create a folder called wine if one does not already exist, then copy and paste the folder you extracted in the previous step to this folder.
This is also known as your Wine runner.
- Download the install script for your Wine fork — visit one of the following links based on your choice of Wine fork, then click the download button located on the top right of the file content to download it as a
.yamlinstall script file:- ElementalWarrior
Affinity-ew.yaml - Wine-tkg-affinity
Affinity-tkg.yaml
- ElementalWarrior
- Open Lutris and click on the plus
+icon on the top left corner of the window. - Press "Install from a local install script".
- Press on the
⋮three vertical dots button, then select the.yamlinstall script file you just downloaded for your Wine fork. - Press
Install, then pressInstallagain. - Select or create a file path for where you would like everything to install, such as
/home/$USER/AffinityOnLinux. - Select Affinity's setup file by pressing on the
⋮three vertical dots button then choosing the.exefor Affinity Photo, Affinity Designer, or Affinity Publisher. - Press
Install. At this point, you may get a message saying "Wine could not find a wine-mono package...". Go ahead and clickInstall. You will see a bunch of code running in a terminal-like space. This may take several minutes. - Once the terminal stuff is done, an Affinity window should pop up with a button to
Install. Let it install, then once it's done clickClose. - Click
Launch- you will now see an error message from Lutris that says 'This game has no executable set. The install process didn't finish properly.' Just clickOK- we will address this in the next step.
Congrats on making it this far! 🐧
At this point, you should be in the 🎮 Games section of Lutris where a blank rectangle labeled Affinity Suite should exist. Right click on it and select Configure (should be the third option down).
-
Under the first tab,
Game info, change theNamefield from Affinity Suite to the name of the app you just installed: Affinity Photo, Affinity Designer, or Affinity Publisher. -
Next to the
Identifierfield (towards the bottom), pressChangethen type in the correlated app name in lowercase and dashes, then pressApplyto apply the change:affinity-photoaffinity-designeraffinity-publisher
-
You can find icons, cover art and banners for Affinity apps in AffinityOnLinux's
IconsandCoversfolders. -
Switch to the
Game optionstab. -
In the
Executablefield, copy and paste one of the following: Affinity Photo:drive_c/Program Files/Affinity/Photo 2/Photo.exe
Affinity Designer:
drive_c/Program Files/Affinity/Designer 2/Designer.exe
Affinity Publisher:
drive_c/Program Files/Affinity/Publisher 2/Publisher.exe
-
Click
Save. -
Press
Playto launch the app.
At this point, you may wish to create desktop and application shortcuts, install other Affinity apps, fix scaling issues for high resolution screens, or enable a dark theme for Wine. If any of these apply to you, keep reading:
After you install an Affinity app with Lutris, you may notice that application menu shortcuts for the Affinity app were created by Wine in your system. However, it is recommended to create desktop and application menu shortcuts for Affinity apps with Lutris instead to ensure the shortcuts will launch the apps as intended.
To remove application menu shortcuts created by Wine, visit the following directories, and remove shortcuts for Affinity apps:
/home/$USER/.local/share/applications/home/$USER/.config/menus/applications-merged
To create desktop and application menu shortcuts for Affinity apps with Lutris, follow these steps:
- Launch Lutris.
- Right click an Affinity app you have installed, then select
Create desktop shortcut. - Right click an Affinity app you have installed, then select
Create application menu shortcut.
After installing one Affinity app using the steps above, you can install the others to the same Wine prefix as follows:
- Select an existing Affinity app in Lutris.
- Open the
^Wine menu at the bottom of the Lutris window, then clickRun EXE inside Wine prefix. - Run the installer for another Affinity app.
- Right click the Affinity app you have installed first and select
Duplicatefrom the menu. - Right click the duplicated Affinity app and select
Configurefrom the menu. - Edit the
NameandIdentifierfields under theGame Infotab. - Set the correct
.exeunder theGame Optionstab.
To adjust the scaling of Affinity apps' UI on high resolution monitors, follow these steps:
- Launch Lutris.
- Select one of the Affinity apps you have installed.
- Open the
^Wine menu at the bottom of the Lutris window, and selectWine configuration. - Go to the
Graphicstab. - Under the
Screen resolutionsection, increase thedpivalue until the sample text appears large enough.
Note that these Wine configuration settings will apply to all Affinity apps you installed with Lutris, since they share the same Wine prefix.
To enable the dark theme for Wine, follow these steps:
- Visit the repository's
wine-dark-theme.regfile page to download the.regfile by clicking the download button on the top right just like we did for the.yamlfile earlier. - Save the file to your Downloads folder.
- Launch your terminal app, then type
cd Downloadsto change to your Downloads folder. - Run the following command:
wine regedit wine-dark-theme.reg
- Press
Enter. You might get a message again saying "Wine could not find a wine-mono package...". Just clickInstall.
If you also want to enable dark theme for the Wine fork for your installed Affinity apps on Lutris:
- Launch Lutris, then right click on any Affinity app and select
Configurefrom the menu. - Under the
Game optionstab, copy the file path from theWine prefixfield - Run the following command, and replace
/path/to/wineprefixwith the file path you just copied:WINEPREFIX="/path/to/wineprefix" wine regedit wine-dark-theme.reg
