One of the main features in GNOME 42 is the availability of a dual tone wallpapers for dark and light mode.
Basically, with this feature, if you select the light mode, the light version of the wallpaper is selected. When you switch to dark mode in GNOME, wallpaper changes to the dark version.
Here’s a sample of such a wallpaper. You can move the slider to compare.
This dual themed wallpaper is available under the Background section in the Settings -> Appearance.
However, it may not be present in some cases and you may see an empty Background section like this:
This is what my teammate Sreenath noticed when he updated his Endeavour OS system and got the new GNOME 42 desktop.
Enable dark and light themed wallapers in GNOME 42
If you are also facing the same situation with GNOME 42, there is a quick and easy solution. Use your distribution’s package manager and install gnome-backgrounds package. That’s it.
First, please check the desktop environment details and ensure that you are running GNOME 42. You can find it in the About section of system settings.
Once you have made sure that your system has GNOME 42, go on with the rest of the steps.
sudo pacman -S gnome-backgrounds
Wait for the command to finish.
No need to restart or even log out. The changes will take place immediately.
Just go to the Appearance in the Settings and look under the Background section. You should see various wallpapers with dual modes.
Select a pair and it sets the image based on your system theme.
That’s cool. But you only get a handful of dual themed wallpapers made available by the GNOME or your distro’s developers. What if you want to have your own set of dark and light mode wallpapers? Well, you can achieve that with a little tweaking and patience.
Making your own dual themed wallpapers (for advanced users)
I presume that you know your things while trying these steps to add additional wallpapers in dark and light mode variants.
- Download two images
- Rename it as (say) image-l.jpg for light and image-d.jpg for dark
- Create a folder called gnome-background-properties in /usr/share for systemwide or .local/share for single user
- Copy the code of GNOME from its GitLab repo to a text editor and change the location of respective light and dark image files inside <filename> tag
- Save it in the gnome-background-properties folder you created earlier
- Backgrounds can be changed now from system settings
Need more help? baby WOGUE has a good video showing the steps in action:
I hope you liked this quick little tip. Enjoy it.