← Back to team overview

elementaryart team mailing list archive

[Bug 786612] Re: Set as wallpaper contract doesn't work

 

The command in the .contract file is `gsettings set desktop.Wallpaper
picture-path %s`.

According to `man gsettings`:

> When setting a key, you also need specify a VALUE The format for the
>       value is that of a serialized GVariant, so e.g. a string must include
>       explicit quotes: "'foo'". This format is also used when printing out
>       values.

So the command should be `gsettings set desktop.Wallpaper picture-path
"'%s'"`.

** Attachment added: "diff"
   https://bugs.launchpad.net/pantheon-wallpaper/+bug/786612/+attachment/2206973/+files/diff

-- 
You received this bug notification because you are a member of
elementary desktop team, which is the registrant for Marlin.
https://bugs.launchpad.net/bugs/786612

Title:
  Set as wallpaper contract doesn't work

Status in Marlin:
  Invalid
Status in Pantheon Wallpaper:
  New

Bug description:
  Tried to set an image as wallpaper from Marlin, the wallpaper flashes
  black but doesn't change to the new paper.

To manage notifications about this bug go to:
https://bugs.launchpad.net/marlin/+bug/786612/+subscriptions


References