2

I cannot figure out how to make a desktop gradient in 18.04 (upgraded from 16.04, and there it was simply in the settings, but seems to be gone in 18.04 :-(( THANKS!

2
  • Are you referring to the solid color gradient for desktop background?
    – doug
    Nov 5, 2018 at 12:18
  • yes, and PRATAP already answered this below :-)
    – Stefan
    Nov 5, 2018 at 13:54

1 Answer 1

2

First set any color from settings>background>background>color

enter image description here

I use https://www.color-hex.com/ this website for choosing colors.

then run below commands

gsettings set org.gnome.desktop.background color-shading-type 'horizontal'

you may put 'vertical' also

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

Example

pratap@pratap:~$ gsettings set org.gnome.desktop.background color-shading-type 'horizontal'
pratap@pratap:~$ gsettings set org.gnome.desktop.background primary-color '#456789'
pratap@pratap:~$ gsettings set org.gnome.desktop.background secondary-color '#000000'
pratap@pratap:~$ 

replace any color you want in above commands.

Horizontal Grading enter image description here

Vertical Grading enter code here

3
  • Hello, What if I want to factory reset these background settings back to normal?
    – Vin Raghav
    Oct 4, 2021 at 11:18
  • gsettings reset org.gnome.desktop.background color-shading-type
    – UnKNOWn
    Oct 4, 2021 at 11:30
  • You have to use that reset to number of settings you changed.
    – UnKNOWn
    Oct 4, 2021 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.