How to edit background options through command line for gnome based distros

Gnome has its own command line setup app called gsettings. Settings in ubuntu system is registered on schemas. Through cli we can get and set the options for the entire system in terminal sneaky.

What do we have to be able to set

$ gsettings list-schemas

What are the keys of a setting

$ gsettings list-keys org.gnome.desktop.background

How to get the latest setup for a sepcific option

$ gsettings get org.gnome.desktop.background picture-options

Hot to set an option for a keybinding

$ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Super>Page_Down', '<Ctrl><Alt>Up']"


Background Types:

org.gnome.desktop.background picture-options:
“none”, “wallpaper”, “centered”, “scaled”, “stretched”, “zoom”, “spanned”