On Saturday 05 October 2013 04:01:24 Diederik de Haas wrote: > I've implemented a different way to disable some services in KDE, > implemented in components/1060-kde-services of live-config. And now I've figured out how to create a patch file, see attachment. -- GPG: 0x138E41915C7EFED6
diff --git a/components/1060-kde-services b/components/1060-kde-services index 1bf76dc..174f9c0 100755 --- a/components/1060-kde-services +++ b/components/1060-kde-services @@ -63,17 +63,21 @@ EOF fi # Disabling unnecessary KDE services - rm -f /usr/share/autostart/kab2kabc.desktop - rm -f /usr/share/autostart/kaddressbookmigrator.desktop - rm -f /usr/share/autostart/korgac.desktop - rm -f /usr/share/autostart/printer-applet.desktop - rm -f /usr/share/autostart/nepomukserver.desktop - rm -f /usr/share/kde4/services/kwalletd.desktop - rm -f /usr/share/kde4/services/kded/kpackagekitd.desktop - rm -f /usr/share/kde4/services/kded/freespacenotifier.desktop - rm -f /usr/share/kde4/services/plasma-runner-contacts.desktop # starts akonadi - rm -f /usr/share/kde4/services/kded/notificationhelper.desktop - rm -f /usr/share/kde4/services/plasma-dataengine-calendar.desktop # starts akonadi + # Disable addressbook migrator + sudo -u "${LIVE_USERNAME}" kwriteconfig --file kres-migratorrc --group Migration --key Enabled --type bool false + # Disable korganizer reminder daemon + sudo -u "${LIVE_USERNAME}" kwriteconfig --file korgacrc --group "General" --key "Autostart" --type bool false + sudo -u "${LIVE_USERNAME}" kwriteconfig --file korgacrc --group "General" --key "Enabled" --type bool false + # Disable nepomuk. + sudo -u "${LIVE_USERNAME}" kwriteconfig --file nepomukserverrc --group "Basic Settings" --key "Start Nepomuk" --type bool false + # If you disable nepomuk, you should also disable it's krunner plugin + #sudo -u "${LIVE_USERNAME}" kwriteconfig --file krunnerrc --group "Plugins" --key "nepomuksearchEnabled" --type bool false + # Disable freespace notifier, not very useful on a live system + kwriteconfig --file /usr/share/kde4/services/kded/freespacenotifier.desktop --group "Desktop Entry" --key X-KDE-Kded-autoload --type bool false + # Disable searching contacts through krunner, since it apparently starts akonadi + sudo -u "${LIVE_USERNAME}" kwriteconfig --file krunnerrc --group "Plugins" --key "kabccontactsEnabled" --type bool false + # Disable searching calendar events through krunner, since it apparently starts akonadi + sudo -u "${LIVE_USERNAME}" kwriteconfig --file krunnerrc --group "Plugins" --key "org.kde.events_runnerEnabled" --type bool false # should enable kxkb in ~/.kde/share/config/kxkbrc # if multiple layouts are specified. gnome does it per default.
Attachment:
signature.asc
Description: This is a digitally signed message part.