mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-14 18:24:15 +00:00
The installer is a snap, and as such, the system needs to be seeded first to avoid a race during live boot. Fixes https://bugs.launchpad.net/ubuntu-desktop-provision/+bug/2114923
18 lines
633 B
Desktop File
18 lines
633 B
Desktop File
# start the installer on session start, restore normal session on close
|
|
|
|
[Unit]
|
|
Description=Ubuntu Desktop Installer
|
|
PartOf=graphical-session.target
|
|
After=graphical-session.target
|
|
# Make sure that the system was seeded to access the snap
|
|
After=snapd.seeded.service
|
|
|
|
# Never run in GDM
|
|
Conflicts=gnome-session@gnome-login.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/snap/bin/ubuntu-desktop-bootstrap --try-or-install
|
|
ExecStopPost=sh -c "gsettings set org.gnome.shell.extensions.dash-to-dock dock-fixed true; gsettings set org.gnome.shell.extensions.dash-to-dock intellihide true; gnome-extensions enable ding@rastersoft.com"
|
|
Restart=no
|