Further improvements to systemd startup
This is a collection of things we might want to improve about the systemd units. Please modify the description of the bug to add issues/ideas that we might want to implement:
- Add a separate target to select for a normal "user" session and "special" (e.g. "greeter" session)
- i.e. probably add
gnome-session-base.target
for g-s-d and then not startgnome-session.target
for thegnome-login
(greeter) orgnome-initial-setup
sessions. See gnome-initial-setup!59 (merged)
- i.e. probably add
- Set
TimeoutStopSec
everywhere (mostly g-s-d to be fair; see gnome-shell!699 (merged)) - Unset environment variables on systemd at session shutdown time (see #32 and !24 (closed))
- Spawn applications in transient units (code can likely be stolen from DBus)
- Also affects other components; primarily
gnome-shell
andgsd-media-keys
- Can we do this in
g_app_info_launch
?
- Also affects other components; primarily
- Get rid of
$GNOME_SHELL_SESSION_MODE
magic if possible
Edited by Benjamin Berg