[gnome-settings-daemon/benzea/systemd-3-36: 10/24] dummy: Do not start gsd-dummy for stub desktop files



commit ae12c583926995292ef8abaed5be48c363d083be
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]