I am trying to set the weather provider for the Gnome Weather app with the following home-manager code snippet:
"org/gnome/shell/weather" = {
locations = "[<(uint32 2, <('London', 'EGWU', true, [(0.89971722940307675, -0.007272211034407213)], [(0.89884456477707964, -0.0020362232784242244)])>)>]";
};
When I check the dconf keyvalue with the following command dconf read /org/gnome/shell/weather/locations
I get the following result:
"[<(uint32 2, <('London', 'EGWU', true, [(0.89971722940307675, -0.007272211034407213)], [(0.89884456477707964, -0.0020362232784242244)])>)>]
However the correct key value should be as follows (without the double quotes at the beginning and end:
[<(uint32 2, <('London', 'EGWU', true, [(0.89971722940307675, -0.007272211034407213)], [(0.89884456477707964, -0.0020362232784242244)])>)>]
I have a tried a number of approaches but no matter what I do, I can not get rid of the double quotes.
If I try and set the weather provider non-declaractively by using the Gnome Weather application, then the dconf key value is set correctly.
Any assistance would be greatly appreciated.