Booting into Ubuntu or switching your appearance to Dark Mode only to find your custom desktop wallpaper replaced by a stark solid pitch-black background — while your dock and open windows work normally — almost always traces back to one of three harmless causes: the original photo file you picked got moved or deleted from Downloads, Ubuntu’s separate Light/Dark wallpaper key sits empty, or a desktop-icons GNOME extension crashed quietly.
Fix 1: Keep Custom Wallpapers in a Permanent Folder (Not Downloads or USB Drives)
Unlike Windows, which saves a hidden cached wallpaper copy elsewhere, Ubuntu reads your chosen background straight from its original file path on every boot:
- If you right-clicked a photo sitting inside
~/Downloadsor on an external USB hard drive and later deleted, renamed, or unplugged that file, Ubuntu turns the desktop black straight away. - Copy your favourite background images into a permanent folder such as
~/Pictures/Wallpapers/, open Settings > Appearance (or Background), click Add Picture…, and select the file from its permanent home folder.
Fix 2: Check Dark Style vs Light Style Separate Wallpaper Settings
Modern Ubuntu (GNOME 42+) stores two distinct wallpaper paths — one for Light Style (picture-uri) and a separate one for Dark Style (picture-uri-dark):
- Open Ubuntu Settings > Appearance.
- Look at the two Style cards (Default / Dark) and re-click any built-in Ubuntu wallpaper thumbnail once cleanly while in your active Dark or Light mode to repopulate the matching path.
- Or restore the default Ubuntu wallpaper cleanly from Terminal (Ctrl + Alt + T) with:
gsettings reset org.gnome.desktop.background picture-uri && gsettings reset org.gnome.desktop.background picture-uri-dark
Fix 3: Restart Desktop Icons Extension or Check Free Disk Space
If picking built-in Ubuntu wallpapers in Settings still stays completely black, open Terminal and run df -h / to ensure your main Linux partition is not 100% full (preventing desktop rendering), or open Ubuntu’s Extensions app and toggle Desktop Icons NG (DING) off and back on once to refresh the desktop backdrop layer cleanly.