View Single Post
Old 06-20-2011, 04:23 PM   #150
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by Mackx View Post
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

Last edited by Iņigo; 06-20-2011 at 06:10 PM.
Iņigo is offline   Reply With Quote