How to get non-image (plain) desktop background? [duplicate]

I don't want a background image on my desktop. Even the color background is a PNG image file. Want just a RGB color pick, or plain background.

Having a background image makes remote desktop too slow.

Ubuntu v19.04


Solution 1:

this answer is targeted for RGB color option

  1. Get your present background picture with the below command

gsettings get org.gnome.desktop.background picture-uri

Example:

pratap@i7:~$ gsettings get org.gnome.desktop.background picture-uri
'file:///usr/share/backgrounds/contest/bionic.xml'
pratap@i7:~$
  1. Make the background picture to none with the below command

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

  1. now the background picture is none so the background will be the value of

gsettings get org.gnome.desktop.background primary-color

Example:

pratap@i7:~$ gsettings get org.gnome.desktop.background primary-color
'#000000'
pratap@i7:~$ 
  1. to set the rgb value for primary-color run the below command with your rgb value

gsettings set org.gnome.desktop.background primary-color 'rgb(255, 173, 100)'

Example:

pratap@i7:~$ gsettings set org.gnome.desktop.background primary-color 'rgb(255, 173, 100)'
pratap@i7:~$ 

other gsettings points to know

gsettings get org.gnome.desktop.background color-shading-type

gsettings get org.gnome.desktop.backgound secondary-color

Alternatively you can use dconf-editor which can be installed with the below command

sudo apt install dconf-editor

enter image description here