5

Running Linux Mint 16 right now, Cinnamon 64-bit. I'm trying to find out where Cinnamon stores my desktop settings. Precisely looking for where the desktop image settings are stored and want to figure out how to manipulate it via the command line for a bash script I've written.

tl;dr: can I change cinnamon's desktop image from the command line?

Any clues or tips?

3 Answers 3

5

Citation from the Arch Linux wiki:

Default desktop background wallpaper path

When you add a wallpaper from a custom path. in Cinnamon Settings, Cinnamon copies it to ~/.cinnamon/background. Thus, with every change of your wallpaper you would have to add your updated wallpaper again from the settings menu or copy / symlink it manually to ~/.cinnamon/background.

0
4

The Arch Linux wiki gave me the correct clues, but the actual way to do it is to do the following:

gsettings set org.cinnamon.desktop.background picture-uri "file://<path to file>"
1

Gsettings also delivers the path to the current background-image.

gsettings get org.cinnamon.desktop.background picture-uri

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .