Conky Support, Codes and Screenshots

Sector11

When I close the conky I see:
sector11 @ sector11
02 Mar 13 | 19:14:41 ~
         $ Conky: desktop window (260) is root window
Conky: window type - normal
Conky: drawing to created window (0x3a00001)
Conky: drawing to double buffer
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 375382 requests (375375 known processed) with 0 events remaining.

[1]+  Exit 1                  conky -c /media/5/Conky/S11_Connections.conky
sector11 @ sector11
02 Mar 13 | 19:28:08 ~
         $


So I have to figure out what causes that as well.
Stay Home

lwfitz

HAHAHAHA! Thats great! I read this right as  was "C4'ing" a Sector11 masterpiece
Don't Be A Dick!

jedi

#272
Done for a little while.  (I can beat this Conky addiction, I just know I can)  One question for Sector11, on the wonderful Right Vertical Weather template, would it be possible to get the two "yellow_1.png" images from you?  You just keep making this Conky stuff easier and easier Sector11...



If anyone wants configs, don't hesitate to ask...  Too tired to post them right now or do any more geeking tonight!  I'll jump on tomorrow and post them since this is the scrot/config board...

the horizontal conky;


# killall conky && conky -c /media/5/Conky/S11_VSIDO.conkyrc &
# Original by: VastOne on VSIDO

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer right

# Use Xft?
use_xft yes
xftfont Monofur:bold:size=12
xftalpha 1.0
# text_buffer_size 256

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
# own_window_argb_visual yes
own_window_class Conky

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin 5

# border width
border_width 0

# Default colors and also border colors
default_color 00BFFF #  0 191 255   DeepSkyBlue
color0 FFDEAD #255 222 173   NavajoWhite
color1 7FFF00 #127 255   0   Chartreuse
color2 778899 #119 136 153   LightSlateGray
color3 A5A7B7 #255 140   0   BlueGreyLight
color4 F0FFFF #240 255 255   Azure
color5 FFDEAD #255 222 173   NavajoWhite
color6 7B68EE #123 104 238   MediumSlateBlue
color7 00FFFF #  0 255 255   Cyan
color8 FFFF00 #255 255   0   Yellow
color9 FF0000 #255   0   0   Red

#default_shade_color black
#default_outline_color grey
own_window_colour 000000

# Text alignment, other possible values are commented
#alignment top_middle
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 20

minimum_size 1310 0  ## width, height
#maximum_width 1000     ## width


# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off (no).
short_units yes

# Forces Conky not to cache images
imlib_cache_size 0

#lua_load /home/jed/conky/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x2B4287 0.2
#
TEXT
#${lua conky_draw_bg 10 0 20 0 80 0x0A111F 0.6}\

${color5}  JedsDesk logged into ${color3}${execi 2600 cat /etc/issue.net}-VSIDO-1_2 ${color1}Success! ${color5}Kernel Currently in use - ${color3}${kernel}, ${color5}System Online for ${color3}${uptime}, ${color5}Current Mem use${color3}${if_match ${memperc}<10} ${memperc}${else}${if_match ${memperc}<100}${memperc}${else}${memperc}${endif}${endif}% ${color5}or ${color3}(${mem}/${memmax}), ${color5}Avg Quad Core Usage: ${color3}${cpu cpu0}% ${color5}Avg Load: ${color3}${loadavg},
${color5}  Socket Temp (all temps Celsius):${color9}${hwmon temp 3}${color}${font} Core 1 Temp: ${color9}${execi 10 sensors | grep "Core 1" | cut -d "+" -f2 | cut -c1-2}º ${color5}CPU1: ${color3}${freq_g 1}Gh ${cpu cpu1}% ${color5}CPU2: ${color3}${freq_g 2}Gh ${cpu cpu2}% ${color}Core 2 Temp: ${color9}${execi 10 sensors | grep "Core 2" | cut -d "+" -f2 | cut -c1-2}º ${color5}CPU3: ${color3}${freq_g 3}Gh ${cpu cpu3}% ${color5}CPU4: ${color3}${freq_g 4}Gh ${cpu cpu4}% ${color}Core 3 Temp: ${color9}${execi 10 sensors | grep "Core 3" | cut -d "+" -f2 | cut -c1-2}º ${color5}CPU5: ${color3}${freq_g 5}Gh ${cpu cpu5}% ${color5}CPU6:${color3} ${freq_g 6}Gh ${cpu cpu6}% ${color}Core 4 Temp: ${color9}${execi 10 sensors | grep "Core 0" | cut -d "+" -f2 | cut -c1-2}º ${color5}CPU7: ${color3}${freq_g 7}Gh ${cpu cpu7}% ${color5}CPU8: ${color3}${freq_g 8}Gh ${cpu cpu8}%\

${color5}  Internal Laptop Temp:${color9}${hwmon temp 1} ${color5}Motherboard Temp:${color9}${hwmon temp 2} ${color5}Network Status:${color7}(System Online)${color1} Dn:${color3}${downspeed wlan0} ${color7}Up:${color3}${upspeed wlan0}${color5} Wireless Signal${color3} ${wireless_link_qual_perc wlan0}${color5}Battery ${color3}${battery_percent BAT1}% ${battery_time BAT1}  ${color5}jedsdesk: ${color3}${execi 90 conkyEmail --servertype=POP --servername=mail.yourmailserver.com --ssl --username=yours --password=drowssapton --mailinfo=0}${color5} live: ${color3}${execi 900 conkyEmail --servertype=POP --servername=pop3.live.com --ssl --username=yours@live.com --password=drowssapton --mailinfo=0}${color5} hotmail: ${color3}${execi 900 conkyEmail --servertype=POP --servername=pop3.live.com --ssl --username=yours@hotmail.com --password=drowssapton --mailinfo=0}


the weather is v9000 with one of the masters (Sector11) templates;

S11_V9_R-template.lua (only modified for 12 hour time format)


--[[
The latest script is a lua only weather script. aka: v9000
http://crunchbanglinux.org/forums/topic/16100/weather-in-conky/

the file:
http://dl.dropbox.com/u/19008369/current%20v9000/v9000.tar.gz

mrppeachys LUA Tutorial
http://crunchbanglinux.org/forums/topic/17246/how-to-using-lua-scripts-in-conky/
]]
_G.weather_script = function()--#### DO NOT EDIT THIS LINE ##############
--these tables hold the coordinates for each repeat do not edit #########
top_left_x_coordinate={}--###############################################
top_left_y_coordinate={}--###############################################
--#######################################################################
--SET DEFAULTS ##########################################################
--set defaults do not localise these defaults if you use a seperate display script
-- default_font="CorporateMonoExtraBold"--font must be in quotes
-- default_font_size=10
default_font="monofur"--font must be in quotes
default_font_size=12
default_color=0xffffff--white
default_alpha=1--fully opaque
default_image_width=20
default_image_height=20
-- ## New Options ###
default_face="bold"
-- "normal" for normal/normal
-- "bold" for normal/bold
-- "italic" for italic/normal
-- "bolditalic" for italic/bold
--END OF DEFAULTS #######################################################
--START OF WEATHER CODE -- START OF WEATHER CODE -- START OF WEATHER CODE
datay=15 -- ↑↓
datayh=55
datayf=75
datayy=13 --datay+(datayy*1)

imgyh=165
imgyf=190
imgyy=39 -- imgy+(imgyy*1)



out({c=0x00FFFF,a=1,x=12,y=15,txt="PQI"})
-- today is
out({c=0x00FFFF,a=1,x=5,y=28,txt=forecast_day_short[1]})
out({c=0x00FFFF,a=1,x=35,y=datay+datayy,txt=forecast_date[1]})
-- out({c=0x00FFFF,,a=1,x=6,y=50,txt="cpu:"..conky_parse("${cpu}")})

out({c=0xF0FFFF,a=1,x=5,y=datay+(datayy*2),txt=low_temp[1]})
out({c=0xFF8C00,a=1,x=30,y=datay+(datayy*2),txt=high_temp[1]})
  image({x=5,y=45,h=45,w=45,file=weather_icon[1]})
--image({x=5,y=45,h=45,w=45,file="/media/5/Conky/images/red+x.png"})

out({c=0xFFDEAD,a=1,x=15,y=datay+(datayy*7),txt="NOW"})
out({c=0xF0FFFF,a=1,x=7,y=datay+(datayy*8),txt=now["temp"]})
out({c=0xFFDEAD,a=1,x=30,y=datay+(datayy*8),txt=now["feels_like"]})
image({x=5,y=120,h=45,w=45,file=now["weather_icon"]})
--image({x=5,y=120,h=45,w=45,file="/media/5/Conky/images/red+x.png"})

out({c=0x00FFFF,a=1,x=5,y=datay+(datayy*12.5),txt="B.P."})
out({c=0xF0FFFF,a=1,x=5,y=datay+(datayy*13.4),txt=now["pressure_mb"]})
out({c=0x00FFFF,a=1,x=5,y=datay+(datayy*14.5),txt="Hum"})
out({c=0xF0FFFF,a=1,x=30,y=datay+(datayy*14.5),txt=now["humidity"].."%"})
out({c=0x00FFFF,a=1,x=5,y=datay+(datayy*15.5),txt="DP"})
out({c=0xF0FFFF,a=1,x=30,y=datay+(datayy*15.5),txt=now["dew_point"].."°"})
out({c=0x00FFFF,a=1,x=5,y=datay+(datayy*16.5),txt="UV"})
out({c=0xF0FFFF,a=1,x=30,y=datay+(datayy*16.5),txt=uv_index_num[1]})
out({c=0xF0FFFF,a=1,x=5,y=datay+(datayy*17.5),txt=uv_index_txt[1]})

-- yellow line
--image({w=45,h=1,x=5,y=datayh+(datayy*15),file="/media/5/Conky/images/yellow_1.png"})
out({c=0xFFDEAD,a=1,x=10,y=datayh+(datayy*16),txt="3 HRS"})
-- 3 hour output
-- 1st hour
out({c=0x00FFFF,a=1,x=11,y=datayh+(datayy*17),txt=now["fc_hour1_time"].."  "..now["fc_hour1_ampm"]})
image({x=25,y=imgyh+(imgyy*3),file=now["fc_hour1_wicon"]})
--image({x=25,y=imgyh+(imgyy*3),file="/media/5/Conky/images/red+x.png"})
out({c=0xF0FFFF,a=1,x=5,y=datayh+(datayy*18.5),txt=now["fc_hour1_temp"]})

-- 2nd hour
out({c=0x00FFFF,a=1,x=11,y=datayh+(datayy*20),txt=now["fc_hour2_time"].."  "..now["fc_hour2_ampm"]})
image({x=25,y=imgyh+(imgyy*4),file=now["fc_hour2_wicon"]})
--image({x=25,y=imgyh+(imgyy*4),file="/media/5/Conky/images/red+x.png"})
out({c=0xF0FFFF,a=1,x=5,y=datayh+(datayy*21.5),txt=now["fc_hour2_temp"]})

-- 3rd hour
out({c=0x00FFFF,a=1,x=11,y=datayh+(datayy*23),txt=now["fc_hour3_time"].."  "..now["fc_hour3_ampm"]})
image({x=25,y=imgyh+(imgyy*5),file=now["fc_hour3_wicon"]})
--image({x=25,y=imgyh+(imgyy*5),file="/media/5/Conky/images/red+x.png"})
out({c=0xF0FFFF,a=1,x=5,y=datayh+(datayy*24.5),txt=now["fc_hour3_temp"]})

-- start of forcast days
-- yellow line
--image({w=45,h=1,x=5,y=datayf+(datayy*24.5),file="/media/5/Conky/images/yellow_1.png"})

out({c=0xFFDEAD,a=1,x=10,y=datayf+(datayy*25.5),txt="9 DAY"})
out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*26.5),txt=forecast_day_short[2]})
out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*26.5),txt=forecast_date[2]})
image({x=25,y=imgyf+(imgyy*6),file=weather_icon[2]})
--image({x=25,y=imgyf+(imgyy*6),file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*27.5),txt=high_temp[2]})
out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*28.5),txt=low_temp[2]})

out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*29.5),txt=forecast_day_short[3]})
out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*29.5),txt=forecast_date[3]})
image({x=25,y=imgyf+(imgyy*7),file=weather_icon[3]})
--image({x=25,y=imgyf+(imgyy*7),file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*30.5),txt=high_temp[3]})
out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*31.5),txt=low_temp[3]})

out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*32.5),txt=forecast_day_short[4]})
out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*32.5),txt=forecast_date[4]})
image({x=25,y=imgyf+(imgyy*8),file=weather_icon[4]})
--image({x=25,y=imgyf+(imgyy*8),file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*33.5),txt=high_temp[4]})
out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*34.5),txt=low_temp[4]})

out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*35.5),txt=forecast_day_short[5]})
out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*35.5),txt=forecast_date[5]})
image({x=25,y=imgyf+(imgyy*9),file=weather_icon[5]})
--image({x=25,y=imgyf+(imgyy*9),file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*36.5),txt=high_temp[5]})
out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*37.5),txt=low_temp[5]})

out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*38.5),txt=forecast_day_short[6]})
out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*38.5),txt=forecast_date[6]})
image({x=25,y=imgyf+(imgyy*10),file=weather_icon[6]})
--image({x=25,y=imgyf+(imgyy*10),file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*39.5),txt=high_temp[6]})
out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*40.5),txt=low_temp[6]})

out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*41.5),txt=forecast_day_short[7]})
out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*41.5),txt=forecast_date[7]})
image({x=25,y=imgyf+(imgyy*11),file=weather_icon[7]})
--image({x=25,y=imgyf+(imgyy*11),file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*42.5),txt=high_temp[7]})
out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*43.5),txt=low_temp[7]})

out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*44.5),txt=forecast_day_short[8]})
out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*44.5),txt=forecast_date[8]})
image({x=25,y=imgyf+(imgyy*12),file=weather_icon[8]})
--image({x=25,y=imgyf+(imgyy*12),file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*45.5),txt=high_temp[8]})
out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*46.5),txt=low_temp[8]})

out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*47.5),txt=forecast_day_short[9]})
out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*47.5),txt=forecast_date[9]})
image({x=25,y=imgyf+(imgyy*13),file=weather_icon[9]})
--image({x=25,y=imgyf+(imgyy*13),file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*48.5),txt=high_temp[9]})
out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*49.5),txt=low_temp[9]})

out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*50.5),txt=forecast_day_short[10]})
out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*50.5),txt=forecast_date[10]})
image({x=25,y=imgyf+(imgyy*14),file=weather_icon[10]})
--image({x=25,y=imgyf+(imgyy*14),file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*51.5),txt=high_temp[10]})
out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*52.5),txt=low_temp[10]})



-- yellow line
--image({w=45,h=1,x=5,y=550,file="/media/5/Conky/images/yellow_1.png"})

--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--#######################################################################
end--of weather_display function do not edit this line ##################
--#######################################################################
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

VastOne

Very nice jedi!

On another note ... Where in the World is Sector11 lately?
VSIDO      VSIDO Change Blog    

    I dev VSIDO

lwfitz

Good question VastOne.......... Imm email him and make sure everythings ok........ Also falldown has disappeared.
Don't Be A Dick!

Sector11

@ jedi


would it be possible to get the two "yellow_1.png" images from you?  You just keep making this Conky stuff easier and easier Sector11...


I do my best ....

Two?  Why two?

Open GIMP,
- make an image - say 10x10
- solid colour: yellow
- reduce to 1x1 pixels
- "export" as yellow_1.png and you have it.

You can call that image up as many times as you need.

OR ... you could get a whole bunch of ready made ones here: 1_pixel_images.tar.gz

Which includes:
  • bk_10.png - depth of transparency
  • bk_20.png
  • bk_30.png
  • bk_40.png
  • bk_50.png
  • bk_60.png
  • bk_70.png
  • bk_80.png
  • bk_90.png
  • bk_100.png
  • black_1.png
  • blue_1.png
  • brown_1.png
  • cyan_1.png
  • green_1.png
  • LightSlateGrey_1.png
  • orange_1.png
  • purple_1.png
  • red_1.png
  • red+.png - used to place transparent images
  • red+x.png - used to place transparent images
  • white_1.png
  • yellow_1.png
Stay Home

jedi

Thanks Sector11...  Do you think it crossed my feeble mind to go into Gimp and do it on my own?  Of course not.  Thanks for your efforts!  ;D
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

Sector11

#277
@ jedi

A does what A does
B does what B does
...
Jedi does what Jedi does
...
lwfitz does horrible avatars  ::)
...
S11 does what S11 does
T does what T does
U does what U does
V1 does what V1 does
...
Z just copies and pastes what everyone else does.

... and together we can do it all.

I think you get the idea.   8)
Stay Home

Sector11

A new look with some old stuff redone.

I like it.

But my wife missed her weather

so I put it in a window for her.
Stay Home

lwfitz

All this talk of my avatar just means that you guys actually love it  :D
Don't Be A Dick!

Sector11

... see that's where you are wrong.

What we do admire is your persistence to display the ugliest, most distasteful, avatars out there with such a devil may care attitude.

Says a lot about you, "Hey, this is me, I don't complain about your avatar do I?"  8)

:D  :D
Stay Home

jedi

And at lwfitz regarding the avatar;  It looked like a d&^K to me and I was just hoping it was the Car-Wash dudes getting what he deserved for prancing around in public that way!  Now that I know it's a tongue, I am OK with it.  :D ??? :D (if it really is a tongue, I have my suspicions)  :D
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

lwfitz

@ Sector11 and jedi.......

:D :D :D :D :D

Sector - Trust me I have edited myself   ;D  Kinda scary how well you know me though  :P

jedi - LMAO! Dude I never even thought it looked like that until you mentioned it! It was much more clear before I shrunk it down  :D

I mean..... Im sick but not that sick!  :D ;D
Don't Be A Dick!

VastOne

^ What the hell do you think I was asking about it????   ???

VSIDO      VSIDO Change Blog    

    I dev VSIDO

Sector11

  Donno - ham on rye maybe?  :D

Come to think about it ... that avatar gives a whole mew meaning to: pickled tongue!
Y U K !

Stay Home