[Sugar-devel] In gconf-based Sugar, how do I read config values (nickname, etc)...

Tomeu Vizoso tomeu at sugarlabs.org
Tue Nov 3 05:15:51 EST 2009

On Tue, Nov 3, 2009 at 09:55, Martin Langhoff <martin.langhoff at gmail.com> wrote:
> from bash / commandline scripts that may not be executing in the user
> session. For example
>  - olpc-netstatus may be invoked from a VT running as root
>  - ds-backup scripts are invoked from from cron

If it's only for reading, I think the following should work:

gconftool-2 --direct --config-source=xml:readwrite:$HOME/.gconf -g <key>



«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David

More information about the Sugar-devel mailing list