3

I would like to use unity's average background color (the color of the launcher) in conky, is there a (configuration) file which contains that color information? Or how could I fetch that?

Jorge Castro
  • 71,754

1 Answers1

2

As I was digging around the Dconf settings Install Dconf-tools, I found this setting.

enter image description here

You can use this command to obtain the average background colour:

$ dconf read /desktop/unity/average-bg-color 
'#23d621a3050e'
jokerdino
  • 41,320
  • 2
    Thank you for your help, and sorry for my late answer, I've just checked today your suggestion. Anyway, your answer doesn't work for me, there were some problems with dconf, but one of unity's developers pointed out that command: xprop -root | grep _GNOME_BACKGROUND_REPRESENTATIVE_COLORS which simply works. – Gergey Kalmár Jun 01 '12 at 13:24
  • That looks interesting. Do you want me to update my answer with your comment now? – jokerdino Jun 01 '12 at 13:29