fl-studio-integrator-linux
fl-studio-integrator-linux copied to clipboard
Integrate FL Studio with your (Linux) system | + tips and possible performance improvements
FL Studio Integrator
Integrate FL Studio with your Linux system.
So what does it do?
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!
How to install
Arch - the AUR.
Different distros:
Home
-
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): ~/.bashrc / ~/.zshrc / ~/.config/fish/config.fish.
Root
Download snapshotfrom the AUR and the icon (as fl-studio.png).- Make
fl-studio-integrator,-elm, and-regexecutable and edit theWINEPREFIXpath in them. - Place the files like in the PKGBUILD (lines 32-39,
/usr/..). sudo update-mime-database /usr/share/mime(for file associations).
Tips
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-ge-custom, wine-lutris or wine-tkg (although this one has to be built with the patch, but there's an unofficially pre-built version on Copr).
DXVK/VKD3D
Winetricks
In the terminal:
cd /path/to/prefix -> winetricks dxvk vkd3d.
To update, add the -f (force) flag.
Or with the GUI:
cd /path/to/prefix (in the terminal) -> winetricks -> 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."
Low latency
PIPEWIRE_QUANTUM, which is already included in the scripts.
Virtual desktop
wine explorer /desktop=FLStudio,RESOLxUTION, for example, 1920x1080.
Wine Breeze Dark theme
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 in Address and Port - Apply - OK
Possible performance improvements
GameMode
gamemoderun wine
- Renice
Adjusting the nice value/priority of processes in /etc/gamemode.ini, for example, to 7 (High).
fsync
export WINEESYNC=0 WINEFSYNC=1
NVIDIA
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.