Bug 302927 - wish: systemsettings log changes (for use in scripts)
Summary: wish: systemsettings log changes (for use in scripts)
Status: RESOLVED INTENTIONAL
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 4.8.80 (beta1)
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-02 21:40 UTC by Richard Neill
Modified: 2015-02-07 14:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.