2019-04-11 13:27:22 +00:00
|
|
|
[Unit]
|
2020-07-08 14:42:25 +00:00
|
|
|
Description=X11 Session Switcher
|
2019-04-11 13:27:22 +00:00
|
|
|
After=accounts-daemon.service
|
|
|
|
Wants=accounts-daemon.service
|
|
|
|
|
2020-07-08 14:42:25 +00:00
|
|
|
ConditionKernelCommandLine=|citadel.x11
|
2019-04-14 15:57:19 +00:00
|
|
|
|
2019-04-11 13:27:22 +00:00
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=no
|
2019-04-14 15:57:19 +00:00
|
|
|
|
2020-07-08 14:42:25 +00:00
|
|
|
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"
|
2019-04-11 13:27:22 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=graphical.target
|
|
|
|
|