gsettings get org.gnome.desktop.background picture-uri
Read a GNOME settings key
gsettings reads and writes the DConf settings database through the session's DBus, and this fetches the current wallpaper URI. Keys are addressed as schema plus key name, here the background schema's picture-uri. The value prints in GVariant syntax with quotes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.