Skip to content

Add support for KDE Wayland Navtive #1172

@Thysrael

Description

@Thysrael

Is your feature request related to a problem? Please describe.

EAF can't run on KDE Wayland native. Running in XWayland a workaround, but I do hope it can run natively.

Describe the solution you'd like

From the issue #1083 , I have realized that this request could be solved by complementing the eaf--topmost-switch-to-python in eaf.el.

Describe alternatives you've considered

I write a code to process the KDE condition:

(if (executable-find "kdotool") ; Check for kdotool first
    (string-trim (shell-command-to-string "kdotool getactivewindow getwindowclassname"))
  (message "Please install kdotool for KDE support.")
  ))

However it won't work and I don't why.

the command can return the right answers like "emacs", chrome.

Additional context

When I open a pdf file, nothing shows in the buffer and no logs in the *epc* buffer.

My emacs version is GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4).

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