[gnome-settings-daemon/benzea/systemd-3-36: 31/45] dummy: Do not start gsd-dummy for stub desktop files
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/systemd-3-36: 31/45] dummy: Do not start gsd-dummy for stub desktop files
- Date: Tue, 14 Jul 2020 14:35:38 +0000 (UTC)
commit ae04f3b3fb604e4de90f4e5b247d4bd5d997aed6
Author: Benjamin Berg <bberg redhat com>
Date: Thu Dec 12 00:39:32 2019 +0100
dummy: Do not start gsd-dummy for stub desktop files
We install stub desktop files so that session can pull these in as
required components. However, for gnome-session to be happy, we do not
actually need to start a process. It is sufficient to install the
.desktop file and then disable the service using Hidden=true.
This means we can replace the Exec line with e.g. /bin/false, removing
the need for the gsd-dummy binary.
plugins/dummy/org.gnome.SettingsDaemon.Dummy.desktop.in | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/plugins/dummy/org.gnome.SettingsDaemon.Dummy.desktop.in
b/plugins/dummy/org.gnome.SettingsDaemon.Dummy.desktop.in
index a946da92..04249c84 100644
--- a/plugins/dummy/org.gnome.SettingsDaemon.Dummy.desktop.in
+++ b/plugins/dummy/org.gnome.SettingsDaemon.Dummy.desktop.in
@@ -1,10 +1,7 @@
[Desktop Entry]
Type=Application
-Name=GNOME Settings Daemon's @pluginname@ replacement plugin
-Exec=@libexecdir@/gsd-dummy --dummy-name=@pluginname@
+Name=GNOME Settings Daemon's @pluginname@ dummy autostart file
+Exec=/bin/false
OnlyShowIn=GNOME;
NoDisplay=true
-X-GNOME-Autostart-Phase=Initialization
-X-GNOME-Autostart-Notify=true
-X-GNOME-AutoRestart=true
-X-GNOME-HiddenUnderSystemd=@systemd_hidden@
+Hidden=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]