Ubuntu 20.04 change background to solid colour

There was an option to change background to solid color. However, I notice that that option is no longer there.

The only options available are to use existing image or to add picture.

Was this setting moved to somewhere else?

enter image description here

Here are some of the option available in the previous version

Ubuntu Studio 18.04 64-bit

Why can't I change my background to a solid colour

Look at the solid colour settings there

enter image description here


Solution 1:

Newer versions of Ubuntu Desktop have removed the capability to set the background to a solid color. You may run the following command in a terminal window to accomplish this task:

To clear the current image setting:

gsettings set org.gnome.desktop.background picture-uri ""

To set the primary color (the first color in a gradient or the solid color):

gsettings set org.gnome.desktop.background primary-color '#000000'

Reference: https://www.fcpace.com/node/55

Solution 2:

Solid and Gradient Wallpaper

I use Open Office Draw to create my gradient backgrounds, then export the .odg file as a .jpg. I select this .jpg when I Change Background. I increase the size of the image a little when exporting it. You are welcome to my image, (attached), if you like. In my opinion 20.04 has the worst screen images of any Ubuntu to date.

enter image description here

enter image description here

Solution 3:

So building on Sabrina's answer to create a plain colour gradient background without messing around making an image the following works:

gsettings set org.gnome.desktop.background picture-options 'none'
gsettings set org.gnome.desktop.background primary-color '#004000'
gsettings set org.gnome.desktop.background secondary-color '#306030'
gsettings set org.gnome.desktop.background color-shading-type 'vertical'

The primary colour will be the top (or left if you go for horizontal instead of vertical) and the secondary colour will be the bottom (or right).