1

I am compiling Emacs 27.1 on a RHEL8 Linux box. This RHEL system is a remote system I log in from my Windows machine using MobaXterm (Personal Edition V12.1) on the Windows machine as X server.

On this new-ish RHEL system GTk2 and GTK3 is installed. On other Unix machines with older OSes I use GTK2 for Emacs. Is it better to use GTK3 which is available to me on the RHEL8 system?

4
  • I suspect that it is "better" in some sense to use GTK3, but I don't know for sure. What I do know is that I build Emacs (on Fedora 33 and 34) with GTK3 and I have not had any problems. I suspect that the GTK2 library is made available for older applications that have not made the switch yet. See docs.gtk.org/gtk3/migrating-2to3.html
    – NickD
    Sep 8 '21 at 1:57
  • Are those the only two options you're considering? --with-x-toolkit=lucid is very dependable in my experience.
    – phils
    Sep 8 '21 at 11:16
  • @phils I’m open to other toolkis, but what packages do I have to yum-install beforehand for lucid?
    – halloleo
    Sep 8 '21 at 12:45
  • For Debianesque distros I think it's just libxaw7-dev so see if yum has one of those?
    – phils
    Sep 8 '21 at 12:55
0

Just as a follow-up:

I did install Emacs on the RHEL8 system with GTK3 - and under MobaXterm as X server it does not look as "normal" as the GTK2 build from another machine (the scrollbars have strangely thin handles).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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