Skip to content

Problem with emacs-wayland or emacs-pgkt build enabled with pure-gtk support #1148

Open

Description

@osvarcha

Hello EAF maintainers, first of all I want to thank you for the great project of increasing the possibilities of emacs and its incredible extensions.

The problem I want to report is about the problems that arise when running EAF as well as PopWeb sister project as soon as pgtk is enabled in the build adding a new rendering engine to Emacs replacing the legacy X11 implementation by using only the GTK API , which brings native wayland support to Emacs.

Well, installing these packages as in the case of ArchLinux emacs-wayland , EAF does not render both the PDF reader and the Browser in the buffer, in the case of PopWeb it does manage to display a flashing image and it constantly crashes, sometimes throwing the following message in minibuffer:
dbus-call-method: D-Bus error: "org.freedesktop.DBus.Error.UnknownMethod"

Maybe I'm not very technical about the problem, this is solved in a trivial way like installing emacs or emacs-nativcomp emacs programs without enabling pgtk in the build.

But perhaps it is good to inform you because it is already known that support for x11 will not last long and Wayland is the Present and future, capable of the new emacs packages coming with pgtk enabled by default.

Greetings and hugs to all of you, I hope to see you contributed something.

Activity

  1. manateelazycat commented on Apr 3, 2024

    @manateelazycat
    Member

    Wayland don't let developer use tech like XReparent, and EAF depend smiliar tech.

  2. MatthewZMD commented on Apr 4, 2024

    @MatthewZMD
    Member

    We had discussions in 2022 regarding pgtk #449

  3. thyeun commented on Nov 11, 2024

    @thyeun

    Sorry i'm new to this, but some how i make it run under emacs-wayland, but an example issue that i facing now is, if i tryeaf-open-browser, it will always open outside of emacs.

    It that related with this?

    Will it possible to configure it like (minibuffer, only) for emacs-wayland?

  4. dingtele commented on Nov 16, 2024

    @dingtele

    hello @manateelazycat ! thanks for your work i have tried with installing the gnome-shell extension you provid but it is disabled on the menu saying that it is incompatible with my gnome version 46.6, could that .js file be improved somewhere? 🤔

  5. ckonstanski commented on Mar 25, 2026

    @ckonstanski

    To get the gnome-shell extension working in newer version of Gnome you can manually edit the metadata.json file. I set mine to 48.7 (and fixed the spelling of the extension name) and it worked. I suppose this will continue to work until the javascript file becomes incompatible with newer Gnome versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions