[Sugar-devel] Gsettings

Ütkarsh Tiwari iamutkarshtiwari at gmail.com
Wed Jul 6 13:45:43 EDT 2016


Hi Sam,
            Thanks! It helped ;)

Regards,
Utkarsh Tiwari

On Tue, Jul 5, 2016 at 6:22 PM, Sam Parkinson <sam.parkinson3 at gmail.com>
wrote:

> Hi Utkrash,
>
> To the best of my knowledge, GSettings requires a settings schema be
> installed in a system (package-manager controlled) directory.  While Sugar
> installs a GSettings schema, I sadly don't think it is possible for an
> activity to have a gsettings schema.
>
> To set or get a gsettings value, you can use the Gio.Settings api, or the
> "gsettings" command line utility.
>
> Thanks,
> Sam
>
>
> On Tue, Jul 5, 2016 at 8:16 PM, Ütkarsh Tiwari <iamutkarshtiwari at gmail.com>
> wrote:
>
> Hi,
>     I want to set a python boolean value(to True/False) prior to the
> execution of the python script containing that variable. Is there any way I
> could do it by making my own custom terminal command to modify the
> gsettings to modify that variable?
>
> --
> Regards,
> Ütkarsh Tiwari
>
>
>
>


-- 
Regards,
Ütkarsh Tiwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160706/77053f14/attachment.html>


More information about the Sugar-devel mailing list