Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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'
share|improve this answer
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 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
add comment

Your Answer

 
discard

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.