How can i export and import
Compiz current profile settings using Command line.
I'm using ubuntu 12.10. Or can i get a script for doing export and import.
I'm not sure of a command line utility, but you can easily do this with a script in python and python-compizconfig package. Here you go:
To import settings, you could just change the last line to context.Import(savefile)
Now to run, just save and
WARNING- I have only tested a bit and basic functionality works, but I guarantee nothing. The script can be made much more robust and functional. You have to also enter a full path for the export function to write anything (you can use a tilde to expand to one:
Small update I wanted to add to importing that I found.
I was having an issue on import where it didn't seem to be overwriting the default values. Appending True to the end of the Import statement seems to have fixed that.