Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No keyboard input from emacs #1117

Open
BrunodaSilvaBelo opened this issue Oct 18, 2023 · 3 comments
Open

No keyboard input from emacs #1117

BrunodaSilvaBelo opened this issue Oct 18, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@BrunodaSilvaBelo
Copy link

BrunodaSilvaBelo commented Oct 18, 2023

Describe the bug
When i start any app with eaf (browser or pdf-viewer), for example, no keyboard input is read.

To Reproduce
I install using straight, this is my eaf config:

(use-package eaf
  :straight (eaf :type git :host github
                 :repo  "emacs-eaf/emacs-application-framework"
                 :files ("*.el" "*.py" "core" "app" "*.json")
                 :includes (eaf-markdown-previewer eaf-browser eaf-pdf-viewer)
                 :pre-build (("python" "install-eaf.py" "--install" "browser" "markdown-previewer" "pdf-viewer"))))

(use-package eaf-pdf-viewer
  :after eaf
  :hook
  (tex-mode . (lambda ()
                (add-to-list 'TeX-view-program-list '("eaf" eaf-pdf-synctex-forward-view))
                (add-to-list 'TeX-view-program-selection '(output-pdf "eaf"))))
  :config
  (eaf-bind-key scroll_up "C-n" eaf-pdf-viewer-keybinding)
  (eaf-bind-key scroll_down "C-p" eaf-pdf-viewer-keybinding))

(use-package eaf-markdown-previewer
  :after eaf)

Expected behavior
Emacs keybind working, but no keybind is possible to input.

Versions (please complete the following info):

  • Archlinux, I3 on VirtualBox:
  • GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-10-09:

Error logs
No logging

Additional context

manually setting this variable, eaf works as expected:

(setq eaf-wm-name "i3"
      eaf-is-member-of-focus-fix-wms t)

but something is going wrong 'cause the default eaf-wm-name was "" and eaf-is-member-of-focus-fix-wms was nil

@manateelazycat
Copy link
Member

If you don't use a virtual machine, will you have this problem with a physical machine?

@manateelazycat manateelazycat added the help wanted Extra attention is needed label Oct 22, 2023
@BrunodaSilvaBelo
Copy link
Author

Hi @manateelazycat, i tested on a Archlinux with a xfce4 de, and the same thing happens, no input and the eaf-wm-name is ""

@manateelazycat
Copy link
Member

You can set eaf-wm-name with Xfwm4 if you use xfce4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants