How can I pre-set a wallpaper in GNOME?

How can I set a specific default GNOME wallpaper?
4 Replies
pizzalovingnerd
You could try packaging the wallpapers into a package, and than using a gsetting overwrite file to set it example from my old Linux distribution: https://github.com/risiIndustries/risios-backgrounds put this file in /usr/share/glib-2.0/schemas/00_(distroname).gschema.overide, although only keep the wallpaper settings. There's other settings for GNOME in here https://github.com/risiIndustries/risi-settings/blob/main/00_risi.gschema.override I'm sure you can also modify the Containerfiles to do this without making a package
fran
fran4d ago
Maybe have a look at how Bluefin does it right now. They create a bunch of files (XML and pure images) and just copy them when the image is built. Then, as @pizzalovingnerd said, they set the org.gnome.desktop.background property in the gschema.
fran
fran4d ago
GitHub
bluefin/system_files/silverblue/usr/share/glib-2.0/schemas/zz0-blue...
The next generation Linux workstation, designed for reliability, performance, and sustainability. - ublue-os/bluefin
fran
fran4d ago
GitHub
bluefin/system_files/shared/usr/share/backgrounds at main · ublue-...
The next generation Linux workstation, designed for reliability, performance, and sustainability. - ublue-os/bluefin

Did you find this page helpful?