7e00d22bfa
The existing units were never used as the corresponding support was never merged into gnome-session. This commits updates units to be usable with the newer gnome-session unit definitions. Also added is appropriate failure/restart logic including the ability to disable extensions. Note that extensions will only be disabled if a failure happens in the first two minutes after login. https://gitlab.gnome.org/GNOME/gnome-session/merge_requests/13 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/507
15 lines
416 B
Desktop File
15 lines
416 B
Desktop File
[Unit]
|
|
Description=Disable GNOME Shell extensions after failure
|
|
DefaultDependencies=no
|
|
|
|
# Only disable extensions for a short period of time after login.
|
|
# This means we err on the side of failing the first login after a broken
|
|
# extension was installed.
|
|
Requisite=gnome-session-stable.timer
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Disable extensions
|
|
ExecStart=gsettings set org.gnome.shell disable-user-extensions true
|
|
Restart=no
|