Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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 
share|improve this answer
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 1 '12 at 13:24
That looks interesting. Do you want me to update my answer with your comment now? – jokerdino Jun 1 '12 at 13:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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