Hello,
after upgrading Ubuntu to 22.04 LTS, my app closes on startup with this error :
GtkPlug only works under X11
This post suggests to set export GDK_BACKEND=x11 before running the app, but I can’t ask my users to do that.
Running the Projucer and various JUCE examples using OpenGL is just working fine, I checked if there are any special flags or settings but I couldn’t find anything that would differ from my project’s Projucer configuration…
Not sure what I’m missing here but if you got an idea, I’m all ears !
Thank you
My app needs it yes, and I guess this should not be ok that this feature is not available anymore on Linux right ?
Also, I checked and the examples are having it enabled as well. They may not use it in the code though, but the macro is enabled
… but this was a GREAT advice though
Jus tried the WebbrowserDemo from the examples and I get the same error, so this is definitely a problem from there, and maybe there should be something to do on the JUCE side… .?
What should work ?
Yes it is on Wayland o guess, but the weird thing is that setting GDK_BACKEND to Wayland didn’t make the program crash again, I can’t get it to a crashing state anymore…
yes yes that we agree on
Now the question is :
Ubuntu 22.04 now ships gnome by default and JUCE apps using WebBrowser are not working anymore.
What to do with that ?
Sadly, I haven’t idea, and I haven’t Wayland (mostly of such reason) to play with.
And I’m afraid it may be a huge PITA, when the user has Wayland and mixed Wayland/X11 DAW+plugins.
Just for curious, does any (demo) plugin (compiled without web part) works inside the Wayland session?