data: Add systemd service file for extension disabled warning
Show the extension preferences UI right after login if the last session failed and extensions have been disabled because of this. This adds the files for the systemd session case. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/695
This commit is contained in:
parent
9a49b20fac
commit
098114f4c8
13
data/gnome-shell-extensions-disabled-warning.service.in
Normal file
13
data/gnome-shell-extensions-disabled-warning.service.in
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Warn about GNOME Shell extensions being disabled
|
||||
ConditionPathExists=%E/gnome-shell-extensions-disabled-warning
|
||||
|
||||
Requisite=gnome-session.target
|
||||
After=gnome-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=-/bin/rm %E/gnome-shell-extensions-disabled-warning
|
||||
ExecStart=@bindir@/gnome-shell-extension-prefs --disabled-warning
|
||||
Restart=no
|
||||
|
@ -8,3 +8,5 @@ Before=gnome-session-initialized.target
|
||||
|
||||
Requires=gnome-shell-wayland.service
|
||||
After=gnome-shell-wayland.service
|
||||
|
||||
Wants=gnome-shell-extensions-disabled-warning.service
|
||||
|
@ -8,3 +8,5 @@ Before=gnome-session-initialized.target
|
||||
|
||||
Requires=gnome-shell-x11.service
|
||||
After=gnome-shell-x11.service
|
||||
|
||||
Wants=gnome-shell-extensions-disabled-warning.service
|
||||
|
Loading…
Reference in New Issue
Block a user