Quote:
Originally Posted by Mackx
You can add the default value to gconf so it can be changed by modifying the settings in dr.ini manually? (Anyone with a lot of time can then create a settings-dialog for it afterwards. ;-)
|
I've implemented the functionality, but there is one small issue.
I've added the new schema to gconf (key "/apps/dr800plus/show_taskbar" and value is a boolean).
I can read the proper value from the program using gconf_client_* API.
And if I change the value with
Code:
gconftool-2 --type bool --set /apps/dr800plus/show_taskbar "true"
or "false" the program reads the correct new value.
But if I change the System/dr.ini value and reboot, value in gconf db is not updated and shows the old value.
Btw,
Code:
erconftool -e /apps/dr800plus
writes the correct value from gconf DB to System/dr.ini
I thought edited values from System/dr.ini were saved to gconf db, as a way to allow user customization.
Am I missing something? Any idea?
EDIT:
a guess: maybe than sync only happens for "/apps/er/*" keys?
EDIT2:
my guess was correct, only keys "/apps/er/*" are sync-ed. And it needs a complete reboot to sync indeed, a "/etc/init.d/xserver-nodm restart" is not enough