1

I tried to change some settings with the gconftool-2:

$ gconftool-2 --set "/apps/hamster-indicator/show_label" --type bool "true"

Checking if it was set returns true:

$ gconftool-2 --get "/apps/hamster-indicator/show_label"
true

Now if I logout and login again (to make the changes appear) the settings are discarded and it is set back to false. I also tried it with sudo.

Do you know what could be wrong?

dan-lee
  • 213
  • 3
  • 15

1 Answers1

1
gconftool-2 --dump /|grep show_label

is there any result?

syler
  • 56
  • 1
  • Yes there are 3 entries: `/apps/hamster-indicator/show_label`, `/schemas/apps/hamster-indicator/show_label`, `/schemas/apps/hamster-indicator/show_label`. What does this mean? – dan-lee Aug 01 '13 at 07:27
  • 1
    the manpage say : "These keys are cached in memory, and saved to disk in XML format when appropriate." I think the key not save in the xml file yet, so when relogin, the key loss! – syler Aug 01 '13 at 07:40
  • Okay thanks syler, this is weird. I guess it would be appropriate for gconf to save it. I am thinking of two options: setting it at startup (meh) or 'hacking' `~/.gconf/apps/.../%gconf.xml` (meh). I don't think both are satisfiable. But thanks for the information – dan-lee Aug 01 '13 at 07:49
  • @DanLee yes! It's weird, I just try it in my ubuntu10.04, there is no this kind of problem. My OS works well!! "~/.gconf/apps/hamster-indicator/%gconf.xml" exist! when relogin – syler Aug 01 '13 at 08:05
  • Well for now I just put this into startup. Not satisfying but at least it does its job. – dan-lee Aug 01 '13 at 08:24