GNOME Bugzilla – Bug 702088
g-s-d-localeexec – sets invalid locale variables
Last modified: 2013-06-12 12:35:50 UTC
The output `gsettings get`, if it's a string, is surrounded by single-quotes. So when the recently-added `gnome-settings-daemon-localeexec` script calls SETTING=$(gsettings get org.gnome.system.locale region) the resulting variables have a pair of single-quotes *in their value*. Those should be stripped with SETTING=${SETTING//\'/} before setting $LC_TIME or whatever, otherwise programs complain. (...while you're at it: #!/bin/sh would be more proper, as the script does not use any bash features, and bash isn't even always at the same location (only 'sh' is).) gnome-settings-daemon 3.9.2.r12.g2db9281-1
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 701322 ***