diff --git a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py index 104268f37a..fff176a6f0 100755 --- a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py +++ b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py @@ -433,7 +433,8 @@ def on_wallpaper_selection_changed(self, iconview): if wallpaper: for key in wallpaper: if key == "filename": - self._background_schema.set_string("picture-uri", "file://" + wallpaper[key]) + gfile = Gio.File.new_for_path(wallpaper[key]) + self._background_schema.set_string("picture-uri", gfile.get_uri()) elif key == "options": self._background_schema.set_string("picture-options", wallpaper[key])