
In general we want to move towards using reverse domain names for systemd units. Doing this also means we have a consistent name between desktop file and systemd unit, allowing us to create a generator that pulls in the unit as defined in the sessions RequiredComponents. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895
16 lines
513 B
Desktop File
16 lines
513 B
Desktop File
[Unit]
|
|
Description=Disable GNOME Shell extensions after failure
|
|
# Note that this unit must not conflict with anything, and must
|
|
# be able to run in parallel with the gnome-session-shutdown.target.
|
|
DefaultDependencies=no
|
|
|
|
# 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
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Disable extensions
|
|
ExecStart=gsettings set org.gnome.shell disable-user-extensions true
|
|
Restart=no
|