2

I see the picture wallpapers are stored in /usr/share/backgrounds but I want to know where the files are being stored when I select System Settings > Appearance > Colors & Gradients.

Where can I get the .jpg or .png of just the color?

  • i don't know if it's a .jpg or .png files as a programmer if i use image box i will only set a color not image and if you set wallpaper image at end converted to color i don't know if ubuntu convert colors to image !! – Mohamed Slama Jun 21 '16 at 22:00
  • if you really need this image you can edit your question to you need color | Gradient color – Mohamed Slama Jun 21 '16 at 22:04
1

They are not stored as file anywhere. They're defined in dconf database. Specifically these schemas:

/org/gnome/desktop/background/color-shading-type

/org/gnome/desktop/background/secondary-color

/org/gnome/desktop/background/primary-color

If you run in terminal dconf watch / and then change to vertical gradient, and then change one of the colors, you will see what schemas get changed:

$ dconf watch /
/org/gnome/desktop/background/color-shading-type
  'vertical'
/org/gnome/desktop/background/picture-options
  'none'
/org/gnome/desktop/background/picture-uri
  ''

/org/gtk/settings/color-chooser/selected-color
  (true, 0.54117647058823526, 0.88627450980392153, 0.20392156862745098, 1.0)

/org/gtk/settings/color-chooser/selected-color
  (true, 0.54117647058823526, 0.88627450980392153, 0.20392156862745098, 1.0)

/org/gtk/settings/color-chooser/selected-color
  (true, 0.44705882352941179, 0.62352941176470589, 0.81176470588235294, 1.0)

/org/gtk/settings/color-chooser/selected-color
  (true, 0.93333333333333335, 0.93333333333333335, 0.92549019607843142, 1.0)

/org/gnome/desktop/background/primary-color
  '#eeeeeeeeecec'
  • Is it possible for me to "save" one of these colored desktops, say for use on Debian? – user308393 Jun 22 '16 at 3:05
  • I don't think it's possible. You can always screenshot empty desktop and crop out the top panel though. Or use image editing software to make an image with gradient. That's what i did for my login screen picture – Sergiy Kolodyazhnyy Jun 22 '16 at 3:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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