Bug 302927

Summary: wish: systemsettings log changes (for use in scripts)
Product: [Applications] systemsettings Reporter: Richard Neill <kde>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: kde
Priority: NOR    
Version: 4.8.80 (beta1)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Richard Neill 2012-07-02 21:40:41 UTC
When configuring KDE systems, there are a *lot* of changes that can be made. It would be really helpful to be able to re-apply them selectively across multiple systems, 

To this end, I'd like to be able to invoke systemsettings  with "--print-cmd"   or similar, so that for every 
change that it makes to the underlying files, it prints out a line like this:
   kwriteconfig --file XXX --group YYY --key AAA  BBB
  (ideally prefixed with a comment of the module name and control name)

Then I would go through the settings GUI, spend 3 hours setting it up to taste, and have a helpful list of commands waiting so that the next time I set up a new KDE installation, I could just replay the ones I want.

I've used a similar process under gnome (with gconftool) to deploy multiple similar configurations.

[It would also be useful (though perhaps harder) to support a --export mode, which would export a list of all the settings that differ from their default values]

Reproducible: Always
Comment 1 David Edmundson 2015-02-07 14:06:20 UTC
Can't be done. Each KCModule does it's own saving, and that can be across multiple files and multiple ways and it's not simple.

Sorry.