Hi gareth_005
I don't see the ${alignr TAB} in either of those codes mentioned.
I see in the variables page:
So I tested:Code:tab (width, (start)) Puts a tab of the specified width, starting from column 'start'
Which gave me the attached image.Code:TEXT tab (width, (start)) Puts a tab of the specified width, starting from column 'start' ${tab 0,1000}This is test one${tab 80,0}this is another test two ${tab 80,20}This is test one${tab 81,9000}this is another test two ${tab 25,0}test 1 2 3 13 15 20 25${tab 25,0}test 4 5 6 7 So what happens if I add text here?${tab 25,5000}test 8 9 10 11 12 ${tab 250,10}test 8 9 10 11 12 ${goto 50}NOT${tab 50,10}OK${goto 250}test 8 9 10 11 12
Can you, or someone else, explain just what TAB does?
It almost looks like a GOTO but not quite.
Thanks, have a nice day
Bruce
Here is some tabbed alignment for the first process, the docs say space, I said tab, my bad.
alignr = Right-justify text, with space of N
Using this format, all text is written on one line, the voffset will undo the line feed. The line feed is required as everything after ${alignr} is right aligned, Unless we put a line feed in there.Code:${alignr 176}${top pid 1}${voffset -13} ${alignr 144}${top cpu 1}${voffset -13} ${alignr 112}${top mem 1}${voffset -13} ${goto 112}${top name 1}${voffset -2}
The ${alignr} amount is decreases for each item as we are now leaving space for the previous/current item.
The last line is a simple goto, as it's the last item.
I'm going to sleep soon, hope that helps.
psis the line height of arial font, size 7.Code:${voffset -13}
Last edited by gareth_005; June 8th, 2008 at 11:18 PM.
Hey guys, I am sure this was brought up already but I cant see going thru all these threads looking for the answer
I have a multi core cpu and would like to see a bar graph for each individual cpu.. I grabbed this from another conky file but doesnt show multi bar graphs...I have a quad core cpu.
thxs
${color #0077ff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color #8b3d3d}${freq_dyn}Mhz
${color #0077ff}Usage:${color #0077ff} ${color #8b3d3d}${cpu}% ${color #0077ff}${cpubar}
${color #0077ff}${cpugraph 000000 0077ff}
${cpugraph 30 8ca0b0 cf8187}
any help would be appreciated.....
Last edited by darco; June 9th, 2008 at 11:45 PM.
Reason: no beans
Does anyone know why my conky display only shows up to /d in /data, and nothing past that?
.conkyrc:
Code:# set to yes if you want Conky to be forked in the background # make conky its own window own_window yes own_window_type desktop own_window_transparent no own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager background no # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # fiddle with window use_spacer yes use_xft yes # Update interval in seconds update_interval 3.0 # Draw shades? draw_shades no # Text stuff draw_outline no # amplifies text if yes draw_borders no uppercase no # set to yes if you want all text to be in uppercase draw_shades no draw_outline no draw_borders yes stippled_borders 0 border_margin 3 border_width 0 # Default colors and also border colors, grey90 == #e5e5e5 default_color white color1 #2D1ED9 color2 #ffffff own_window_colour 000000 own_window_transparent no # Text alignment, other possible values are commented alignment top_left #alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text gap_x 10 gap_y 10 minimum_size 1420 5 override_utf8_locale no xftfont AvantGarde LT Medium-7 xftalpha 0.8 TEXT Arch: $kernel | Up: $uptime | CPU: ${Freq_dyn} MHz 1: ${cpu cp1}% 2: ${cpu cpu2}% | RAM: $mem/$memmax $memperc% | / ${fs_used /}/${fs_size /} ${fs_free_perc /} /data ${fs_used /home/alex/data}/${fs_size /home/alex/data}${fs_free_perc /home/alex/data} | Down: ${downspeed eth0} k/s | UpS: ${upspeed eth0} k/s | Mail: ${execi 300 gmail}|
The cpu stuff (${cpu} and ${cpubar}) just need arguments. So use ${cpu cpu1}, ${cpu cpu2}... for each core. The argument "cpu0" gives the average. You can find the variables on the Conky variable page.
Another question, using this to determine my hard drive space and percentage being used..
${color 8ca0b0}Used Hard Drive Space:${color b5cca0} $fs_used_perc% ${alignr}${fs_used /home}/${fs_size /home}
${color ae8d66}${membar 5}${fs_bar 5 /home}
I have a 247.77 gb hdd and am only using 5.63gb but the percentage being used says 25%? How can I adjust this?
thxs
darco
Bookmarks