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 !
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… .?