You are not logged in.
@ loutch
Thank you. I am sure others will find it extremely helpful.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Good morning guys do not know if you noticed the site http://www.moongiant.com/phase/1/30/2016 on February 1, 2016 has no image .... is a bug in the site .....
and of course in our conky
TEO .... Okay ?
@ Sector..Tutto ok ? as I have been busy at work this time ..... after my friends ...
Luke
p.s. I updated bunsenlab 8.3 .. !!! but the kernel is always the version 3.16.0.4 or other updates .. should I do ? ...
Last edited by fvirgola80 (2016-01-30 11:21:43)
Nothing happens by chance
Offline
but the kernel is always the version 3.16.0.4 or other updates .. should I do ? ...
That's normal, the kernel version will *not* change in Debian stable.
And now back to your usual programme...
Offline
Indeed it doesn't have any image, not even now.
I hope it's a temporary glitch on their part.
We'll see...
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
I sent them and email as found on their Privacy Policy page:
If you have any questions or concerns, send us an e-mail at info@Moongiant.com
Good day
The website has a broken image link for 1 Feb 2016 and the broken link follows
through for the complete five day cycle.Just a heads up from a site user.
Thanks.
Let's see what happens ... nice catch fvirgola80 (aka: Luke)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ Sector..Tutto ok ? as I have been busy at work this time ..... after my friends ...
Luke![]()
Yea, life does that. But we need it.
Don't panic the kernel is fine and at least there is no kernel panic. Now the captain is another story, he's running around like a chicken with his head cut off!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Ragamatrix reminded me about a clock I have ... thanks to mrpeachy, I've used it in conjunction with a few of Teo's scripts. I found a version that was using weather.com - that is no longer supported by Teo - and can we blame him - so I converted it to: 1b1 - Accuweather - Images - 1b1_29-10-15
TheClock.conky
#-- conky -q -c /media/5/Conky/The_Clock.conky &
#-- pkill -xf "conky -q -c /media/5/Conky/The_Clock.conky" &
#--- Begin Window Settings
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_class Conky
own_window_title The 1b1 Clock
#-- ARGB can be used for real transparency
#--own_window_argb_visual yes
#--own_window_argb_value 0 #-- 0 - clear | 255 - solid
double_buffer yes
minimum_size 300 667 #-- w|h
maximum_width 300
gap_x 10 #-- l|r
gap_y 10 #-- u|d
alignment tr
#--- End Window Settings
#--- Font Settings
use_xft yes
xftfont monofur:bold:size=10
xftalpha 1
#-- Force UTF8? requires XFT
override_utf8_locale yes
uppercase no
#--- End Font Settings
#--- Color Settings
draw_shades no #-- amplifies text if yes
default_shade_color black
draw_outline no #-- amplifies text if yes
default_outline_color black
default_color DCDCDC #--220 220 220 Gainsboro
color0 8FBC8F #--DarkSeaGreen
color1 778899 #--LightSlateGray
color2 F5F5DC #--Beige
color3 87CEFA #--LightSkyBlue
color4 48D1CC #--MediumTurquoise
color5 FFDEAD #--NavajoWhite
color6 00BFFF #--DeepSkyBlue
color7 B0E0E6 #--PowderBlue
color8 FFD700 #--Gold
color9 FFA07A #--LightSalmon
#--- End Color Settings
#--- Borders Section
draw_borders no
#-- Stippled borders?
stippled_borders 0
#-- border margins
border_inner_margin 5
border_outer_margin 0
#-- border width
border_width 0
#-- graph borders
draw_graph_borders yes #--no
#--default_graph_size 15 40
#--- End Borders Secton
#--- Miscellaneous Section
#-- Boolean value, if true, Conky will be forked to background when started.
background yes
#-- Adds spaces around certain objects to stop them from moving other things
#-- around, this only helps if you are using a mono font
#-- Options: right, left or none
use_spacer none
#-- Subtract (file system) buffers from used memory?
no_buffers yes
#-- change GiB to G and MiB to M
short_units yes
#-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
#-- $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0
#--- End Miscellaneous Section
#--- LUA Settings
#-- CLOCK LUA
lua_load /media/5/Conky/LUA/12-24_DOTS.lua
lua_draw_hook_pre main
#--- End LUA Settings
#--${lua conky_draw_bg 100 060 090 200 200 0x000000 0.4}\
#--${texeci 600 bash /media/5/Conky/1b1_accuweather_images/1b1}\
update_interval 1
TEXT
${texeci 600 bash /media/5/Conky/1b1_accuweather_images/1b1}\
${image /media/5/Conky/images/The_Clock_3sm.png -p 0,0}\
${font monofur:bold:size=14}${color5}${alignc}${uptime_short}
${alignc}${time %x}${font}
${image /media/5/Conky/1b1_accuweather_images/cc.png -p 65,136 -s 170x102}
${alignc}${color8}s↑ ${execi 600 sed -n '39p' /media/5/Conky/1b1_accuweather_images/curr_cond}
${alignc}${color1}m↑ ${execi 600 sed -n '41p' /media/5/Conky/1b1_accuweather_images/curr_cond}
${font monofur:bold:size=14}${color}${alignc}${if_match ${time %H}>=18}Good Evening${else}\
${if_match ${time %H}<12}Good Morning${else}\
${if_match ${time %H}<18}Good Day\
${endif}${endif}${endif}${font}
${alignc}${color7}${execi 600 sed -n '33p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color5}
${font monofur:bold:size=14}${color8}±${execi 600 sed -n '30p' /media/5/Conky/1b1_accuweather_images/curr_cond}°\
${alignr 65}${color}${execi 600 sed -n '29p' /media/5/Conky/1b1_accuweather_images/curr_cond}°${font}
${font monofur:bold:size=14}${color9}↑${execi 600 sed -n '26p' /media/5/Conky/1b1_accuweather_images/first_days}°\
${alignr 65}${color5}↓${execi 600 sed -n '31p' /media/5/Conky/1b1_accuweather_images/first_days}°${color}${font}
${alignc}UVI ${execi 600 sed -n '34p' /media/5/Conky/1b1_accuweather_images/curr_cond}
${alignc}Hum ${execi 600 sed -n '32p' /media/5/Conky/1b1_accuweather_images/curr_cond}
${alignc}${color8}s↓ ${execi 600 sed -n '40p' /media/5/Conky/1b1_accuweather_images/curr_cond}
${alignc}${color1}m↓ ${execi 600 sed -n '42p' /media/5/Conky/1b1_accuweather_images/curr_cond}
${alignc}${color5}${time %b %Y}${color}
${font monofur:bold:size=9}${alignc}${if_match ${time %w}==0}${color5}Su${color1} Mo Tu We Th Fr Sa${else}\
${if_match ${time %w}==1}${color1}Su ${color5}Mo${color1} Tu We Th Fi Sa${else}\
${if_match ${time %w}==2}${color1}Su Mo ${color5}Tu${color1} We Th Fr Sa${else}\
${if_match ${time %w}==3}${color1}Su Mo Tu ${color5}We${color1} Th Fr Sa${else}\
${if_match ${time %w}==4}${color1}Su Mo Tu We ${color5}Th${color1} Fr Sa${else}\
${if_match ${time %w}==5}${color1}Su Mo Tu We Th ${color5}Fr${color1} Sa${else}\
${color1}Su Mo Tu We Th Fr ${color5}Sa${color}${endif}${endif}${endif}${endif}${endif}${endif}
${alignc} ${color1}${execp LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color5}&${color1}/' | sed ':a;N;$!ba;s/\n/\n${alignc} /g'}${font}${color}
${alignc}${pre_exec lsb_release -sc}
${alignc}${color7}${membar 0,10} ${execi 3600 uname -r|cut -c 1-13} ${membar 0,10}${color}
${alignc}μm ${color5}${freq_g}${color}
${alignc}Avg ${if_match ${cpu cpu0}<10}${color1}00${color5}${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100}${color1}0${color5}${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color5} %${color}
${alignc} ${color5}1${color7} | ${color5}2${color7} | ${color5}3 ${color}
${alignc}${if_match ${cpu cpu1}<10}${color1}00${color5}${cpu cpu1}\
${else}${if_match ${cpu cpu1}<100}${color1}0${color5}${cpu cpu1}\
${else}${color9}${cpu cpu1}${endif}${endif}${color}\
${color7}| ${if_match ${cpu cpu2}<10}${color1}00${color5}${cpu cpu2}\
${else}${if_match ${cpu cpu2}<100}${color1}0${color5}${cpu cpu2}\
${else}${color9}${cpu cpu2}${endif}${endif}${color}\
${color7}| ${if_match ${cpu cpu3}<10}${color1}00${color5}${cpu cpu3}\
${else}${if_match ${cpu cpu3}<100}${color1}0${color5}${cpu cpu3}\
${else}${color9}${cpu cpu3}${endif}${endif}${color}
${goto 90}${color5}${platform f71882fg.2560 temp 1}${color}°\
${goto 128}CPU ${color7}|${color} MB\
${alignr 85}${color5}${platform f71882fg.2560 temp 2}${color}°
${goto 90}${color5}${nvidia temp}${color}°\
${goto 128}GPU ${color7}|${color} HD\
${alignr 85}${color5}${hddtemp /dev/sda}${color}°
${goto 90}/Root${alignr 85}${color5}${fs_size /}${color}
${goto 90}F: ${color5}${fs_free /}${color}\
${alignr 85}${color5}${fs_used_perc /}%${color} :U
${goto 90}/Home${alignr 85}${color5}${fs_size /home}${color}
${goto 90}F: ${color5}${fs_free /home}${color}\
${alignr 85}${color5}${fs_used_perc /home}%${color} :U
${goto 90}/media/5${alignr 85}${color5}${fs_size /media/5}${color}
${goto 90}F: ${color5}${fs_free /media/5}${color}\
${alignr 85}${color5}${fs_used_perc /media/5}%${color} :U
${goto 90}${upspeed eth0}\
${goto 139}↑ ${color7}|${color} ↓\
${alignr 85}${downspeed eth0}${color}
lua_load /media/5/Conky/LUA/12-24_DOTS.lua
--[[drawing a clock in conkyrc
by mrpeachy - 12 March 2010
Edited by Sector11 for personal use - 12 Mar 2012
lua_load /path/clock.lua
lua_draw_hook_pre main
TEXT
]]
require 'cairo'
function conky_main()
if conky_window == nil then return end
local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
cr = cairo_create(cs)
--##############################################################################
-- SETTINGS AREA
--##############################################################################
-- image
-- how do I add images.
-- local cpu=conky_parse("${cpu}")
-- local red-1=conky_parse("${image /media/5/Conky/images/red_1.png -p 0,0 -s 35x35}")
--12 OR 24
local clock_type=12
--CLOCK SETTINGS
local clock_radius=140
local clock_centerx=156
local clock_centery=189
-- SET MARKS
--how many marks around edge
local number_marks=60 --24
--set mark length
local m_length=0.5
--set mark line width
local m_width=1.0
--set mark line cap type
local m_cap=CAIRO_LINE_CAP_ROUND
--set mark color and alpha,red blue green alpha
local mr,mg,mb,ma=1,1,1,1 --opaque white
--SET BORDER OPTIONS
local clock_border_width=0 --2
--set color and alpha for clock border
local cbr,cbg,cbb,cba=1,1,1,1 --full opaque white
--gap from clock border to hour marks
local b_to_m=5
--SECONDS HAND SETUP
--set length of seconds hand
local sh_length=130 --110
--set hand width
local sh_width=1 --1
--set hand line cap
local sh_cap=CAIRO_LINE_CAP_ROUND
--set seconds hand color
local shr,shg,shb,sha=1,0,0,1 --fully opaque red
--MINUTE HAND SETUP
--set length of minutes hand
local mh_length=125 --90
--set hand width
local mh_width=1.5 --1.5
--set hand line cap
local mh_cap=CAIRO_LINE_CAP_ROUND
--set minute hand color
local mhr,mhg,mhb,mha=0.5,0.6,0.9,1,1 --fully opaque bluish
--HOUR HAND SETUP
--set length of hour hand
local hh_length=110 --60
--set hand width
local hh_width=3.0 --2
--set hand line cap
local hh_cap=CAIRO_LINE_CAP_ROUND
--set hour hand color
local hhr,hhg,hhb,hha=0.5,0.6,0.9,1 --fully opaque bluish
--##############################################################################
-- END SETTINGS AREA
--##############################################################################
--DRAWING CODE
--draw border
cairo_set_source_rgba (cr,cbr,cbg,cbb,cba)
cairo_set_line_width (cr,clock_border_width)
cairo_arc (cr,clock_centerx,clock_centery,clock_radius,0,2*math.pi)
cairo_stroke (cr)
--DRAW MARKS
--stuff that can be moved outside of the loop, needs only be set once
--calculate end and start radius for marks
m_end_rad=clock_radius-b_to_m
m_start_rad=m_end_rad-m_length
--set line cap type
cairo_set_line_cap (cr, m_cap)
--set line width
cairo_set_line_width (cr,m_width)
--set color and alpha for marks
cairo_set_source_rgba (cr,mr,mg,mb,ma)
--start for loop
for i=1,number_marks do
--drawing code using the value of i to calculate degrees
--calculate start point for 12 oclock mark
radius=m_start_rad
point=(math.pi/180)*((i-1)*(360/number_marks))
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--set start point for line
cairo_move_to (cr,clock_centerx+x,clock_centery+y)
--calculate end point for 12 oclock mark
radius=m_end_rad
point=(math.pi/180)*((i-1)*(360/number_marks))
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--set path for line
cairo_line_to (cr,clock_centerx+x,clock_centery+y)
--draw the line
cairo_stroke (cr)
end--of for loop
--TIME CALCULATIONS ###########################
if clock_type==12 then
hours=tonumber(os.date("%I")) --12 hour clock
--convert hours to seconds
h_to_s=hours*60*60
elseif clock_type==24 then
hours=tonumber(os.date("%H")) --24 hour clock
--convert hours to seconds
h_to_s=hours*60*60
end
minutes=tonumber(os.date("%M"))
--convert minutes to seconds
m_to_s=minutes*60
--get current seconds
seconds=tonumber(os.date("%S"))
--DRAW HOUR HAND ############################
--convert hours, minutes & seconds to seconds
hsecs=h_to_s+m_to_s+seconds
--calculate number of degrees for each hand per second
hsec_degs=hsecs*(360/(60*60*clock_type)) -- USING AN EQUATION INSTEAD OF TYPING THE CALCULATION IN BECAUSE THE RESULT OF 360/43200 HAS DECIMAL PLACES
--set radius we will use to calculate hand points
radius=hh_length
--set our starting line coordinates, the center of the circle
cairo_move_to (cr,clock_centerx,clock_centery)
--calculate coordinates for end of minutes hand
point=(math.pi/180)*hsec_degs
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--describe the line we will draw
cairo_line_to (cr,clock_centerx+x,clock_centery+y)
--set up line attributes and draw line
cairo_set_line_width (cr,hh_width)
cairo_set_source_rgba (cr,hhr,hhg,hhb,hha)
cairo_set_line_cap (cr, hh_cap)
cairo_stroke (cr)
--DRAW MINUTES HAND ############################
--convert minutes & seconds to seconds
msecs=m_to_s+seconds
--calculate degrees for the hand each second
msec_degs=msecs*0.1
--set radius we will use to calculate hand points
radius=mh_length
--set our starting line coordinates, the center of the circle
cairo_move_to (cr,clock_centerx,clock_centery)
--calculate coordinates for end of minutes hand
point=(math.pi/180)*msec_degs
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--describe the line we will draw
cairo_line_to (cr,clock_centerx+x,clock_centery+y)
--set up line attributes and draw line
cairo_set_line_width (cr,mh_width)
cairo_set_source_rgba (cr,mhr,mhg,mhb,mha)
cairo_set_line_cap (cr, mh_cap)
cairo_stroke (cr)
--DRAW SECOND HAND #############################
--calculate degrees for each second the hand moves
sec_degs=seconds*6
--set radius we will use to calculate hand points
radius=sh_length
--set our starting line coordinates, the center of the circle
cairo_move_to (cr,clock_centerx,clock_centery)
--calculate coordinates for end of second hand
point=(math.pi/180)*sec_degs
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--describe the line we will draw
cairo_line_to (cr,clock_centerx+x,clock_centery+y)
--set up line attributes and draw line
cairo_set_line_width (cr,sh_width)
cairo_set_source_rgba (cr,shr,shg,shb,sha)
cairo_set_line_cap (cr, sh_cap)
cairo_stroke (cr)
--##############################################################################
cairo_destroy(cr)
cairo_surface_destroy(cs)
cr=nil
end-- end main function
And of course the clock image: /media/5/Conky/images/The_Clock_3sm.png
NOW I see a white dot I have to fix ... {sigh}.
Yes, the clock does 12 or 24 hours:
--12 OR 24
local clock_type=12
In 24 hour mode "noon" is in the 6 o'clock position
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Yup, fixed here too!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@Sector11,
Wonderful!
I want to build...
Offline
Offline
@Sector11
![]()
OK
It went faster than expected because your Conkys just work.
I try hard!
No idea why the clock is fast. It should be reading the system time.
Sensor help here if you need it.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
fvirgola80 wrote:but the kernel is always the version 3.16.0.4 or other updates .. should I do ? ...
That's normal, the kernel version will *not* change in Debian stable.
And now back to your usual programme...
@Head_on_a_Stick Thank you very much ... it is a pleasure to use linux bunsenlab
@TEO Thanks Teo , the site has re autonomy got it working
@Sector11 Thank you....
Luke ...
Nothing happens by chance
Offline
It was a temporary glitch after all, hurrah for that!!!
Nice looking one S11, added a link on the first page...
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
It was my email that got them to fix it. ***
TheClock is actually an old one I was working on with weather.com - gives you an idea of the age. Not sure if I ever posted it, but now it's done.
*** Talk about an inflated ego huh!
They probably still haven't read it.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
You the man S11
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
hello guys
i have a problem with the wunderground_API there is no Moon_phase.png since 2,3 days .
have you the same problem ?
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
Hi loutch,
Maybe a problem with:
1. your script, or
2. your location.
I doubt it would be 1. as you are saying in the past few days.
All of my wunderground conkys have the Moon_phase.png showing.
Please show your conky (or at least the weather code part).
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline