HowTo: Add Wallpapers To Default Cinnamon Backgrounds Folder

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
rkabelich
Level 1
Level 1
Posts: 2
Joined: Wed Apr 29, 2015 1:35 am

HowTo: Add Wallpapers To Default Cinnamon Backgrounds Folder

Post by rkabelich » Fri Nov 24, 2017 4:38 am

OS: Mint 18 Cinnamon 64-bit
Cinnamon: 3.0.7
Kernel: 4.4.0-101-generic


Unfortunately user defined background resets to default after kernel-updates, sometimes. So it could be necessary to add the picture you want to use to default-backgrounds.
I did this in Linuxmint Sarah. Hereinafter *sarah* might be replaced with the edition you use.


1.
Copy your picture to the backgrounds-folder using administrative permissions:

sudo cp /path-to-the-origin/your-file.jpg /usr/share/backgrounds/linuxmint-sarah/your-file.jpg


2.
Open the backgrounds configuration file using administrative permissions:

sudo xed /usr/share/cinnamon-background-properties/linuxmint-sarah.xml


3.
Add the following lines to the linuxmint-sarah.xml while replacing the name, filename and artist:

<wallpaper deleted="false">
<name>add a title for the picture here</name>
<filename>/usr/share/backgrounds/linuxmint-sarah/your-file.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<artist>your name</artist>
</wallpaper>

Make sure the lines are placed above:
</wallpapers>


Save the file linuxmint-sarah.xml

Change your background in the familiar way.

Post Reply

Return to “Tutorials”