HowTo: Add Wallpapers To Default Cinnamon Backgrounds Folder

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
rkabelich

HowTo: Add Wallpapers To Default Cinnamon Backgrounds Folder

Post by rkabelich »

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 (without blanks) and artist:

<wallpaper deleted="false">
<name>add a title for the picture here</name>
<filename>/usr/share/backgrounds/linuxmint-sarah/your-file.jpg>
<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”