The only reason that Xsunaba is currently listed as "for OpenBSD" is that I converted Milosz's original script from using sudo to doas. It should be easy to support either sudo or doas, but I don't currently have a Linux environment running X11 to test this in.
I'm not sure why the original script was using sudo su - $SANDBOX_USER instead of sudo -u $SANDBOX_USER. The latter syntax would be easier to switch between sudo and doas as doas also supports -u.
The only reason that Xsunaba is currently listed as "for OpenBSD" is that I converted Milosz's original script from using
sudotodoas. It should be easy to support eithersudoordoas, but I don't currently have a Linux environment running X11 to test this in.I'm not sure why the original script was using
sudo su - $SANDBOX_USERinstead ofsudo -u $SANDBOX_USER. The latter syntax would be easier to switch betweensudoanddoasasdoasalso supports-u.