summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2019-12-12 00:39:32 +0100
committerBenjamin Berg <benjamin@sipsolutions.net>2020-07-31 08:53:12 +0000
commitaf8a95832ae5d8c0014002864620991d46b89c69 (patch)
treed4e5ae06f9c66ceb85a924acb8ffab4e99db85d1
parent4ae4f1045ca8610330d896df02ec311cf14f40d5 (diff)
downloadgnome-settings-daemon-af8a95832ae5d8c0014002864620991d46b89c69.tar.gz
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.
-rw-r--r--plugins/dummy/org.gnome.SettingsDaemon.Dummy.desktop.in9
1 files 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