Integration of Processing into Ubuntu

I’ve been having these exact problems on Ubuntu. As a beginner Linux user and a long time Processing user, it’s really frustrating to have these issues, which make Processing pretty much unusable for me on Linux. I tried switching to the classic confinement and it didn’t stop the constant error messages. Maybe once I’m a bit more familiar with Linux I’ll try to find a workaround.