[!NOTE] This is possible thanks to:
Note
WINE requires Xorg (Window System Display Server), if you use Wayland you need the XWayland bridge.
- Create a folder to group content on the directory .
- Download ".exe" apps from here Designer, Photo, Publisher and copy under the directory "$HOME/WINE/apps".
- Copy WinMetadata directory from Windows 10/11 "C:\windows\system32\WinMetadata" to the directory "$HOME/WINE".
You should have these folders and files under `$HOME/WINE`:
╭─YOUR-USERNAME@SYS in ~/WINE
╰─λ tree
.
├── apps
│ ├── affinity-designer-msi-2.5.3.exe
│ ├── affinity-photo-msi-2.5.3.exe
│ └── affinity-publisher-msi-2.5.3.exe
└── WinMetadata
├── Windows.AI.winmd
├── Windows.ApplicationModel.winmd
├── Windows.Data.winmd
├── Windows.Devices.winmd
├── Windows.Foundation.winmd
├── Windows.Gaming.winmd
├── Windows.Globalization.winmd
├── Windows.Graphics.winmd
├── Windows.Management.Setup.winmd
├── Windows.Management.winmd
├── Windows.Media.winmd
├── Windows.Networking.winmd
├── Windows.Perception.winmd
├── Windows.Security.winmd
├── Windows.Services.winmd
├── Windows.Storage.winmd
├── Windows.System.winmd
├── Windows.UI.winmd
├── Windows.UI.Xaml.winmd
└── Windows.Web.winmd
Warning
Review the bash script and execute at your own risk
1. WINE with rum (recommended)
- For Arch, Debian, Fedora or OpenSUSE download and execute the script
affinity-wine-rum.sh
running
sh ./scripts/affinity-wine-rum.sh
.
2. Use WINE with Bottles (not working)
-
Option A. Do it manually, via scripts CLI.
- Compile manually ElementalWarior WINE:
git clone https://gitlab.winehq.org/ElementalWarrior/wine.git "$HOME/WINE/ElementalWarrior-wine" cd $HOME/WINE/ElementalWarrior-wine git switch affinity-photo3-wine9.13-part3 mkdir -p winewow64-build/ wine-install/ cd winewow64-build ../configure --prefix="$HOME/WINE/ElementalWarrior-wine/wine-install" --enable-archs=i386,x86_64 make --jobs 4 make install
- Install Bottles from FlatHub as
flatpak install flathub com.usebottles.bottles
. - Add the compiled Wine build as a runner in Bottles to this directory.
mkdir -p "$HOME/.var/app/com.usebottles.bottles/data/bottles/runners/affinity-photo3-wine9.13-part3" cp -r "$HOME/WINE/ElementalWarrior-wine/wine-install" "$HOME/.var/app/com.usebottles.bottles/data/bottles/runners/affinity-photo3-wine9.13-part3/"
- Open "Bottles" and create a bottle using the
affinity-photo3-wine9.13-part3
runner. - Install winetricks with your package manager and add "dotnet48" running
WINEPREFIX="$HOME/.var/app/com.usebottles.bottles/data/bottles/bottles/[bottle-name]" winetricks dotnet48
. - Install allfonts dependency from Bottles.
- Set the "Windows Version" back to win10.
-
Option B. Execute the script affinity-wine-bottles.sh running
sh ./scripts/affinity-wine-bottles.sh
The desktop shortcut only works for rum
- Create desktop shortcuts to launch the apps from your desktop environment and modify the icon and app path to your case. Here are the three Affinity shortcut apps: