Changed disabling of freespacenotifier from global to (user) local.
authorDiederik de Haas <didi.debian@cknow.org>
Tue, 15 Oct 2013 16:20:59 +0000 (18:20 +0200)
committerDiederik de Haas <didi.debian@cknow.org>
Tue, 15 Oct 2013 16:20:59 +0000 (18:20 +0200)
This works better, since you can enable it again by checking a checkbox.

components/1060-kde-services

index 334fd8d..a27a818 100755 (executable)
@@ -76,7 +76,7 @@ EOF
        #sudo -u "${LIVE_USERNAME}" kwriteconfig --file krunnerrc --group "Plugins" --key "nepomuksearchEnabled" --type bool false
 
        # Disable freespace notifier
-       kwriteconfig --file /usr/share/kde4/services/kded/freespacenotifier.desktop --group "Desktop Entry" --key X-KDE-Kded-autoload --type bool false
+       sudo -u "${LIVE_USERNAME}" kwriteconfig --file kdekrc --group Module-freespacenotifier --key autoload --type bool false
 
        # Disable searching contacts through krunner (depends on akonadi)
        sudo -u "${LIVE_USERNAME}" kwriteconfig --file krunnerrc --group "Plugins" --key "kabccontactsEnabled" --type bool false