Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an XML file for a custom profile for gnome-terminal. However, when I throw the file into an appropriate directory like ~/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml the file is clobbered the next time I run gnome-terminal. The problem happens also if I make a new profile and manually copy my xml file over the newly created profile's xml. It also happens if I perform the copy actions when gnome-terminal is not running (I log into one of the psuedo-consoles and thus can't be running gnome-terminal). No matter what happens, the next time I run gnome-terminal, the profile colors aren't applied, and the %gconf.xml file that I had edited is changed to the contents of the default profile (as I said, clobbered).

I'm running ubuntu 10.04 with the gnome desktop.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

It's not gnome-terminal's fault; it's merely talking to the gconfd daemon which has its own view of your configuration, which (aside from reading upon startup) doesn't care what happens to the files on disk.

Instead of editing the XML directly, how about using gconftool-2 or some other official mechanism, instead of going around gconfd's back?

If that's too difficult for you, it may be possible to gconftool-2 --shutdown to signal gconfd to exit, make the changes, then gconftool-2 --spawn to restart gconfd. However, other processes using GSettings or GConf may respawn gconfd before you are done.

share|improve this answer
    
That helps a lot. It makes tracking configurations for half of ubuntu a PITA (well, not tracking, but recovery), but I'll just convert my configs into gconftool scripts. –  goathens Sep 18 '10 at 17:23
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.