atlus/backend
roberts 36eff81111 Add bidirectional clipboard sync between Xvfb and browser
X11 → Browser:
- Background task polls xclip every 500ms for clipboard changes
- When content changes, sends {"type":"clipboard","data":"..."} via WS
- Browser receives and writes to navigator.clipboard

Browser → X11:
- Ctrl+V reads navigator.clipboard.readText() first
- Sends clipboard content to backend via WS message
- Backend writes to X11 clipboard via xclip -selection clipboard
- Then forwards the Ctrl+V keystroke so the app pastes

This allows copying links/text from GUI apps (like Nextcloud auth URLs)
and pasting content from the host browser into the GUI app.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 01:26:42 -05:00
..
routers Add bidirectional clipboard sync between Xvfb and browser 2026-03-15 01:26:42 -05:00
ws Initial commit — Atlus web desktop environment for SBCs 2026-03-14 16:53:46 -05:00
__init__.py Initial commit — Atlus web desktop environment for SBCs 2026-03-14 16:53:46 -05:00
auth.py Initial commit — Atlus web desktop environment for SBCs 2026-03-14 16:53:46 -05:00
config.py Run terminals and GUI apps as the authenticated user, not root 2026-03-15 00:35:52 -05:00
display.py Add bidirectional clipboard sync between Xvfb and browser 2026-03-15 01:26:42 -05:00
main.py Disable browser caching for all static assets 2026-03-15 00:54:59 -05:00
netwatch.py Add ethernet link watchdog and prevent disabling last active interface 2026-03-15 00:12:00 -05:00
privdrop.py Run terminals and GUI apps as the authenticated user, not root 2026-03-15 00:35:52 -05:00
requirements.txt Fix robustness issues across backend and frontend 2026-03-14 17:41:43 -05:00
sessions.py Run terminals and GUI apps as the authenticated user, not root 2026-03-15 00:35:52 -05:00