I came across an issue using Emacs when switching to a wayland compositor (hyprland).
The fonts don’t look right as you can see at the screenshot below, but zooming in makes it better.
My current emacs build is using LUCID no PGTK.
I’m thinking of building another Emacs build with PGTK support that runs natively on Wayland without Xwayland. However i’d like to install them both.
As i use Lucid version on XMonad most the time, but still when i switching to wayland i could still have a better font.
u
You can build two different binaries then manage /usr/bin/emacs as a symlink to your actual binaries.
Gentoo does a similar thing with “eselect emacs”. I think eselect is written in bash so you could easily bend it to your needs
Also gnu store maybe does what you want
Yeah that’s a Gentoo specific, compatibility issues. Also It only works for different versions of emacs im installing 29 version twice different features.