The problem seems to come from 20_migrate_background_uri.patch, which adds an URI check of the value of 'picture-uri'.
** Patch added: "20_migrate_background_uri.patch" https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/954590/+attachment/2866650/+files/20_migrate_background_uri.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/954590 Title: GLib-CRITICAL warning when setting a solid color as background Status in “gnome-settings-daemon” package in Ubuntu: New Bug description: When setting a background from 'Colors & Gradients' in the 'Appearance' pane of g-c-c, I see the following output in ~/.xsession- errors: GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed ** WARNING **: Failed to set the background '(null)': GDBus.Error:org.freedesktop.Accounts.Error.Failed: file '[Invalid UTF-8]' is not a regular file Backtrace attached. --- Update --- When I manually set the 'picture-uri' key in 'org.gnome.desktop.background' I can observe the following: * If I set it to a path to an existing regular file, prefixed with 'file://', I see no warnings. * If I set it to a path to a non-existing regular file, prefixed with 'file://', I get a 'file ... is not a regular file' warning. * If I set it to something not prefixed with 'file://', I see the above two warnings. The last case happens every time I set a solid background color in 'Appearance', which sets the 'picture-uri' key to an empty string (""). --- ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: gnome-settings-daemon 3.3.91-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Wed Mar 14 00:46:35 2012 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901) SourcePackage: gnome-settings-daemon UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.xdg.autostart.gnome.fallback.mount.helper.desktop: [modified] modified.conffile..etc.xdg.autostart.gnome.settings.daemon.desktop: [modified] mtime.conffile..etc.xdg.autostart.gnome.fallback.mount.helper.desktop: 2012-03-09T20:30:39.405402 mtime.conffile..etc.xdg.autostart.gnome.settings.daemon.desktop: 2012-03-09T20:30:39.405402 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/954590/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp