Discussion:
Setting Gconf Values in Meego
Deepankar Katyal
2011-02-10 01:26:17 UTC
Permalink
Hi All,

I need to set a gconf value

gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX

But we guess that it has been changed in the latest release to be a read only value and this we are encountering this error .

Error setting value: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/meegotouch/inputmethods/plugins/onscreen' set in a read-only source at the front of your configuration path

Would you happen to know how could I set it if I needed to .

--
Regards
Deep
Yoon, Youngsik
2011-02-15 10:27:54 UTC
Permalink
Hi,

I'm facing the same problem.
How can I change this gconf value?

Thank you,
Yoon

From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-***@meego.com] On Behalf Of Deepankar Katyal
Sent: Thursday, February 10, 2011 10:26 AM
To: meego-touch-dev-***@public.gmane.org
Cc: Brian Yee
Subject: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi All,

I need to set a gconf value

gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX

But we guess that it has been changed in the latest release to be a read only value and this we are encountering this error .

Error setting value: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/meegotouch/inputmethods/plugins/onscreen' set in a read-only source at the front of your configuration path

Would you happen to know how could I set it if I needed to .

--
Regards
Deep
Surakka Kimmo (Nokia-MS/Helsinki)
2011-02-15 13:05:10 UTC
Permalink
Hi,

How are you trying to set it?

Also, what does the schema file
(/usr/share/gconf/schemas/meego-im-framework.schemas) look like?

Kimmo

On 02/15/2011 12:27 PM, ext Yoon, Youngsik wrote:
> Hi,
>
> I'm facing the same problem.
> How can I change this gconf value?
>
> Thank you,
> Yoon
>
> From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
> Sent: Thursday, February 10, 2011 10:26 AM
> To: meego-touch-dev-***@public.gmane.org
> Cc: Brian Yee
> Subject: [MeeGo-touch-dev] Setting Gconf Values in Meego
>
> Hi All,
>
> I need to set a gconf value
>
> gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX
>
> But we guess that it has been changed in the latest release to be a read only value and this we are encountering this error .
>
> Error setting value: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/meegotouch/inputmethods/plugins/onscreen' set in a read-only source at the front of your configuration path
>
> Would you happen to know how could I set it if I needed to .
>
> --
> Regards
> Deep
>
>
>
>
>
> _______________________________________________
> MeeGo-touch-dev mailing list
> MeeGo-touch-dev-***@public.gmane.org
> http://lists.meego.com/listinfo/meego-touch-dev
Yoon, Youngsik
2011-02-16 05:14:07 UTC
Permalink
Hi Kimmo,

I have solved the problem.
There was some value set for "inputmethod/plugins" under "gconf.xml.mandatory".
So I could change the value using gconftool-2 with "--direct --configure-source" parameters.

Thank you,
Yoon

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Surakka Kimmo (Nokia-MS/Helsinki)
Sent: Tuesday, February 15, 2011 10:05 PM
To: meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi,

How are you trying to set it?

Also, what does the schema file
(/usr/share/gconf/schemas/meego-im-framework.schemas) look like?

Kimmo

On 02/15/2011 12:27 PM, ext Yoon, Youngsik wrote:
> Hi,
>
> I'm facing the same problem.
> How can I change this gconf value?
>
> Thank you,
> Yoon
>
> From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
> Sent: Thursday, February 10, 2011 10:26 AM
> To: meego-touch-dev-***@public.gmane.org
> Cc: Brian Yee
> Subject: [MeeGo-touch-dev] Setting Gconf Values in Meego
>
> Hi All,
>
> I need to set a gconf value
>
> gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX
>
> But we guess that it has been changed in the latest release to be a read only value and this we are encountering this error .
>
> Error setting value: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/meegotouch/inputmethods/plugins/onscreen' set in a read-only source at the front of your configuration path
>
> Would you happen to know how could I set it if I needed to .
>
> --
> Regards
> Deep
>
>
>
>
>
> _______________________________________________
> MeeGo-touch-dev mailing list
> MeeGo-touch-dev-***@public.gmane.org
> http://lists.meego.com/listinfo/meego-touch-dev
Deepankar Katyal
2011-02-16 18:23:24 UTC
Permalink
Thanks for the reply Kimmo,

I am trying to set it as follows

gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX

And the .schemas file looks ok

<schema>
<key>/schemas/meegotouch/inputmethods/plugins/onscreen</key>
<applyto>/meegotouch/inputmethods/plugins/onscreen</applyto>
<owner>meegotouch</owner>
<type>string</type>
<default>MeegoKeyboard</default>
<locale name="C">
<short>Plugin name for onscreen keyboard</short>
<long>Plugin name for onscreen keyboard</long>
</locale>
</schema>

--
Deep

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Surakka Kimmo (Nokia-MS/Helsinki)
Sent: Tuesday, February 15, 2011 5:05 AM
To: meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi,

How are you trying to set it?

Also, what does the schema file
(/usr/share/gconf/schemas/meego-im-framework.schemas) look like?

Kimmo

On 02/15/2011 12:27 PM, ext Yoon, Youngsik wrote:
> Hi,
>
> I'm facing the same problem.
> How can I change this gconf value?
>
> Thank you,
> Yoon
>
> From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
> Sent: Thursday, February 10, 2011 10:26 AM
> To: meego-touch-dev-***@public.gmane.org
> Cc: Brian Yee
> Subject: [MeeGo-touch-dev] Setting Gconf Values in Meego
>
> Hi All,
>
> I need to set a gconf value
>
> gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX
>
> But we guess that it has been changed in the latest release to be a read only value and this we are encountering this error .
>
> Error setting value: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/meegotouch/inputmethods/plugins/onscreen' set in a read-only source at the front of your configuration path
>
> Would you happen to know how could I set it if I needed to .
>
> --
> Regards
> Deep
>
>
>
>
>
> _______________________________________________
> MeeGo-touch-dev mailing list
> MeeGo-touch-dev-***@public.gmane.org
> http://lists.meego.com/listinfo/meego-touch-dev
Yoon, Youngsik
2011-02-17 01:39:04 UTC
Permalink
Hi Deep,

Please try to set as follows (you need to run as root)
# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen "xxxxx"

This worked for me.

Thanks,
Yoon

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
Sent: Thursday, February 17, 2011 3:23 AM
To: Surakka Kimmo (Nokia-MS/Helsinki); meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Thanks for the reply Kimmo,

I am trying to set it as follows

gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX

And the .schemas file looks ok

<schema>
<key>/schemas/meegotouch/inputmethods/plugins/onscreen</key>
<applyto>/meegotouch/inputmethods/plugins/onscreen</applyto>
<owner>meegotouch</owner>
<type>string</type>
<default>MeegoKeyboard</default>
<locale name="C">
<short>Plugin name for onscreen keyboard</short>
<long>Plugin name for onscreen keyboard</long>
</locale>
</schema>

--
Deep

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Surakka Kimmo (Nokia-MS/Helsinki)
Sent: Tuesday, February 15, 2011 5:05 AM
To: meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi,

How are you trying to set it?

Also, what does the schema file
(/usr/share/gconf/schemas/meego-im-framework.schemas) look like?

Kimmo

On 02/15/2011 12:27 PM, ext Yoon, Youngsik wrote:
> Hi,
>
> I'm facing the same problem.
> How can I change this gconf value?
>
> Thank you,
> Yoon
>
> From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
> Sent: Thursday, February 10, 2011 10:26 AM
> To: meego-touch-dev-***@public.gmane.org
> Cc: Brian Yee
> Subject: [MeeGo-touch-dev] Setting Gconf Values in Meego
>
> Hi All,
>
> I need to set a gconf value
>
> gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX
>
> But we guess that it has been changed in the latest release to be a read only value and this we are encountering this error .
>
> Error setting value: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/meegotouch/inputmethods/plugins/onscreen' set in a read-only source at the front of your configuration path
>
> Would you happen to know how could I set it if I needed to .
>
> --
> Regards
> Deep
>
>
>
>
>
> _______________________________________________
> MeeGo-touch-dev mailing list
> MeeGo-touch-dev-***@public.gmane.org
> http://lists.meego.com/listinfo/meego-touch-dev
m***@public.gmane.org
2011-02-17 07:07:00 UTC
Permalink
Hi,

Does this happen if you use the GConf API to set the value?
Setting the value with root access seems to be a no go for me.
________________________________________
Dari: meego-touch-dev-bounces-***@public.gmane.org [meego-touch-dev-bounces-***@public.gmane.org] atas nama ext Yoon, Youngsik [youngsik.yoon-***@public.gmane.org]
Terkirim: 17 Februari 2011 3:39
Hingga: Deepankar Katyal; Surakka Kimmo (Nokia-MS/Helsinki); meego-touch-dev-***@public.gmane.org
Subjek: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi Deep,

Please try to set as follows (you need to run as root)
# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen "xxxxx"

This worked for me.

Thanks,
Yoon

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
Sent: Thursday, February 17, 2011 3:23 AM
To: Surakka Kimmo (Nokia-MS/Helsinki); meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Thanks for the reply Kimmo,

I am trying to set it as follows

gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX

And the .schemas file looks ok

<schema>
<key>/schemas/meegotouch/inputmethods/plugins/onscreen</key>
<applyto>/meegotouch/inputmethods/plugins/onscreen</applyto>
<owner>meegotouch</owner>
<type>string</type>
<default>MeegoKeyboard</default>
<locale name="C">
<short>Plugin name for onscreen keyboard</short>
<long>Plugin name for onscreen keyboard</long>
</locale>
</schema>

--
Deep

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Surakka Kimmo (Nokia-MS/Helsinki)
Sent: Tuesday, February 15, 2011 5:05 AM
To: meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi,

How are you trying to set it?

Also, what does the schema file
(/usr/share/gconf/schemas/meego-im-framework.schemas) look like?

Kimmo

On 02/15/2011 12:27 PM, ext Yoon, Youngsik wrote:
> Hi,
>
> I'm facing the same problem.
> How can I change this gconf value?
>
> Thank you,
> Yoon
>
> From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
> Sent: Thursday, February 10, 2011 10:26 AM
> To: meego-touch-dev-***@public.gmane.org
> Cc: Brian Yee
> Subject: [MeeGo-touch-dev] Setting Gconf Values in Meego
>
> Hi All,
>
> I need to set a gconf value
>
> gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX
>
> But we guess that it has been changed in the latest release to be a read only value and this we are encountering this error .
>
> Error setting value: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/meegotouch/inputmethods/plugins/onscreen' set in a read-only source at the front of your configuration path
>
> Would you happen to know how could I set it if I needed to .
>
> --
> Regards
> Deep
>
>
>
>
>
> _______________________________________________
> MeeGo-touch-dev mailing list
> MeeGo-touch-dev-***@public.gmane.org
> http://lists.meego.com/listinfo/meego-touch-dev
_______________________________________________
MeeGo-touch-dev mailing list
MeeGo-touch-dev-***@public.gmane.org
http://lists.meego.com/listinfo/meego-touch-dev
Yoon, Youngsik
2011-02-17 07:30:31 UTC
Permalink
Did you reboot(or restart gconf daemon) after changing the value?

Thanks,
Yoon

-----Original Message-----
From: mohammad.anwari-***@public.gmane.org [mailto:mohammad.anwari-***@public.gmane.org]
Sent: Thursday, February 17, 2011 4:07 PM
To: Yoon, Youngsik; deep.katyal-b/afsxdf3yVWk0Htik3J/***@public.gmane.org; kimmo.surakka-***@public.gmane.org; meego-touch-dev-***@public.gmane.org
Subject: RE: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi,

Does this happen if you use the GConf API to set the value?
Setting the value with root access seems to be a no go for me.
________________________________________
Dari: meego-touch-dev-bounces-***@public.gmane.org [meego-touch-dev-bounces-***@public.gmane.org] atas nama ext Yoon, Youngsik [youngsik.yoon-***@public.gmane.org]
Terkirim: 17 Februari 2011 3:39
Hingga: Deepankar Katyal; Surakka Kimmo (Nokia-MS/Helsinki); meego-touch-dev-***@public.gmane.org
Subjek: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi Deep,

Please try to set as follows (you need to run as root)
# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen "xxxxx"

This worked for me.

Thanks,
Yoon

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
Sent: Thursday, February 17, 2011 3:23 AM
To: Surakka Kimmo (Nokia-MS/Helsinki); meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Thanks for the reply Kimmo,

I am trying to set it as follows

gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX

And the .schemas file looks ok

<schema>
<key>/schemas/meegotouch/inputmethods/plugins/onscreen</key>
<applyto>/meegotouch/inputmethods/plugins/onscreen</applyto>
<owner>meegotouch</owner>
<type>string</type>
<default>MeegoKeyboard</default>
<locale name="C">
<short>Plugin name for onscreen keyboard</short>
<long>Plugin name for onscreen keyboard</long>
</locale>
</schema>

--
Deep

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Surakka Kimmo (Nokia-MS/Helsinki)
Sent: Tuesday, February 15, 2011 5:05 AM
To: meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi,

How are you trying to set it?

Also, what does the schema file
(/usr/share/gconf/schemas/meego-im-framework.schemas) look like?

Kimmo

On 02/15/2011 12:27 PM, ext Yoon, Youngsik wrote:
> Hi,
>
> I'm facing the same problem.
> How can I change this gconf value?
>
> Thank you,
> Yoon
>
> From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
> Sent: Thursday, February 10, 2011 10:26 AM
> To: meego-touch-dev-***@public.gmane.org
> Cc: Brian Yee
> Subject: [MeeGo-touch-dev] Setting Gconf Values in Meego
>
> Hi All,
>
> I need to set a gconf value
>
> gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX
>
> But we guess that it has been changed in the latest release to be a read only value and this we are encountering this error .
>
> Error setting value: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/meegotouch/inputmethods/plugins/onscreen' set in a read-only source at the front of your configuration path
>
> Would you happen to know how could I set it if I needed to .
>
> --
> Regards
> Deep
>
>
>
>
>
> _______________________________________________
> MeeGo-touch-dev mailing list
> MeeGo-touch-dev-***@public.gmane.org
> http://lists.meego.com/listinfo/meego-touch-dev
_______________________________________________
MeeGo-touch-dev mailing list
MeeGo-touch-dev-***@public.gmane.org
http://lists.meego.com/listinfo/meego-touch-dev
Deepankar Katyal
2011-02-17 18:27:59 UTC
Permalink
Thanks Yoon.
This works great !! :)

-----Original Message-----
From: Yoon, Youngsik [mailto:youngsik.yoon-***@public.gmane.org]
Sent: Wednesday, February 16, 2011 5:39 PM
To: Deepankar Katyal; Surakka Kimmo (Nokia-MS/Helsinki); meego-touch-dev-***@public.gmane.org
Subject: RE: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi Deep,

Please try to set as follows (you need to run as root) # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /meegotouch/inputmethods/plugins/onscreen "xxxxx"

This worked for me.

Thanks,
Yoon

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar Katyal
Sent: Thursday, February 17, 2011 3:23 AM
To: Surakka Kimmo (Nokia-MS/Helsinki); meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Thanks for the reply Kimmo,

I am trying to set it as follows

gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen XXXXX

And the .schemas file looks ok

<schema>
<key>/schemas/meegotouch/inputmethods/plugins/onscreen</key>
<applyto>/meegotouch/inputmethods/plugins/onscreen</applyto>
<owner>meegotouch</owner>
<type>string</type>
<default>MeegoKeyboard</default>
<locale name="C">
<short>Plugin name for onscreen keyboard</short>
<long>Plugin name for onscreen keyboard</long>
</locale>
</schema>

--
Deep

-----Original Message-----
From: meego-touch-dev-bounces-***@public.gmane.org [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Surakka Kimmo (Nokia-MS/Helsinki)
Sent: Tuesday, February 15, 2011 5:05 AM
To: meego-touch-dev-***@public.gmane.org
Subject: Re: [MeeGo-touch-dev] Setting Gconf Values in Meego

Hi,

How are you trying to set it?

Also, what does the schema file
(/usr/share/gconf/schemas/meego-im-framework.schemas) look like?

Kimmo

On 02/15/2011 12:27 PM, ext Yoon, Youngsik wrote:
> Hi,
>
> I'm facing the same problem.
> How can I change this gconf value?
>
> Thank you,
> Yoon
>
> From: meego-touch-dev-bounces-***@public.gmane.org
> [mailto:meego-touch-dev-bounces-***@public.gmane.org] On Behalf Of Deepankar
> Katyal
> Sent: Thursday, February 10, 2011 10:26 AM
> To: meego-touch-dev-***@public.gmane.org
> Cc: Brian Yee
> Subject: [MeeGo-touch-dev] Setting Gconf Values in Meego
>
> Hi All,
>
> I need to set a gconf value
>
> gconftool-2 -s -t string /meegotouch/inputmethods/plugins/onscreen
> XXXXX
>
> But we guess that it has been changed in the latest release to be a read only value and this we are encountering this error .
>
> Error setting value: Configuration server couldn't be contacted: D-BUS
> error: Can't overwrite existing read-only value: Value for
> `/meegotouch/inputmethods/plugins/onscreen' set in a read-only source
> at the front of your configuration path
>
> Would you happen to know how could I set it if I needed to .
>
> --
> Regards
> Deep
>
>
>
>
>
> _______________________________________________
> MeeGo-touch-dev mailing list
> MeeGo-touch-dev-***@public.gmane.org
> http://lists.meego.com/listinfo/meego-touch-dev
Loading...