I need dotool but cannot compile it myself

Cannot get the necessary dependencies because of immutable file system (?)

Should I install the equivalent Fedora version and build things there, then transfer the built binaries and libraries to Bazzite? Is there a better solution?

I have successfully compiled it for Wayland under Debian in the past, but cannot get that build to run under Bazzite
Solution
Yeah that's pretty much how you'd do it. Create a Fedora distrobox container, build it there then use the bult binaries in Bazzite
Was this page helpful?