citadel/meta-citadel/recipes-citadel/citadel-config/files/systemd/x11-session-switcher.service

18 lines
449 B
SYSTEMD
Raw Normal View History

[Unit]
Description=X11 Session Switcher
After=accounts-daemon.service
Wants=accounts-daemon.service
ConditionKernelCommandLine=|citadel.x11
[Service]
Type=oneshot
RemainAfterExit=no
ExecStartPre=-/usr/bin/plymouth message --text="Setting session to Gnome X11"
ExecStart=/usr/bin/busctl call org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.Accounts.User SetXSession s "gnome-xorg"
[Install]
WantedBy=graphical.target