Experimental (KDE): typing via XDG Desktop Portal RemoteDesktop instead of ydotoold/uinput
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Shell
- スター
- 0
- フォーク
- 0
- 平均マージ
- 16分
- マージ済み PR(30日)
- 40
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
graygarbage/HermesKey のほかの issue
-
future consideration packaging
難易度 1/5 1〜3時間 初心者へのやさしさ 83/100
graygarbage/HermesKey#94 ·
メンテナーはふだん 1 日以内に返信
-
enhancement future consideration privacy
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
graygarbage/HermesKey#92 ·
メンテナーはふだん 1 日以内に返信
-
enhancement future consideration
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
graygarbage/HermesKey#89 ·
メンテナーはふだん 1 日以内に返信
-
documentation enhancement future consideration
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
graygarbage/HermesKey#95 ·
メンテナーはふだん 1 日以内に返信
-
future consideration packaging
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
graygarbage/HermesKey#93 ·
メンテナーはふだん 1 日以内に返信
graygarbage/HermesKey の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
ehmpathy/rhachet-roles-ehmpathy#1231 ·
メンテナーはふだん 1 日以内に返信
-
type:docs
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nightgauge/nightgauge#2836 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
lancachenet/lancache-dns#158 ·
-
TerminalManagerPathTests: don't rely on GNU coreutils accepting a foreign argv0 (fails with Ubuntu 26.04's uutils)対応中かも @odrobnik が今日担当しました。 オープンbug status::shipped
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Cocoanetics/SwiftACP#322 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100