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

2009-11-03 Thread Martin Langhoff
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 m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask

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

2009-11-03 Thread Tomeu Vizoso
On Tue, Nov 3, 2009 at 09:55, Martin Langhoff martin.langh...@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

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

2009-11-03 Thread Martin Langhoff
On Tue, Nov 3, 2009 at 11:15 AM, Tomeu Vizoso to...@sugarlabs.org wrote: If it's only for reading, I think the following should work: gconftool-2 --direct --config-source=xml:readwrite:$HOME/.gconf -g key Excellent - thanks! m -- martin.langh...@gmail.com mar...@laptop.org -- School

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

2009-11-03 Thread James Cameron
I used this as root: su -c gconftool-2 --get /desktop/sugar/user/nick olpc -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel