Accessing serial ports

Does anything special need to be done for an AppImage to access serial or com ports? A little discussion about that on this Reddit comment thread.

I don’t think so: a bare AppImage has no containerization nor sandboxing, so it’ll be able to access any resources in your system, permissions willing.

For instance, as long as the user running the AppImage has permissions to read and write to /dev/ttyS0 (for instance by being a member of the group dialout), the AppImage will be able to use that serial port.

If Docker or Firejail are thrown in the mix, then that probably changes, but then that battle has nothing to do with the AppImage itself, but with the Docker container or the Firejail sandbox.

1 Like

That makes sense! Thank you @RazZziel