Currently my main laptop is in for repairs and I'm using an older machine running Ubuntu 20.04 for all daily computing tasks, naturally this includes HISE.
Unfortunately, HISE does not seem to be well optimized for this OS. Projects take forever to load, menu's are sluggish and everything is generally pokey. Here's a boring video of what that's like.
Running the Windows version via WINE improves things significantly (with a few caveats) Here's an equally boring, but mercifully quick video showing the difference.
Since there are a few steps involved to get things working, here's how I did it:
There are many ways to get up and running with WINE, I chose to use Bottles 'cos it provides a nice UI with lots of options.
- The first thing we need to do is install the Flatpak package manager:
sudo apt install flatpak
- Then add the flathub repository:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- Now we are ready to install Bottles:
sudo flatpak install flathub com.usebottles.bottles
-
Restart your computer
-
Allow bottles to access files outside the WINE directory:
flatpak override --user --filesystem=host com.usebottles.bottles
-
Open Bottles from the Applications browser
-
Click on Create New Bottle
-
Give your bottle a name & hit create
-
Select Run Executable
-
Change "Supported Executable" to “All Files” & then navigate to the HISE installer (I used the 4.0 installer found here
-
Complete the installation as normal
-
Once installation has finished, Click on Add Shortcuts..and navigate to the HISE app. This should be located at ~/.var/app/com.usebottles.bottles/data/bottles/bottles/HISE_126/drive_c/Program Files. If the EXE file doesn't appear, again change "Supported Executable" to “All Files”
By default, HISE's menu system will not work. To fix this we need to tell WINE to display it in a virtual desktop.
-
Click on Settings and then Advanced Display Settings
-
Enable Virtual Desktop and enter an appropriate resolution for your display
-
Start HISE by pressing the play button from the Bottles Programs section
It should go without saying that certain things will not work when using HISE with WINE. Most importantly, any attempt to export your project will fail. For this you will need to revert to the Linux native app, consider using the command line tool to speed things up here.