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.

So I've just had to do a reinstall and as part of that process, I'm starting a new account to remove some of the crufty config I've built up over time.

I've been fairly successful cherry-picking certain applications' configuration by copying over their old directories but gedit is being a pain.

I've already copied over the following:

.gconf/apps/gedit-2
.local/share/gedit
.config/gedit

And that has allowed me to use my old plugins but nothing else. It's not remembering colours, which plugins were enabled or individual plugin config.

I'm coming from the same version of Ubuntu so would have expected this to cater for all my settings. I'm afraid there might be config stuck in dconf.

share|improve this question
1  
Colours are kept in gtksourceviewer folder instead of gedit –  Manish Sinha Feb 16 '12 at 5:46

2 Answers 2

gedit keeps some of it's preferences in gnome registry.

You can see them if you spawn gconf-editor and visit /apps/gedit-2

To export use sth like

gconftool --dump /apps/gedit-2 > gedit.settings

then copy the gedit.settins file and import with

gconftool --load gedit.settings

(or play with ~/.gconf directory but it may be less safe)

Update: some of the attributes may be not set just for gedit, but more generally. A few searches in gconf-editor may help locating them.

share|improve this answer

I would first jump to the conclusion that you are correct about these settings being saved by dconf. The first thing I did was run

locate gedit

I looked through and did not find much else besides what you already mentioned. I then took up to finding where the dconf settings are saved and determined you would check the settings using either

dconf list /org/gnome/gedit/

or read the actual settings replacing 'list' with 'read' once you locate the setting you wish to read using the list command.

I think the simplest option is to copy ~/.config/dconf/ and all subdirectories unless you can determine which user dir is yours.

The other alternative is to use dconf dump and dconf write You can find a lot of information you need here: At the bottom of this page

share|improve this answer

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.