[cinnamon-settings-daemon] Stop cinnamon-fallback-mount-helper starting in gnome-shell

leigh123linux leigh123linux at fedoraproject.org
Thu Oct 17 13:31:43 UTC 2013


commit 95930039dee588b716f88558bb9d3943cbb25408
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Thu Oct 17 14:31:37 2013 +0100

    Stop cinnamon-fallback-mount-helper starting in gnome-shell

 cinnamon-settings-daemon.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/cinnamon-settings-daemon.spec b/cinnamon-settings-daemon.spec
index 7243e2c..b4cf458 100644
--- a/cinnamon-settings-daemon.spec
+++ b/cinnamon-settings-daemon.spec
@@ -2,7 +2,7 @@
 
 Name:           cinnamon-settings-daemon
 Version:        2.0.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The daemon sharing settings from CINNAMON to GTK+/KDE applications
 
 Group:          System Environment/Daemons
@@ -74,6 +74,11 @@ make V=1 %{?_smp_mflags}
 %make_install
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
+cp $RPM_BUILD_ROOT/%{_sysconfdir}/xdg/autostart/cinnamon-fallback-mount-helper.desktop \
+$RPM_BUILD_ROOT/%{_sysconfdir}/xdg/autostart/cinnamon2d-fallback-mount-helper.desktop
+sed -i -e '9iAutostartCondition=GNOME3 if-session cinnamon' $RPM_BUILD_ROOT/%{_sysconfdir}/xdg/autostart/cinnamon-fallback-mount-helper.desktop
+sed -i -e '9iAutostartCondition=GNOME3 if-session cinnamon2d' $RPM_BUILD_ROOT/%{_sysconfdir}/xdg/autostart/cinnamon2d-fallback-mount-helper.desktop
+
 %find_lang %{name} --with-gnome
 
 
@@ -107,6 +112,7 @@ fi
 # mode only
 %{_libexecdir}/cinnamon-fallback-mount-helper
 %config %{_sysconfdir}/xdg/autostart/cinnamon-fallback-mount-helper.desktop
+%config %{_sysconfdir}/xdg/autostart/cinnamon2d-fallback-mount-helper.desktop
 
 %{_libdir}/cinnamon-settings-daemon-3.0/background.cinnamon-settings-plugin
 %{_libdir}/cinnamon-settings-daemon-3.0/libbackground.so
@@ -216,6 +222,9 @@ fi
 %{_libexecdir}/csd-test-xsettings
 
 %changelog
+* Thu Oct 17 2013 Leigh Scott <leigh123linux at googlemail.com> - 2.0.1-2
+- Stop cinnamon-fallback-mount-helper starting in gnome-shell
+
 * Wed Oct 02 2013 Leigh Scott <leigh123linux at googlemail.com> - 2.0.1-1
 - update to 2.0.1
 


More information about the scm-commits mailing list