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'm trying to tweak a .conkyrc (the weather bit of this one) that includes (not quite) this line:

${image ~/.conky/google-now/images/humidity.png -p 0,155 -s 15x15}${goto 35} SOME STUFF ${voffset 15}

The -p 0,155 positions the image variable. I read the documentation for goto, I know that goto 35 prints the next element at position 35 but I don't quite know what that means. The voffset pushes the text down, but setting voffset to 155 doesn't seem to push the text down to the image. How do i line them up?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

I would still love some kind of screen ruler thing that would make this easier, or code to report the position to the screen, but offset and voffset adjust x or y based on your current location -- they're relative to where text would appear if you didn't offset it. goto is absolute -- position 35 is 35 pixels (I might be off about the units) from the left hand margin. offset 35 is wherever you are plus 35 pixels. Image placement (-p 0,155) is similarly absolute.

share|improve this answer
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.