Table of ContentsSetting Up gtk2 Plugins (Calf, etc...)How to set up the Calf or other gtk2 plugins to run with Rosegarden. I've tested this with Ubuntu 24.04. Other distros will have different package names. Install the Calf Plugins$ apt install calf-plugins For Ubuntu I also needed to install the qt5-style-plugins: $ apt install qt5-style-plugins Building RosegardenIf your distro provides Rosegarden version 26.06 or later, you might be able to get away with using that. However, it is possible that your distro has not built Rosegarden properly and you will need to build it yourself. If you are building Rosegarden on your own, make sure the following are installed:
You should then be able to build rosegarden as usual and it will find everything it needs. See the README.md that comes with the source for many example cmake commands. Running RosegardenMake sure JACK is up and running or comes up when you launch rg. Without JACK running, most of the audio features are disabled and you will get nowhere. Launch Rosegarden and adjust the following preferences as needed:
If you needed to make any changes, restart rg. Confirm audio is ok by checking the bottom right corner of the Rosegarden window and looking for the green audio wave icon. Hover over it and it should say “audio OK”. Test the Calf plugins: Select an audio track, click on a <no plugin> button, select the Calf Compressor, press on the Editor button. You might see a warning dialog mentioning how using gtk2 plugins is fraught with peril. You can dismiss. Library Not FoundYou might see another warning dialog: “The rosegarden gtk2 library (librosegardenGtk2.so) has not been found.” To fix this, you'll need to tell rosegarden where to find it by setting LD_LIBRARY_PATH. E.g. if you are running your own build from the build directory, this should fix the problem: $ LD_LIBRARY_PATH=./ ./rosegarden And that should do it. Environment VariablesFixing problems related to gtk2 plugins oftentimes boils down to an exercise in adjusting environment variables. The preference “Setup LV2 Environment” defines the following:
XDG_CURRENT_DESKTOP is another variable that can help at times. See [this post on the bug tracker](https://sourceforge.net/p/rosegarden/bugs/1749/#190b).
AlternativesThe lv2-gtk-ui-bridge from FalkTX is a special LV2 bundle that allows you to use legacy LV2 Gtk2/3 UIs as LV2 X11 UIs. I've not tried it. |