sources/tech/20220408 Create Your Own Custom Light and Dark Wallpaper for GNOME.md
5.8 KiB
Create Your Own Custom Light and Dark Wallpaper for GNOME
AN EASY GUIDE ON – HOW TO CREATE YOUR CUSTOM LIGHT AND DARK WALLPAPER FOR the GNOME desktop. the GNOME desktop.
GNOME 42 brings the much-awaited light and dark theme to GNOME Desktop. It also brings the light and dark version of wallpaper, which automatically changes when you switch between light and dark themes.
So, by default, GNOME gives you a set of pre-configured light and dark wallpapers. But what if you want a different wallpaper that changes automatically when the theme changes?
Here’s how to configure and create your own custom wallpaper for both light and dark themes in GNOME.
How to create custom light and dark wallpaper for GNOME
Firstly, make sure you have two versions of wallpaper handy with you. In general, they should be standard PNG or JPG images. For example, we used below two wallpapers for this demo.
But if you do not have proper light and dark wallpaper and looking for more, I will let you know how to get them or prepare for your own at the end of this guide. Stay with me.
Second, we need to create a schema file for our own. The automatic changing of wallpaper is handled by an XML file called adwaita.xml, which defines specific light and dark backgrounds tags. So, we will create our XML file for the wallpapers.
To do that, copy the contents of adwaita.xml from GitLab, and create a new XML file (the link is down below). You should see two tags inside this file – “filename” and “filename-dark”. These two XML tags contain the fully qualified path of both the wallpapers. Now, add the path to your images under these two tags, as I have shown below.
Download the XML file from here (adwaita.xml.in)
Third, save this file to with any name you want. If the “gnome-background-properties” are not there, create it. For this example, I used my_cool_backgrounds.xml.
And you are all set. Finally, open the settings and go to the Appearance tab, and you should see the new wallpapers are visible as an option.
SEE ALSO: New GNOME Text Editor - Everything You Need to Know
Select your own custom light and dark wallpaper and enjoy.
How to download or make your own dynamic wallpaper
Definitely, you must think, who has the time to find and create both day and night versions of wallpaper? There are several websites that give you dynamic wallpapers ready-made that you can easily download and install.
One website I would recommend is dynamicwallpaper.club which has some excellent high-quality wallpapers up to 6K for macOS. And you can easily download them.
Additionally, if you plan to download from the above website, remember that the site’s images are in heic format because the website is for macOS. The High-Efficiency Video Coding (HEIC) is Apple’s proprietary version of the HEIF or High-Efficiency Image File format.
So, how to convert them in Linux systems? Well, you need a driver to view and convert the dynamic heic images in Ubuntu or Fedora Linux. Open a terminal and run the below commands to install the driver.
users –
sudo apt install heif-gdk-pixbuf
Fedora users –
sudo dnf install libheif
(without this plugin, Plasma apps can’t open heic images)
sudo apt install qt-heif-image-plugin
sudo dnf install qt-heif-image-plugin
Finally, open the heic image with your favourite image viewer and save it as JPG/PNG.
Last of all, don’t forget to let me know down below in the comment section whether you are able to create your own custom dark and light wallpaper for GNOME.
Cheers.
We bring the latest tech, software news and stuff that matters. Stay in touch via Telegram, Twitter, YouTube, and Facebook and never miss an update!
via: https://www.debugpoint.com/2022/04/custom-light-dark-wallpaper-gnome/