How bluebeard63/whiterose works
WhiteRose is a Wayland desktop whose session workflow runs through the launcher into the compositor, shell and session daemon; users then interact with shell panels and apps, while the daemon serves settings and system capabilities. The compositor handles windows, layouts, input, rendering and Wayland integration. Files and Notepad provide separate user-facing workflows. README statements support the main process and capability links; source excerpts add detail for file search, file opening, compositor settings and layout behavior. Many listed subsystems were not sampled, so their internal call relationships are not asserted.
Main entry points: state.rs Window state · src/main.rs Files app · shell Desktop shell · src/main.rs Wayland compositor
Components 26
Desktop session
- Session launcher
daemon/cmd/whiterose-launch/main.go - Desktop shell
shell - Island and panels
shell - Settings UI
shell/settings
Compositor
- Wayland compositor
compositor/src/main.rs - Window state
compositor/src/state.rs - Window layouts
compositor/src/layout/mod.rs - Rendering
compositor/src/render.rs - Input and shortcuts
compositor/src/input.rs - Clipboard history
compositor/src/clipboard.rs - Clipboard capture
compositor/src/clipboard_capture.rs - Display settings
compositor/src/display_config.rs - Compositor IPC
compositor/src/ipc.rs
Session services
- Session daemon
daemon/cmd/whiterosed/main.go - Daemon socket server
daemon/internal/server/server.go - Settings store
daemon/internal/store
Desktop apps
- Files app
apps/files/src/main.rs - Places and drives
apps/files/src/places.rs - Indexed search
apps/files/src/search.rs - File operations
apps/files/src/ops.rs - Open applications
apps/files/src/launch.rs - Notepad editor
apps/notepad/src/main.rs - Document editing
apps/notepad/src/doc.rs - Editor session
apps/notepad/src/session.rs
Other components
- Desktop user
- System services
Connections 29
- Desktop user → Session launcher: starts session
README.md - Session launcher → Wayland compositor: launches
README.md - Wayland compositor → Desktop shell: IPC socket
README.md - Wayland compositor → Session daemon: starts daemon
README.md - Desktop shell → Session daemon: Unix socket
README.md - Desktop user → Desktop shell: uses desktop
README.md - Desktop shell → Island and panels: shows panels
README.md - Desktop shell → Settings UI: offers settings
README.md - Wayland compositor → Window state: runs state
- Window state → Window layouts: arranges windows
compositor/src/state.rs - Window state → Rendering: schedules frames
- Window state → Display settings: applies settings
compositor/src/state.rs - Window state → Input and shortcuts: handles input
- Window state → Compositor IPC: serves IPC
compositor/src/state.rs - Window state → Clipboard history: manages clipboard
compositor/src/state.rs - Clipboard capture → Clipboard history: captures selection
- Session daemon → Daemon socket server: serves clients
README.md - Daemon socket server → Settings store: reads settings
- Session daemon → System services: uses D-Bus
README.md - Desktop user → Files app: opens files
README.md - Files app → Places and drives: loads places
apps/files/src/main.rs - Files app → Indexed search: searches files
apps/files/src/main.rs - Files app → File operations: performs operations
apps/files/src/main.rs - Files app → Open applications: opens with apps
apps/files/src/main.rs - Indexed search → Open applications: opens results
apps/files/src/search.rs - Desktop user → Notepad editor: edits text
README.md - Notepad editor → Document editing: edits documents
apps/notepad/src/main.rs - Notepad editor → Editor session: persists session
apps/notepad/src/main.rs - Editor session → Document editing: writes scratch
apps/notepad/src/session.rs