To avoid Emacs installed through AppCenter crashing on opening, solution was actually explained here.

But AppCenter only offers Emacs25 so I installed Emacs27 through Flathub (built in AppCenter)... except now the solution offered in the post mentioned above doesn't work anymore (different file paths etc.).

Any help? I think this could be as simple as copying XLIB_SKIP_ARGB_VISUALS=1 somewhere else, but I wasn't able to understand where :(


1 Answer 1


You can run it with env XLIB_SKIP_ARGB_VISUALS=1 flatpak run org.gnu.emacs.

I used AppEditor to make a new menu entry.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.