emacs-eaf / emacs-eaf/emacs-application-framework

Add support for KDE Wayland Navtive

Open
#1,172 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.5k
Forks
245
Avg merge
22h 20m
Merged PRs (30d)
1

Description

**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)`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.