[SOLVED] Top name function in my conky

Add functionality to your desktop
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
dollyp
Level 3
Level 3
Posts: 108
Joined: Sun Jul 24, 2011 4:50 pm

[SOLVED] Top name function in my conky

Post by dollyp »

I have the following (repeating 1-5) line in my conky

Code: Select all

${offset 20}${top name 1}${goto 220}${top cpu 1} ${goto 274}${top mem 1}
${top name #} is often too long for the space and overwrites the following variables on the line. Is there a way to restrict it's length to a specific or maximum length?

Also is it possible to have it refresh less often?

Thanks
David

Linux 20.3 Cinnamon
Last edited by dollyp on Thu Jan 19, 2023 1:06 pm, edited 1 time in total.
User avatar
zcot
Level 8
Level 8
Posts: 2223
Joined: Wed Oct 19, 2016 6:08 pm

Re: Difficulty with the top name function in my conky

Post by zcot »

from the manual:

Code: Select all

       top_name_width
              Width for $top name value (defaults to 15 characters).
That's a global config variable.
dollyp
Level 3
Level 3
Posts: 108
Joined: Sun Jul 24, 2011 4:50 pm

Re: Difficulty with the top name function in my conky

Post by dollyp »

Thank you. Finding and changing that variable sorted my problem.

I also found the answer to my other query about slowing down the refresh rate. That is the variable update_interval and changing it from 1 to 1.2 made the difference for me.

David
Post Reply

Return to “Compiz, Conky, Docks & Widgets”