summaryrefslogtreecommitdiff
path: root/data/gnome-launched-override.scope.conf
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2019-11-27 16:46:49 +0100
committerRay Strode <halfline@gmail.com>2020-05-06 13:30:19 +0000
commit2fc52ced9c1ba22d14a6c4dbe03a13eaa5cb1c68 (patch)
tree93ee5bfe68a7a06c7bc586a0214c8356bd04c33c /data/gnome-launched-override.scope.conf
parent95e35ac67dce81ea0b52c563b123f17b0d863d9b (diff)
downloadgnome-session-2fc52ced9c1ba22d14a6c4dbe03a13eaa5cb1c68.tar.gz
data: Add drop-in to configure launched applications
Both gnome-shell and g-s-d will start putting launched applications into transient scopes. As these scopes will be prefixed with gnome-launched-, we can set defaults by installing an appropriate drop-in. This allows us to bind them to graphical-session.target and lower their stop timeout. See gnome-shell!863 and gnome-settings-daemon!147
Diffstat (limited to 'data/gnome-launched-override.scope.conf')
-rw-r--r--data/gnome-launched-override.scope.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/gnome-launched-override.scope.conf b/data/gnome-launched-override.scope.conf
new file mode 100644
index 00000000..810bf239
--- /dev/null
+++ b/data/gnome-launched-override.scope.conf
@@ -0,0 +1,6 @@
+[Unit]
+CollectMode=inactive-or-failed
+PartOf=graphical-session.target
+
+[Scope]
+TimeoutStopSec=5s