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 installed dconf-tools. In this case I am manipulating the display of a name in the panel on the session indicator.

I can change this in dconf-editor gui with no problem, I go to apps/indicator-session, and untick show-real-name-on-panel.

However, I have also tried to toggle it just using dconf at the command line:

dconf write /com/canonical/indicator/session/show-real-name-on-panel false

After rebooting, the panel is unchanged, and the key in the dconf-editor is unchanged as well.

Moreover, trying to update the dconf database via the terminal yields an error:

$ dconf update
fatal: Error opening directory '/etc/dconf/db': No such file or directory

From my experience it seems as though dconf and dconf-editor have no relationship, so I just wonder what I am doing wrong.

If I can get this figured out, I want to just place the command in a bash script to run the next time I have to do a clean install for an upgrade*. I do a lot of tweaks in 6 months and I just want to automate as much as possible from now on.

  • Slightly off-topic: the distribution upgrade mechanism has never worked without a hitch for me; I tried it going from 11.04 to 11.10 as well.
share|improve this question

1 Answer 1

up vote 19 down vote accepted

You can use the gsettings tool.

gsettings set com.canonical.indicator.session show-real-name-on-panel false
share|improve this answer
    
Thank you, that worked! Does that work anywhere that dconf would? Is it going to be deprecated in favor of dconf, or will it continue to be used for the foreseeable future? –  Inkayacu Oct 25 '11 at 21:41
    
Yes, gsettings can be used anywhere dconf would. –  Anonymous Oct 25 '11 at 21:43
    
No, it will not be deprecated. dconf replaced gconf which will be deprecated. gconf can be changed with gconf-editor or gconftool-2. dconf can be changed with dconf-editor or gsettings. –  Anonymous Oct 25 '11 at 21:45
    
gconf saves its files in your home directory under the .gconf/ directory. –  Anonymous Oct 25 '11 at 21:46

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.