Integrate FL Studio with your Linux system.
+ tips and possible performance improvements.
It doesn't take care of installing FL Studio, but integrating it with the system:
-
Provides(/Installs) a shell script that runs the
.exewith Wine and a.desktopapplication shortcut (/and an icon); -
Associates the
.flpfiles and allows to open them (thanks defusq) from the file manager, desktop etc., or the terminal:fl-studio-integrator "/path/to/*.flp".
In version 1.0.4, two new integrations have been added for .exe, .lnk, .msi and .reg files! Making stuff such as updating (FL Studio, plugins), installing (plugins) or offline activating with a reg file easier.
Arch - the AUR.
Different distros:
Home (recommended)
-
Download
Source Code(from releases) and the icon (as fl-studio.png). -
Extract the file and move
.localto the home directory~. -
Go to
~/.local/share/applications, makefl-studio-integrator,-elm, and-regexecutable and edit theWINEPREFIXpath in them. -
Add
/home/ReplaceThisWithYourUSERname infl-studio-integrator.desktop,-elm, and-regtoExec=andIcon=(before/.local/..). -
Go to
~/.configand addapplication/flp=fl-studio-integrator.desktop;inmimeapps.list.
To open from the terminal create alias commands:
alias fl-studio-integrator='~/.local/share/applications/fl-studio-integrator'
alias fl-studio-integrator-elm='~/.local/share/applications/fl-studio-integrator-elm'
alias fl-studio-integrator-reg='~/.local/share/applications/fl-studio-integrator-reg'
in one of these files (depending on your shell - most likely bash): ~/.bashrc / ~/.zshrc / ~/.config/fish/config.fish.
Root
Plugin GUI glitches
- Running the plugin in a
Detachedmode; re-clickingCaptonizeorDetailed settingsbuttons; clicking on the plugin. export WINEDDLOVERRIDES="d2d1=disabled".- Installing DXVK and/or VKD3D (they can fix glitches in some, but also cause them in others, particularly DXVK).
- Wine versions with the Vulkan child window patch (more information), such as: wine-tkg, wine-ge-custom, wine-lutris.
DXVK/VKD3D
Winetricks (recommended)
In the terminal:
cd /path/to/prefix -> winetricks dxvk vkd3d
To update, add the -f (force) flag: winetricks -f dxvk vkd3d
Or with the GUI:
cd "/path/to/prefix" (in the terminal) -> winetricks --gui -> Selected the default wineprefix OK -> Install a Windows DLL.. OK -> dxvk vkd3d OK.
Manual
Symlink the prefix to ~/.wine.
Download DXVK and the install script -> ./setup_dxvk.sh install in the terminal.
Download VKD3D -> ./setup_dxvk.sh install in the terminal.
After installing you can delete the symlink.
To update, do the same steps; to uninstall, change install to uninstall."
Virtual desktop
wine explorer /desktop=FLStudio,RESOLxUTION, for example, 1920x1080.
Wine Breeze Dark theme
Link.To install, open the file with FL Studio REG (or fl-studio-integrator-reg in the terminal).
Disabling internet access in the prefix
Wine Control Panel (fl-studio-integrator-elm "/path/to/drive_c/windows/system32/control.exe" or go to the path and open it with FL Studio ELM) -> Internet Settings -> Connections -> Use a proxy server ✓ - Type something random in Address and Port - Apply - OK
How to use export enviroment variables?
Paste them into the fl-studio-integrator script (and optionally fl-studio-integrator-elm).
One per line.
GameMode
Addgamemoderun into the fl-studio-integrator script (and optionally fl-studio-integrator-elm) on the same line as wine (but before it): gamemoderun wine.
- Renice
Adjusting the nice value/priority of processes in /etc/gamemode.ini, for example, to 7 (High).
fsync
Needs a patched Wine version, such as: wine-tkg, wine-ge-custom, wine-lutris.export WINEESYNC=0 WINEFSYNC=1
NVIDIA
These might cause issues.export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=0 __VK_LAYER_NV_optimus="NVIDIA_only" VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/nvidia_icd.json"
__GLX_VENDOR_LIBRARY_NAME="nvidia", __NV_PRIME_RENDER_OFFLOAD=1 and prime-run (can) cause crashes.
DXVK/VKD3D might also help.