--x11 shows the desktop on the X server in $DISPLAY: a resizable window under a window manager (--fullscreen asks it for fullscreen), or the whole screen when no window manager runs, following xrandr resizes. compositor/x11 is a pure X11 wire-protocol client (no libX11/xcb), so it runs in the wasm compositor on both hosts and in the native build. Frames go through MIT-SHM 1.2 (ShmAttachFd of the host frame memfd, paced by ShmCompletion), with a core PutImage fallback. The keymap given to clients is the X server's own (xkbcomp -xkb $DISPLAY -); X auto-repeat is dropped, modifier/lock state comes from X's modifier map; MIT-MAGIC-COOKIE-1 auth. chandra-session --x11 (and the new "Chandra (X11)" xsessions entry) runs it as the login session; --login-session gives an X11 session what --drm implied (power actions, polkit agent, system theme). just run-x11. Docs: docs/x11.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hhLFs4VtHV26G1iyeo
This commit is contained in:
14 files changed
+1777
-19
No files matched your search
@@ -30,6 +30,7 @@ Installs:
|
||||
/usr/local/share/chandra/{config,wit,assets}/ files the compositor reads at runtime
|
||||
/usr/local/share/chandra/modules/*.wasm the panel's wasm modules (build them first: just modules)
|
||||
/usr/share/wayland-sessions/chandra.desktop display-manager entry
|
||||
/usr/share/xsessions/chandra-x11.desktop display-manager entry on Xorg (NVIDIA; docs/x11.md)
|
||||
/usr/share/xdg-desktop-portal/portals/chandra.portal xdg-desktop-portal backend: the compositor
|
||||
/usr/share/xdg-desktop-portal/chandra-portals.conf serves Settings (apps' dark/light preference)
|
||||
"""
|
||||
@@ -56,6 +57,7 @@ targets = [
|
||||
"/usr/local/share/color-schemes/ChandraDark.colors",
|
||||
"/usr/local/share/color-schemes/ChandraLight.colors",
|
||||
"/usr/share/wayland-sessions/chandra.desktop",
|
||||
"/usr/share/xsessions/chandra-x11.desktop",
|
||||
"/usr/share/xdg-desktop-portal/portals/chandra.portal",
|
||||
"/usr/share/xdg-desktop-portal/chandra-portals.conf",
|
||||
]
|
||||
@@ -144,6 +146,8 @@ for f in ("ChandraDark.colors", "ChandraLight.colors"):
|
||||
put(os.path.join(root, "session/color-schemes", f), "/usr/local/share/color-schemes/" + f, 0o644)
|
||||
# The display-manager entry stays a real file: some managers don't follow symlinks there.
|
||||
put(os.path.join(root, "session/chandra.desktop"), "/usr/share/wayland-sessions/chandra.desktop", 0o644)
|
||||
# The same desktop on an X server (the display manager starts Xorg): for NVIDIA's proprietary driver.
|
||||
put(os.path.join(root, "session/chandra-x11.desktop"), "/usr/share/xsessions/chandra-x11.desktop", 0o644)
|
||||
# xdg-desktop-portal reads backends only from /usr/share (or $XDG_DESKTOP_PORTAL_DIR), not
|
||||
# /usr/local. With XDG_CURRENT_DESKTOP=chandra and no chandra-portals.conf it offered apps no
|
||||
# Settings portal at all, so Chrome, Firefox, GTK 4 and Qt 6 never saw the Dark mode switch; the
|
||||
|
||||
Reference in new issue
Block a user