DRM/KMS + libinput backend and a Moon Plasma login session

compositor/kms: libseat (device access, VT switching), DRM dumb buffers with page
flips and a hardware cursor, libinput keyboard/pointer, xkbcommon keymap and
modifiers. --drm runs the compositor on the real display at the monitor's native
mode. session/ holds the display-manager entry, launcher script and installer
(just install-session). Untested on hardware: refuses to start inside another
session.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-24 20:59:54 -08:00
1 parent 7a37039673
commit b2557aca52
9 files changed
+829 -2

No files matched your search

+13
View File
@@ -44,6 +44,19 @@ run-headless: build
rm -f {{socket}}
{{exe}} --socket {{socket}} --theme {{theme}}
# Run the compositor on the real display (DRM/KMS + libinput). Run from a login VT (Ctrl+Alt+F3), not inside another session. Ctrl+Alt+Backspace quits, Ctrl+Alt+F<n> switches VT.
run-drm: build-release
rm -f {{socket}}
{{release_exe}} --drm --socket {{socket}} --theme {{theme}}
# Install the Moon Plasma login session (display-manager entry); asks for root once.
install-session: build-release
run0 python3 session/install.py
# Remove the login session again.
uninstall-session:
run0 python3 session/install.py --remove
# Start a Wayland client inside the running compositor (default: foot).
client *cmd="foot":
WAYLAND_DISPLAY={{socket}} {{cmd}}