Experimental (KDE): typing via XDG Desktop Portal RemoteDesktop instead of ydotoold/uinput
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by checking the existing ydotoold typing backend and how insertion starts and stops it. Then prototype KDE Plasma RemoteDesktop portal typing and compare minimum supported versions, Unicode behavior, latency, reliability, restore-token handling, and session lifetime with ydotool. Done means those questions are answered and the experimental results clarify whether the backend is viable; the issue names no files or tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary (experimental)
On KDE Plasma, HermesKey types via ydotoold, a session-long daemon with /dev/uinput access. Any process running as the user can send keystrokes through it into any window (terminals, password/polkit prompts), which bypasses Wayland's normal input isolation. This comes with ydotool's design, not a HermesKey bug, but it is the largest practical risk in the current architecture.
Experiment (KDE Plasma only)
Prototype a typing/paste backend using the XDG Desktop Portal RemoteDesktop interface via xdg-desktop-portal-kde:
- the user approves keyboard access once via the portal dialog; Plasma 6 can remember that approval (restore tokens);
- send keysyms/keycodes with
NotifyKeyboardKeysym/NotifyKeyboardKeycode, or evaluate the newer libei route (ConnectToEIS, Plasma 6.1+); - no
/dev/uinputaccess and no persistent socket other processes can use.
Questions to answer
- Minimum Plasma / xdg-desktop-portal-kde version needed.
- Is per-character keysym injection Unicode-safe? It could remove the clipboard requirement for non-ASCII text.
- Latency and reliability compared with ydotool; handling of restore tokens.
- Where the portal session lives (a small long-lived helper vs per-invocation).
Interim mitigation
Start ydotoold only for the duration of an insertion and stop it afterwards, shrinking the window in which other processes can use it.
Scope
KDE Plasma only. This is not a commitment to support other desktops. Status: experimental. May not ship; ydotool remains the default until the results are clear.
- Lenguaje dominante
- Shell
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 16 min
- PR fusionados (30 d)
- 40
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de graygarbage/HermesKey
-
future consideration packaging
Dificultad 1/5 1-3 horas Aptitud para principiantes 83/100
graygarbage/HermesKey#94 ·
Los mantenedores suelen responder en 1 día
-
enhancement future consideration privacy
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
graygarbage/HermesKey#92 ·
Los mantenedores suelen responder en 1 día
-
enhancement future consideration
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
graygarbage/HermesKey#89 ·
Los mantenedores suelen responder en 1 día
-
documentation enhancement future consideration
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
graygarbage/HermesKey#95 ·
Los mantenedores suelen responder en 1 día
-
future consideration packaging
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
graygarbage/HermesKey#93 ·
Los mantenedores suelen responder en 1 día
Todos los issues de graygarbage/HermesKey
Issues similares
-
severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
luainkernel/lunatik#2221 ·
Los mantenedores suelen responder en 1 día
-
priority middle
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
KATO-Hiro/AtCoderClans#12945 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
mattpocock/skills#1360 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Niko1221/Strata#4779 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
community-scripts/ProxmoxVE#18332 ·
Los mantenedores suelen responder en 1 día