Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have changed base theme and made also some modifications (change fonts, sizes, icons sets etc)

I would like to save all and test some other themes and restore them back.I'm using 12.04.

Is this possible ?

share|improve this question
    
How about using ubuntu tweak tool, desktop recovery tool will be helpful –  Prasad RD Aug 5 '12 at 9:05
add comment

2 Answers 2

I have found a way to save and restore theme settings. Actually It restores all your personalized settings.

To Backup

Open a terminal and do this

cp ~/.config/dconf/user  ~/settings-backup
cp -r ~/.gconf/apps/metacity ~ 

This will copy the user settings in your home directory in a file named settings-backup. The window manager theme (window framing) will be stored in a folder named metacity in the home folder

To Restore

Open a terminal and do this (I assume your backup file is in your home folder with the name settings-backup)

cp ~/settings-backup ~/.config/dconf/user
cp -r -v ~/metacity ~/.gconf/apps

This will restore the theme settings and the window manager settings. (Note that, If you delete a theme, it can't restore that theme)

Logout and Login again, to see all your settings are restored.

share|improve this answer
    
Is ~/.dconf/user right? I only found ~/.config/dconf/user. –  Eric Carvalho Aug 5 '12 at 16:10
    
@EricCarvalho yes, you're right. That was a typing error. thanks –  Anwar Shah Aug 5 '12 at 16:25
    
Thanks, I think this will help me. The bounty goes to you. –  Eric Carvalho Aug 5 '12 at 16:30
add comment

All your configuration and preferences are store in your /home folder, as a hidden folder. If you backup your home folder you'll be able to restore to your previous configuration. For example, I use Lubuntu 12.04 and have a hidden folder in ~/.config/openbox with some of my system settings.

Related: How to migrate user settings and data to new machine?

share|improve this answer
    
This is too generic. I know I can backup my home folder, or maybe only the dot files, but the OP asks for a way to save the current themes and restore them later. Backing up the whole home folder insn't practical enough, IMHO. –  Eric Carvalho Jul 31 '12 at 15:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.