hello update from Ubuntu 21.10 to 22.04 but it turns out that after updating I have noticed that variety stopped working and no longer shows me my custom backgrounds in dark mode instead it shows me the Jammy Jellyfish main background.

the folders are already configured

these images are supposed to be displayed

Ubuntu 22.04 LTS Refuses to show my backgrounds in dark mode retaining the main background of Jammy Jellyfish

How To Fix Variety Background Problem on Ubuntu 22.04 LTS

  • I have solved the problem I never knew that exclusive images for dark mode was a new feature in the end I had to use Variety (for light mode) and Shotwell for dark mode) Commented Apr 24, 2022 at 0:58

2 Answers 2


You need to adjust a bit set_wallpaper script used by variety. Use this command to allow to change wallpapers in dark mode. By the way, since version 0.8.7, variety will do it automatically.

sed -i '/^# Gnome 3, Unity*/a gsettings set org.gnome.desktop.background picture-uri-dark "file://$WP" 2> /dev/null' /home/$USER/.config/variety/scripts/set_wallpaper

The command will search '# Gnome 3, Unity' string in your ~/.config/variety/scripts/set_wallpaper script to add this:

gsettings set org.gnome.desktop.background picture-uri-dark "file://$WP" 2> /dev/null
  • 2
    you are hero. Thanks a ton!
    – mastier
    Commented Apr 26, 2022 at 22:31
  • 2
    Thanks. Worked like a charm for me on Pop!_OS Commented May 3, 2022 at 22:21
  • this is making my desktop freeze, how do I undo this?
    – Badjano
    Commented Aug 15, 2022 at 2:36
  • can someone please tell me how to revert this, it has really effed up my desktop
    – Badjano
    Commented Aug 16, 2022 at 22:40
  • 1
    I think it would be really useful, if you could describe what this command actually changes in the script.
    – Stibu
    Commented Aug 17, 2022 at 6:41

Was resolved in https://github.com/varietywalls/variety/releases/tag/0.8.7

So now you just need to install variety from official ppa and everything works out of the box.

You must log in to answer this question.

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