Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do you tell conky to read a global environment variable? Simple outputting of a variable works, but when used as a parameter, it doesn't work the way it should. For example, I have a env variable INTERFACE which contains the current used network interface, so I can display the network graph according to it.

If try something like Interface used is: $INTERFACE, it does actually output Interface used is: eth0. But it won't work in the following example:

Down:${color #8844ee} ${downspeedf $INTERFACE} k/s

Am I doing something wrong?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.