See merge request !25
This has limited functionality because what we really need is support for wayland!183 as it would only work unsandboxed. But it provides a convenient abstraction point for implementing that as well once we have it.