Add a built-in on-screen keyboard for handset sessions
CI / test (push) Failing after 52s

- Opens for text-input-v3 fields, terminals, launcher search, Network password, emoji picker and the password dialog; a KB pill summons it manually.
- Enabled on CHASSIS=handset; CHANDRA_OSK=1|0 overrides, and it stays off under CHANDRA_TEST_CONFIG.
- Work area and panel popups shrink above the keyboard so focused content stays visible.
- Keys send evdev codes with Shift, Ctrl and Alt modifiers.
- chandra-ctl: `screenshot [PATH]` saves a PNG without opening the editor.
- Key names cover the full punctuation set and shifted symbols.
- Launcher plasmoid min width drops from 60 to 36.
This commit is contained in:
nandi committed 2026-11-28 00:18:32 -08:00
1 parent 1205329abd
commit 905dab8725
21 files changed
+1335 -68

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@
chandra-ctl kiosk [lock|unlock|status] kiosk mode (--kiosk, docs/kiosk.md)
chandra-ctl launch ID start desktop app ID (org.kde.kwi) as the dock does
chandra-ctl windows how Chandra sees each window, and what is under the pointer
chandra-ctl screenshot [PATH] save a full-screen PNG directly without opening the editor
chandra-ctl auth-demo [MODE] show the password dialog with a pretend check (password "demo");
MODE: password, face, face-ok, die, slow, users (docs/auth-dialog.md)
chandra-ctl auth-status the password dialog's agent: registered with polkit, or why not
@@ -24,7 +25,7 @@ import os
import socket
import sys
USAGE = "usage: chandra-ctl [--socket PATH] [--quiet] {reload [NAME] | list | ping | shortcut ID | kiosk [lock|unlock|status] | launch ID | windows | auth-demo [MODE] | auth-status | help}"
USAGE = "usage: chandra-ctl [--socket PATH] [--quiet] {reload [NAME] | list | ping | shortcut ID | kiosk [lock|unlock|status] | launch ID | windows | screenshot [PATH] | auth-demo [MODE] | auth-status | help}"
def runtime_dir():
+7
View File
@@ -193,6 +193,13 @@ export CHANDRA_SESSION_ERRORS="$session_errors"
if command -v gnome-keyring-daemon >/dev/null 2>&1; then
eval "$(gnome-keyring-daemon --start --components=secrets 2>>"$log")"
[ -n "$SSH_AUTH_SOCK" ] && export SSH_AUTH_SOCK
if command -v busctl >/dev/null 2>&1 &&
[ -f "$HOME/.local/share/keyrings/login.keyring" ] &&
grep -q '^\[keyring\]' "$HOME/.local/share/keyrings/login.keyring" 2>/dev/null; then
busctl --user call org.freedesktop.secrets /org/freedesktop/secrets \
org.freedesktop.Secret.Service Unlock ao 1 \
/org/freedesktop/secrets/aliases/default >/dev/null 2>&1 || true
fi
fi
# A logind session without a seat (made by run0 --user=..., su - or ssh rather than by logging in