... ughm ... the subject?
I am writing a script that will create gnome-terminal profiles for various machines that I want to connect to. I need a custom command to run on each terminal and profile is ideal solution for the problem. The script should do various modifications to the gnome-terminal profiles. Each profile has a directory in gconf. I want to be able to create and delete these directories from command line. Any idea how to do it?
Apparently you can't do that directly. Instead, deleting contents of the directory deletes it. The problem is that, as it seems, gconf and friends implement some sort of settings caching. As a result, it takes some time until you see that directory is actually gone. Sometimes it is immediately, but more often you have to wait few minutes or even relogin. I could not identify what exactly takes for gconf to refresh it's directory structure.