Im not much of a linux expert.
i installed the flatpak version from flathub. and it wont load,
it says:
Sorry, the Audio Server failed to start…
Please try changing your default OS audio input & outputs.
Advanced Users - you may manually override this and further configure how SuperCollider boots by editing the file: /home/octaviu5/.sonic-pi/config/audio-settings.toml
i tried editing the file in the following fashion:
Depending on your Ubuntu version the Flathub version does not work, I did not look further into it as I did not have the time but it looks like on some versions of Ubuntu the flatpak does not have rights to audio, as flatpaks are sandboxed, and there is no obvious way to allow this.
Unfortunately the only thing I found that does work is installing the (snap?) version from the Ubuntu repository by executing sudo apt install sonic-pi. This will install Jack, QJqckCtl and Sonic Pi. Start the Jack audio server first by hitting the play button QJackCtl and then launch Sonic Pi. This is a rather outdated version of Sonic Pi and I think the tutorial is missing but at least it works.
Actually it’s not the only thing that works, it’s possible to compile Sonic Pi yourself, I’ve done this a lot on Linux although it’s been a while, but if you are not familiar with this I would advice against it as I had to modify some scripts to even get it to work.
If I ever find the time I’ll document how to get it working, at least for Ubuntu and Arch but for now I’m jumping from system to system on different versions so at the moment I’m just glad there is sound coming out of the speakers and I can do my thing.