manateelazycat / manateelazycat/key-echo

can't work

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Emacs Lisp
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Description

manjaro wayland emacs29.4

Exception in thread Thread-3 (listen_key_event):
Traceback (most recent call last):
File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
self.run()
File "/usr/lib/python3.12/threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "/usr/share/emacs/lazycat/extensions/key-echo/key_echo.py", line 104, in listen_key_event
self.uinput = device.create_uinput_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/libevdev/device.py", line 764, in create_uinput_device
d._uinput = UinputDevice(self._libevdev, uinput_fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/libevdev/_clib.py", line 964, in __init__
raise OSError(-rc, os.strerror(-rc))
PermissionError: [Errno 13] Permission denied

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with /usr/share/emacs/lazycat/extensions/key-echo/key_echo.py at listen_key_event, then inspect libevdev's create_uinput_device call and the reported PermissionError. Reproduce on Manjaro with Wayland and Emacs 29.4; done should mean key-echo can listen for key events without this permission failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, linux, python
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.