Commit Graph
9 Commits
Author SHA1 Message Date
BlackAngelTV b48ae70c24 feat(session): verify switches and recover when the greeter stays away
logind accepts loginctl activate and SwitchToGreeter before the graphics
stack moves the seat, and SDDM 0.21 answers SwitchToGreeter with a greeter
whose logins never start a session. Each request is now confirmed within a
timeout and the previous session is reactivated on failure, so no path can
leave a blank VT. When nothing answers, both front-ends offer to restart
display-manager.service through polkit, and only after that is the session
terminated.
2026-11-04 15:42:22 +01:00
BlackAngelTV f7789cd639 feat(session): read session state and greeter entries from logind
Switching needs to know whether a session owns the seat, is closing, or is
the greeter, and which session file the greeter will list for a desktop.
The catalog now keeps the logind State, exposes targeted lookups, and prefers
the active session so a closing one is never activated. Session ids are
compared numerically without std::stoi.
2026-11-04 15:42:22 +01:00
BlackAngelTV 265d0f4648 fix(process): report a failed exec as an unstarted command
A missing binary used to be indistinguishable from a program exiting with
127, so callers treated a command that never ran as a started process. A
close-on-exec pipe now carries the errno back to the parent and the failure
reaches the caller as output.
2026-11-04 15:42:22 +01:00
BlackAngelTV 73ac362ae8 docs: document the graphical desktop manager
Describe the new GTK4 window, its install and switch actions, and the
polkit prompt required by pacman.
2026-11-04 13:16:44 +01:00
BlackAngelTV b22ac8ab37 feat(gui): manage desktop environments from a gtk window
Offer a single window to install and switch between XFCE, GNOME, Plasma,
Hyprland and i3. Installation goes through pkexec and pacman, switching
uses logind sessions, so neither action requires a reboot.
2026-11-04 13:16:44 +01:00
BlackAngelTV 7187396be3 docs: add repository agent instructions
Document the commit, naming and code conventions used across FWS
repositories so contributions stay consistent.
2026-11-04 13:07:51 +01:00
BlackAngelTV ee1dd25d8e docs: document arch linux session switching
Explain how logind sessions map to virtual terminals, how to open a second
session, and the limitations around Wayland and inactive sessions.
2026-11-04 13:06:26 +01:00
BlackAngelTV 75c7c5c0ad feat(session): switch desktop environments through logind sessions
Activate the target graphical session instead of rebooting, so a KDE or
GNOME session stays alive while another one is used. Switching relies on
logind VT activation, which needs no root privileges and never restarts
the display manager.
2026-11-04 13:06:26 +01:00
BlackAngelTV e8c44c6c86 Initial commit 2026-08-27 14:51:12 +00:00