Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support LV2 UIs with uncommon GUI toolkits. #507

Open
wants to merge 1 commit into
base: oram
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions zyngine/zynthian_engine_jalv.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,17 @@ def __init__(self, eng_code, state_manager, dryrun=False, jackname=None):
logging.debug("CREATING JALV ENGINE => {}".format(self.jackname))

if self.config_remote_display() and self.native_gui:
if self.native_gui == "Qt5UI":
jalv_bin = "jalv.qt5"
elif self.native_gui == "Qt4UI":
# jalv_bin = "jalv.qt4"
jalv_bin = "jalv.gtk3"
else: # elif self.native_gui=="X11UI":
jalv_bin = "jalv.gtk3"
self.command = [jalv_bin, "--jack-name", self.jackname, self.plugin_url]
if self.native_gui == "UI":
self.command = ["jalv", "-s", "-n", self.jackname, self.plugin_url]
else:
if self.native_gui == "Qt5UI":
jalv_bin = "jalv.qt5"
elif self.native_gui == "Qt4UI":
# jalv_bin = "jalv.qt4"
jalv_bin = "jalv.gtk3"
else: # elif self.native_gui=="X11UI":
jalv_bin = "jalv.gtk3"
self.command = [jalv_bin, "--jack-name", self.jackname, self.plugin_url]
else:
self.command = ["jalv", "-n", self.jackname, self.plugin_url]
# Some plugins need a X11 display for running headless (QT5, QT6),
Expand Down