Thank you, Now I have installed all the fonts and the graphics can be displayed normally. But why the bar in Memory and HDD and calendar can't displayed in correct postition?
I have provided the screenshot:
Thank you, Now I have installed all the fonts and the graphics can be displayed normally. But why the bar in Memory and HDD and calendar can't displayed in correct postition?
I have provided the screenshot:
I hope you're kidding...
I see examples of my code, in various stages of development, all over the web. It's very easy to spot (as you've previously suggested). Would evil code lurk around every corner on the globe, and survive? I think not.
I killed the mem leak in londonali1010's most excellent background lua script. It took me a month to do what others couldn't do in a year and a half. Does that make me an evil genius? I would have kept the fix to myself, if I was "truly nuts".
I would judge that most noobs don't have a problem using my code, if they follow the comments. And, if they choose to ignore the comments, how does that reflect poorly on me?
We're both supposed to be on holiday. It was forced upon me, by a high-ranking mod. Every post I submit subtracts from my "bean count". I was exiled at 400+ "beans", now it's in the 200's. In your case, it was self-imposed, yes? Whom is the nut - me, you, or the mod (or all of us)?
Ppl continue to fill my inbox with requests. I send them over here. Does that make me mad, or just short on time?
It is, what is is. I can't help it if someone has had a stroke, and lost the use of one of their hands, can't follow instructions (real life example), and so forth, and so on. Everyone is in a different walk through computerdom. Some ppl cannot attain the experience you demand, no matter what. In some cases, life has dealt them a cruel hand, and they need to deal with it - but not necessarily alone.
With a little help, we'll get them on the right path, but suggesting that I'm nuts, evil, and have ruined this thread, is giving me way too much credit.
I wouldn't know how to be evil, if I tried. The whole concept is alien to me. And, I can assure you, I'm not nuts. And, I'm not messing with anybody. I post what I run - and that's it - nothing more, nothing less. My data dumps are a direct copy n' paste of my config files.
Sure, I code in my sleep, but doesn't everybody? LoL!
The madness occurs when you try to code your dreams.
It's a fine distinction...
Last edited by VinDSL; May 6th, 2011 at 09:28 AM. Reason: clarification
Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU
Set proper 'x,y' positions in bargraph_small.lua script, like
Code:{ --[ Graph for Memory ]-- name="memperc", arg="", max=100, alarm=50, alarm_colour={0xFF0000,0.72}, bg_colour={0xFFFFFF,0.25}, fg_colour={0x00FF00,0.55}, mid_colour={{0.45,0xFFFF00,0.70}}, x=15,y=218, blocks=77, space=1, height=2,width=5, angle=90, smooth=true },
Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU
You should load your lua script and fiddle with the x and y positions.
Your Memory and HDD bars: make them one or two blocks shorter and move the starting point a bit more to the right (the y position).
The same goes for your CPU bars, move them a bit to the right and lower.
Alterations take effect as soon as you save your lua script.
The vertical position depends on the vertical offset (voffset) tag.
The horizontal position depends on the horizontal offset (offset) tag.
As you can see, Conky 1.8.0 & 1.8.1 handle spacing differently. Some ppl *think* this is a bug, but it's simply handled differently, depending on which version of Conky that you're running.Code:#### ## Uncomment for Conky 1.8.0 ${voffset -75}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_8=`date +%-d`; cal -h | sed -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_8"'\>/${color4}&${color3}/'}${font} #### ## Uncomment for Conky 1.8.1 ${voffset -75}${offset 100}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_8=`date +%-d`; cal -h | sed -e '1d' -e 's/\<'"$VinDSL_Cal_8"'\>/${color4}&${color3}/'}${font} ${voffset -99}${font CutOutsFor3DFX:size=67}${color8}${alignc 99}2${font}
The last line is for the frame around the date. The same concept applies to it.
Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU
Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU
Code:# set to yes if you want Conky to be forked in the background background yes use_xft yes xftfont HandelGotD:size=9 xftalpha 0.5 update_interval 4.0 total_run_times 0 own_window yes own_window_type normal own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 200 5 maximum_width 250 draw_shades no draw_outline no draw_borders no draw_graph_borders yes default_color grey default_shade_color red default_outline_color grey alignment top_right gap_x 12 gap_y 48 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale yes TEXT ${voffset 2}${font WenQuanYiMicroHei:bold:size=8.75}${color4}DATE & TIME${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 18}${font LiberationMono:size=8}${color3}${alignc 60}${time %A}${font} ${voffset -3}${if_match ${time %e}<=9}${font LiberationMono:size=22}${color4}${alignc 70}${time %e}${font}${else}${if_match ${time %e}>=10}${font LiberationMono:size=22}${color4}${alignc 60}${time %e}${font}${endif}${endif} ${voffset -1}${font LiberationMono:size=8}${color3}${alignc 60}${time %B}${font} ${voffset -3}${font LiberationMono:size=8}${color3}${alignc 60}${time %Y}${font} ${voffset -82}${font LiberationMono:size=8}${color3}${execpi 1800 VinDSL_Cal_4= cal | sed '1d' | sed s/^/"\$\{offset 107"\}/ | sed '/^ *$/d' | sed 's/\<'"$(date +%-d)"'\>/${color4}&${color3}/'}${font} ${voffset -90}${font CutOutsFor3DFX:size=64}${color8}${alignc 99}2${font} ${alignc}${font Arial Black:size:24}${time %H:%M %p}${font} SYSTEM ${hr 2} $sysname $kernel on $machine Hostname $alignr $nodename Uptime $alignr $uptime Intel(R) Core(TM) i7cpu 920 @ 2.67GHz CPU $alignr ${cpu cpu0}% ${cpugraph cpu0} MEM $alignc $mem / $memmax $alignr $memperc% ${memgraph ff0000 77a44a} SWAP $alignc $swap / $swapmax $alignr $swapperc% ${swapbar} ROOT $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}% ${fs_bar /} PROCESSES ${hr 2} $processes processes ($running_processes running) NAME $alignr PID CPU MEM ${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1} ${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2} ${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3} ${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4} ${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5} ${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6} ${top name 7} $alignr ${top pid 7} ${top cpu 7} ${top mem 7} ${top name 8} $alignr ${top pid 8} ${top cpu 8} ${top mem 8} WEATHER ${hr 2} ${if_existing /proc/net/route eth0} ${voffset -8}${font ConkyWeather:size=36}${execi 500 /usr/bin/conkyForecast --location=USPA0311 --datatype=WF}${font} ${voffset -52}${font ConkyWeather:size=40} ${font}${voffset -40}${font sans:size=26}${execi 500 /usr/bin/conkyForecast --location=USPA0311 --datatype=HT --imperial}${font} ${voffset 0}${font}Barometer Tendency: ${alignr}${execi 500 /usr/bin/conkyForecast --location=USPA0311 --datatype=BD} ${voffset 0}Humidity: ${alignr}${execi 500 /usr/bin/conkyForecast --location=USPA0311 --datatype=HM} ${voffset 0}${font}Wind Speed: ${alignr}${execi 500 /usr/bin/conkyForecast --location=USPA0311 --hideunits --datatype=WS} mph ${execi 500 /usr/bin/conkyForecast --location=USPA0311 --hideunits --datatype=WD} ${voffset 0}Daylight: ${alignr}${execi 500 /usr/bin/conkyForecast --location=USPA0311 --datatype=SR} - ${execi 500 /usr/bin/conkyForecast --location=USPA0311 --datatype=SS} ${voffset 0}Moon Phase: ${alignr}${execi 500 conkyForecast --location=USPA0311 --datatype=MP} NETWORK ${hr 2} ${alignc} eth0 ${addr eth0} INBOUND $alignr ${downspeed eth0} kb/s ${downspeedgraph eth0 ff0000 77a44a} OUTBOUND $alignr ${upspeed eth0} kb/s ${upspeedgraph eth0 000099 77a44a}
I'm having an issue with DATE & TIME in my conky script.
there is a big 2 in front of the date.Plus the date in the calendar is not highlighted. Any help would be appreciated.
file:///home/stanley/Desktop/Screenshot.png
rusty
Bookmarks