2019-04-19 18:21:55 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Disable GNOME Shell extensions after failure
|
2019-11-25 09:15:01 -05:00
|
|
|
# Note that this unit must not conflict with anything, and must
|
|
|
|
# be able to run in parallel with the gnome-session-shutdown.target.
|
2019-04-19 18:21:55 -04:00
|
|
|
DefaultDependencies=no
|
|
|
|
|
2019-11-25 09:15:01 -05:00
|
|
|
# We want to disable extensions only if gnome-shell has flagged the extensions
|
|
|
|
# to be a likely cause of trouble.
|
|
|
|
ConditionPathExists=%t/gnome-shell-disable-extensions
|
2019-04-19 18:21:55 -04:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
# Disable extensions
|
|
|
|
ExecStart=gsettings set org.gnome.shell disable-user-extensions true
|
|
|
|
Restart=no
|