You are not logged in.

#821 2016-05-08 22:22:54

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

NOTICE: For conky version 1.10
Untested - I do not run conky v1.10
Converted properly and tested - works as advertised - 09 May 2016

@martix - if you try this please let me know if it works or what tweaks were needed to make it work.
Tweaked code and screenshot would be a welcome plus.
Especially since you are running Lubuntu, it would be really nice.
Thank you.

@martix There you go ... a working conky

The conky is for this weather clock. LUA script and images there should still apply.

The_Clock_2-v1.10.conky

conky.config = {
-- pkill -xf "conky -q -c /media/5/Conky/The_Clock_2-v1.10.conky" &
-- edited and working Tue 06 May 2016 21:30:00
--# ---------- Begin Window Settings

	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'skip_taskbar,skip_pager,undecorated,below',--,sticky
	own_window_colour = '#000000',
	own_window_class = 'Conky',
	own_window_title = 'The Clock 2',
-- ARGB can be used for real transparency
--  own_window_argb_visual yes ## Options: yes or no
-- Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
--  own_window_argb_value 70

	minimum_width = 230, minimum_height = 720,
	maximum_width = 230,

	gap_x = 10,--# l|r
	gap_y = 10,--# u|d
	alignment = 'top_left',
--# ---------- End Window Settings
--# ---------- Font Settings
--# Use Xft (anti-aliased font and stuff)
	use_xft = true,
--xftfont monofur:bold:size=9
	font = 'Fantasque Sans Mono:bold:size=10',
--xftfont Liberation Mono:bold:size=9

--# Alpha of Xft font. Must be a value at or between 1 and 0
	xftalpha = 1.0,

--# Force UTF8? requires XFT
	override_utf8_locale = true,

--# --------- End Font Settings
--# --------- Color Settings
	draw_shades = true,
	default_shade_color = '#000000',
	draw_outline = false,
	default_outline_color = '#000000',

	default_color = '#f5fffa',--# MintCream
	color1 = '#778899',--# LightSlateGray
	color2 = '#FFA07A',--# LightSalmon
	color3 = '#87CEFA',--# LightSkyBlue
	color4 = '#48D1CC',--# MediumTurquoise
	color5 = '#FFDEAD',--# NavajoWhite
	color6 = '#00BFFF',--# DeepSkyBlue
	color7 = '#B0E0E6',--# PowderBlue
	color8 = '#FFD700',--# Gold
	color9 = '#CD5C5C',--# IndianRed
--# ---------- End Color Settings
--# ---------- Begin Borders Section
	draw_borders = false,
--# Stippled borders?
	stippled_borders = 5,
--# border margins
	border_inner_margin = 5,
	border_outer_margin = 0,
--# border width
	border_width = 2,
--# graph borders
	draw_graph_borders = true,--# no
--# default_graph_size 15 40
--# ---------- End Borders Secton
--# ---------- Begin Miscellaneous Section
--# Boolean value, if true, Conky will be forked to background when started.
	background = false,--# 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 slystem) buffers from used memory?
	no_buffers = true,

--# Use the Xdbe extension? (eliminates flicker)
--# It is highly reco${color}mmended to use own window with this one
--# so double buffer won't be so big.
	double_buffer = true,

--# ---------- End Miscellaneous Section
-----  LUA Settings
---- CLOCK LUA
	lua_load = '/media/5/Conky/LUA/12-24_DOTS_TC_2-s11.lua',
	lua_draw_hook_pre = 'main',
--lua_draw_hook_post main

--lua_load /media/5/Conky/LUA/draw-bg.lua
--lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
--lua_draw_hook_post draw_bg 10 0 0 0 0 0x000000 0.2


-----  End LUA Settings

	update_interval = 1,

--${texeci 600 bash /media/5/Conky/1b1_accuweather_images/1b1}\
--${texeci 607 bash /media/5/Conky/4_Moon/moon}\
--${texeci 611 bash /media/5/Conky/1c_accuweather_images_hourly/1c}\

--${image /media/5/Conky/images/red+x.png -p 22,32 -s 200x200}
--${image /media/5/Conky/images/yellow+x.png -p 22,72 -s 200x120} ${image /media/5/Conky/4_Moon/0.png -p 8,8 -s 200x200}\
};

conky.text = [[
${texeci 600 bash /media/5/Conky/1b1_accuweather_images/1b1}\
${texeci 600 bash /media/5/Conky/4_Moon/moon}\
${texeci 600 bash /media/5/Conky/1c_accuweather_images_hourly/1c}\
${image /media/5/Conky/images/bk_30.png -p -5,-5 -s 250x810}\
${image /media/5/Conky/images/24_ds.png -p 22,32}\
${image /media/5/Conky/1b1_accuweather_images/cc.png -p 22,72 -s 200x120}\
${alignc}${time %a %d %b %Y}
${alignc}${if_match ${time %H}<12}Good Morning${else}\
${if_match ${time %H}<18}Good Afternoon${else}Good Evening${endif}${endif}
  ${font monofur:bold:size=16}${color8}±${execi 600 sed -n '30p' /media/5/Conky/1b1_accuweather_images/curr_cond}°\
${alignr 15}${color}${execi 600 sed -n '29p' /media/5/Conky/1b1_accuweather_images/curr_cond}°${font}











  ${font monofur:bold:size=16}${color9}↑${execi 600 sed -n '26p' /media/5/Conky/1b1_accuweather_images/first_days}°\
${alignr 15}${color6}↓${execi 600 sed -n '31p' /media/5/Conky/1b1_accuweather_images/first_days}°${color}${font}
${color8}Sunrise ${execi 600 sed -n '39p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}\
${color7}${alignr}Sunset ${execi 90 sed -n '40p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}
${color8}TODAY${goto 137}${color7}TONIGHT${color}\
${image /media/5/Conky/1b1_accuweather_images/tod.png -p 40,255 -s 50x30}\
${image /media/5/Conky/1b1_accuweather_images/ton.png -p 170,255 -s 50x30}
${execi 90 sed -n '26p' /media/5/Conky/1b1_accuweather_images/first_days}°\
${goto 137}${execi 90 sed -n '31p' /media/5/Conky/1b1_accuweather_images/first_days}°
±${execi 90 sed -n '27p' /media/5/Conky/1b1_accuweather_images/first_days}°\
${goto 137}±${execi 90 sed -n '32p' /media/5/Conky/1b1_accuweather_images/first_days}°
CoP    ${execi 90 sed -n '28p' /media/5/Conky/1b1_accuweather_images/first_days}\
${goto 137}CoP   ${execi 90 sed -n '33p' /media/5/Conky/1b1_accuweather_images/first_days}
${color5}~ ~ Current Conditions ${membar 0}${color}
Pressure${goto 75}${execi 600 sed -n '33p' /media/5/Conky/1b1_accuweather_images/curr_cond}\
${goto 150}DP  ${execi 90 sed -n '35p' /media/5/Conky/1b1_accuweather_images/curr_cond}°
UVI ${execi 600 sed -n '34p' /media/5/Conky/1b1_accuweather_images/curr_cond} /11\
${goto 75}Hum ${execi 600 sed -n '32p' /media/5/Conky/1b1_accuweather_images/curr_cond}\
${goto 150}Vis ${execi 90 sed -n '37p' /media/5/Conky/1b1_accuweather_images/curr_cond}
Wnd ${execi 90 sed -n '31p' /media/5/Conky/1b1_accuweather_images/curr_cond}\
${goto 75}@ ${execi 90 sed -n '38p' /media/5/Conky/1b1_accuweather_images/curr_cond}\
${goto 150}Cld ${execi 90 sed -n '36p' /media/5/Conky/1b1_accuweather_images/curr_cond}
${color5}~ ~ Southern Hemisphere Moon ${membar 0}${color}
${image /media/5/Conky/4_Moon/0.png -p 8,370 -s 50x50}\
${goto 58}Phase <${execi 600 sed -n '7p' /media/5/Conky/4_Moon/raw}>
${goto 65}Moon is <${execi 600 sed -n '1p' /media/5/Conky/4_Moon/raw}> visible
${goto 65}Moon Age <${execi 600 sed -n '5p' /media/5/Conky/4_Moon/raw}> days
${goto 58}Moon Angle <${execi 600 sed -n '6p' /media/5/Conky/4_Moon/raw}>°
${color8}Moonrise ${execi 90 sed -n '41p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}\
${alignr}${color7}Moonset ${execi 90 sed -n '42p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}
${color5}~ ~ Nine Day Forecast ${membar 0}
${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`}\
  ${goto 79}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}\
  ${goto 154}${execi 3600 echo `date --date="3 day" | awk '{print $1" "$3" "$2}'`}${color}\
${image /media/5/Conky/1b1_accuweather_images/6.png -p 23,465 -s 50x30}\
${image /media/5/Conky/1b1_accuweather_images/11.png -p 97,465 -s 50x30}\
${image /media/5/Conky/1b1_accuweather_images/16.png -p 171,465 -s 50x30}
${color9}${execi 90 sed -n '8p' /media/5/Conky/1b1_accuweather_images/first_days}°${color}\
  ${goto 79}${color9}${execi 90 sed -n '13p' /media/5/Conky/1b1_accuweather_images/first_days}°\
  ${goto 154}${execi 90 sed -n '18p' /media/5/Conky/1b1_accuweather_images/first_days}°${color}
${color7}${execi 90 sed -n '9p' /media/5/Conky/1b1_accuweather_images/first_days}°${color}\
  ${goto 79}${color7}${execi 90 sed -n '14p' /media/5/Conky/1b1_accuweather_images/first_days}°${color}\
  ${goto 154}${color7}${execi 90 sed -n '19p' /media/5/Conky/1b1_accuweather_images/first_days}°${color}
${color5}
${execi 3600 echo `date --date="4 day" | awk '{print $1" "$3" "$2}'`}\
  ${goto 79}${execi 3600 echo `date --date="5 day" | awk '{print $1" "$3" "$2}'`}\
  ${goto 154}${execi 3600 echo `date --date="6 day" | awk '{print $1" "$3" "$2}'`}\
${image /media/5/Conky/1b1_accuweather_images/21.png -p 23,522 -s 50x30}\
${image /media/5/Conky/1b1_accuweather_images/last_2.png -p 97,522 -s 50x30}\
${image /media/5/Conky/1b1_accuweather_images/last_7.png -p 171,522 -s 50x30}
${color9}${execi 90 sed -n '23p' /media/5/Conky/1b1_accuweather_images/first_days}°\
  ${goto 79}${color9}${execi 90 sed -n '4p' /media/5/Conky/1b1_accuweather_images/last_days}°\
  ${goto 154}${execi 90 sed -n '9p' /media/5/Conky/1b1_accuweather_images/last_days}°
${color7}${execi 90 sed -n '24p' /media/5/Conky/1b1_accuweather_images/first_days}°\
  ${goto 79}${execi 90 sed -n '5p' /media/5/Conky/1b1_accuweather_images/last_days}°\
  ${goto 154}${execi 90 sed -n '10p' /media/5/Conky/1b1_accuweather_images/last_days}°
${color5}
${execi 3600 echo `date --date="7 day" | awk '{print $1" "$3" "$2}'`}\
  ${goto 79}${execi 3600 echo `date --date="8 day" | awk '{print $1" "$3" "$2}'`}\
  ${goto 154}${execi 3600 echo `date --date="9 day" | awk '{print $1" "$3" "$2}'`}\
${image /media/5/Conky/1b1_accuweather_images/last_12.png -p 23,577 -s 50x30}\
${image /media/5/Conky/1b1_accuweather_images/last_17.png -p 97,577 -s 50x30}\
${image /media/5/Conky/1b1_accuweather_images/last_22.png -p 171,577 -s 50x30}
${color9}${execi 90 sed -n '14p' /media/5/Conky/1b1_accuweather_images/last_days}°\
  ${goto 79}${color9}${execi 90 sed -n '19p' /media/5/Conky/1b1_accuweather_images/last_days}°\
  ${goto 154}${color9}${execi 90 sed -n '24p' /media/5/Conky/1b1_accuweather_images/last_days}
${color7}${execi 90 sed -n '15p' /media/5/Conky/1b1_accuweather_images/last_days}°\
  ${goto 79}${execi 90 sed -n '20p' /media/5/Conky/1b1_accuweather_images/last_days}°\
  ${goto 154}${execi 90 sed -n '25p' /media/5/Conky/1b1_accuweather_images/last_days}°
${color5}~ ~ Nine Hour Forecast ${membar 0}${color}\
${image /media/5/Conky/1c_accuweather_images_hourly/20.png -p 20,633 -s 50x30}\
${image /media/5/Conky/1c_accuweather_images_hourly/23.png -p 95,633 -s 50x30}\
${image /media/5/Conky/1c_accuweather_images_hourly/26.png -p 171,633 -s 50x30}
${execi 600 sed -n '2p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 79}${execi 600 sed -n '3p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 154}${execi 600 sed -n '4p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}
${color9}${execi 600 sed -n '52p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 79}${execi 600 sed -n '53p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 154}${execi 600 sed -n '54p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}
${color7}±${execi 600 sed -n '61p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 79}±${execi 600 sed -n '62p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 154}±${execi 600 sed -n '63p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}${color}
${image /media/5/Conky/1c_accuweather_images_hourly/29.png -p 20,690 -s 50x30}\
${image /media/5/Conky/1c_accuweather_images_hourly/32.png -p 95,690 -s 50x30}\
${image /media/5/Conky/1c_accuweather_images_hourly/35.png -p 171,690 -s 50x30}
${execi 600 sed -n '5p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 79}${execi 600 sed -n '6p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 154}${execi 600 sed -n '7p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}
${color9}${execi 600 sed -n '55p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 79}${execi 600 sed -n '56p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 154}${execi 600 sed -n '57p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}
${color7}±${execi 600 sed -n '64p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 79}±${execi 600 sed -n '65p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 154}±${execi 600 sed -n '66p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}${color}
${image /media/5/Conky//1c_accuweather_images_hourly/38.png -p 20,746 -s 50x30}\
${image /media/5/Conky//1c_accuweather_images_hourly/41.png -p 95,746 -s 50x30}\
${image /media/5/Conky//1c_accuweather_images_hourly/120.png -p 171,746 -s 50x30}
${execi 600 sed -n '8p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 79}${execi 600 sed -n '9p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 154}${execi 10 sed -n '2p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw2}
${color9}${execi 600 sed -n '58p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 79}${execi 600 sed -n '59p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 154}${execi 10 sed -n '52p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw2}
${color7}±${execi 600 sed -n '67p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 79}±${execi 600 sed -n '68p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw1}\
  ${goto 154}±${execi 10 sed -n '61p' /media/5/Conky/1c_accuweather_images_hourly/hourly_raw2}
${color5}${membar 0}${color}]];
NOTICE: For conky version 1.10 - untested

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#822 2016-05-09 01:05:58

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Can someone explain to me why these lines:

<${execi 600 sed -n '7p' /media/5/Conky/4_Moon/raw}>
<${execi 600 sed -n '1p' /media/5/Conky/4_Moon/raw}>
<${execi 600 sed -n '5p' /media/5/Conky/4_Moon/raw}>
<${execi 600 sed -n '6p' /media/5/Conky/4_Moon/raw}>

do not work in the conky on the left (stopped working actually) but work in "any" other conky I paste them into, as seen on the right.  They were copied to three others as well to test.
2016_05_08_21_53_09_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#823 2016-05-09 11:13:22

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

To convert an old conkyrc to a lua conkyrc, copy the script convert.lua from your /usr/share/doc/conky-1.10.2_pre/ folder (where 1.10.2_pre is your current conky version) to the folder of your old conky.
Make it executable

chmod +x convert.lua

and run it

./convert.lua oldconkyrc

Done!!!
(Don't forget to keep a copy of oldconkyrc before you convert it)

Last edited by TeoBigusGeekus (2016-05-09 11:13:40)


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

#824 2016-05-09 13:36:02

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^ Because of Teo's post above

  1. I removed conky-all v1.9 and installed conky-all v1.10

  2. created ~/convertlua

  3. copied /usr/share/doc/conky-all/convert.lua to ~/convertlua/convert.lua

  4. made it executable

  5. copied The_Clock_2-s11.conky as ~/convertlua/The_Clock_2-v1.10.conky

  6. cd'd to ~/convertlua and ran: ./convert.lua The_Clock_2-v1.10.conky

  7. copied it back to /media/5/Conky/The_Clock_2-v1.10.conky - over the rough code listed earlier

Then in a terminal:

pkill -xf "conky -c /media/5/Conky/The_Clock_2-v1.10.conky" &

hit the up arrow and edited the line to:

conky -c /media/5/Conky/The_Clock_2-v1.10.conky &

hit enter and watched wget do it's thing and BINGO, we have conky:
2016_05_09_10_25_21_Scrot11.jpg

A couple of interesting things
- all the conkys that were running under conky v1.9 are still running.  Hmmmmmmm.
- the problem of the moon script lines not working is fixed. - CRAZY - - nope, gone again.  8.( 

NOTE: Conky code updated here.

Last edited by Sector11 (2016-05-09 13:41:19)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#825 2016-05-09 14:34:13

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sector11 wrote:

- all the conkys that were running under conky v1.9 are still running.  Hmmmmmmm.

v1.10 is backwards compatible with v1.9


Sector11 wrote:

- the problem of the moon script lines not working is fixed. - CRAZY - - nope, gone again.  8.(

Can you post the two conkys (without the lua part of course) so I can give them a go?


Sector11 wrote:

NOTE: Conky code updated here.

I'm a bit embarrassed about this, but I'm lost with all the updated posts.
What should this part

If you want two or more cities in the same conkyrc, check out Sector11's post here.
Sector11 again - alternative, more compact, layout - updated 29 Oct 2015
Ragamatrix and Sector11 here - updated 30 Oct 2015
For the old, non lua syntax (before conky 1.10) of the bundled config files, see here.
Horizontal layout by fvirgola80 ("Luke").
1b1 and 4 here (thanks again S11).
1b1 and 4 (again) - a variation. Thanks fvirgola80.
1b1 and 1c here thanks to S11.
A lua clock, again by S11, here.

of the first page post say and where should it link to?


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

#826 2016-05-09 15:18:17

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:
Sector11 wrote:

v1.10 is backwards compatible with v1.9

I thought the v1.9 conkys needed conversion to run with v1.10


TeoBigusGeekus wrote:
Sector11 wrote:

- the problem of the moon script lines not working is fixed. - CRAZY - - nope, gone again.  8.(

Can you post the two conkys (without the lua part of course) so I can give them a go?

The two conkys are The_Clock_2-fvirgola80.conky and The_Clock_2.conky.
To stop the LUA clock from working - in each conky - comment out these two lines above TEXT:

#-- CLOCK LUA
##lua_load /media/5/Conky/LUA/12-24_DOTS_TC_2.lua ««-- comment this line
##lua_draw_hook_pre main ««-- comment this line
#---  End LUA Settings

That simple.  OH YEA - and changed the paths to the three scripts.
Don't bother downloading the lua scripts.

TeoBigusGeekus wrote:
Sector11 wrote:

NOTE: Conky code updated here.
I'm a bit embarrassed about this, but I'm lost with all the updated posts.

You were AFTK for a while and we went fast and furious, hope it was a vacation or work with very good results!
Will do a quick look see and get back to you.

Last edited by Sector11 (2016-05-09 15:19:27)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#827 2016-05-09 15:46:55

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sector11 wrote:
TeoBigusGeekus wrote:
Sector11 wrote:

v1.10 is backwards compatible with v1.9

I thought the v1.9 conkys needed conversion to run with v1.10

But not completely.

${pre_exec command} does not work in one of my conkys.  Changed that to ${execi 86400 command} and my conky v1.9 fired up no problem with conky v1.10

A few of my existing conkys that I use daily just didn't start - so I can test them individually.
Looks like I will be archiving a few thousand v1.9 conkys and starting over.

smile  Even mu "test.conky" works perfect without conversion: 2016_05_09_12_39_53_Scrot11.jpg

And even more importantly all my wife's conkys work in v1.9 format - and I'm not allowed to touch them under threat of life and limb.
- OH CRAP --- one doesn't .. gotta convert that ¡JA! or I'm mincemeat.

But looking good.

I will have to make a list of conky v1.9 command that do not work in v1.10 - I knew there were some but now ... I want to keep v1.10 just to see.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#828 2016-05-09 16:02:42

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sector11 wrote:

- OH CRAP --- one doesn't .. gotta convert that ¡JA! or I'm mincemeat.

Probably one single command that's causing the error.
Look at the command prompt output for more info.


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

#829 2016-05-09 17:19:21

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^  Got it fixed while the Mrs. was (is) having a siesta.  smile
Safe at home.  cool

Still have some others to test and possibly convert as well.  Found  two more that didn't work until converted.
Too bad that 'convert.lua' can just plow though a directory full of conkys.
But one at a time is probably better because one of the two converted just now needed some 'manual tweaks' as well.

Get this Teo - I just moved 2.3GB of conkys and related support files off to a data partition.

I feel naked!  lol  lol  lol


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#830 2016-05-09 19:29:07

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Well, conky v1.10 didn't last long.  It's gone - but at least I got some house cleaning done.  If one can call 2.3GB 'some'. smile

Reasons:

  • One of the things I like is to be able to is 'right-click' on a conky to get at my OpenBox Menu, can't do that with v1.10, probably because it's a LUA window.  Not 100% sure.

  • Some v1.90 commands are not yet implemented in v1.10 - ${pre_exec command} for example.

  • Conkys are really slow to show - maybe not as 'light' as the text based conky?

    • couldn't really tell, something in my system conky stopped it from being displayed in v1.10 so I couldn't see CPU or MEM usage.

So I'm back to the: "I think I'll use conky v1.9 for a long time yet".


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#831 2016-05-10 07:41:58

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Just wait for a while.
The first 1.10 versions were somewhat buggy.
I'm now using 1.10.2 on Arch and it's perfectly alright...


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

#832 2016-05-10 08:23:34

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Good morning guys the 1.10.2 version is available for our bunsenlab version ? ....

big_smile  big_smile

Last edited by fvirgola80 (2016-05-10 08:46:44)


Nothing happens by chance

Offline

#833 2016-05-10 08:45:59

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

fvirgola80 wrote:

Good morning guys the 1.10.2 version is available for our bunsenlab version ? ....

big_smile  big_smile


Nothing happens by chance

Offline

#834 2016-05-10 09:01:35

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

fvirgola80 wrote:
fvirgola80 wrote:

Good morning guys the 1.10.2 version is available for our bunsenlab version ? ....

big_smile  big_smile

I'm happy to utilizzareo as Sector 11 version 1.9 for Conky .... go to the new version would be to update all conky !! ...


]:D


Nothing happens by chance

Offline

#835 2016-05-10 10:32:27

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

If Bunsenlabs is based on Debian Jessie, then 1.9.0-6 should be the version it ships with.


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

#836 2016-05-10 11:38:02

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

BunsenLabs:

  $ list conky-all
Alias for: apt list -a filename
Listing... Done
conky-all/jessie-backports 1.10.2-1~bpo8+1 amd64
conky-all/stable,now 1.9.0-6 amd64 [installed]

I actually tried conky-all_1.10.0-1_amd64.deb installed with gdebi here, I should have grabbed the backport conky-all.

Teo, do you have ${pre_exec command} on 1.10.2 ?
How does conky run concerning the other issues I mentioned.  #! being the BIG one.
2016_05_09_16_19_50_Scrot11.jpg - right clickable conkys give me back my desktop space.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#837 2016-05-10 17:14:54

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

The pre_exec command has been removed AFAIK and there are no plans of getting it back.

As for the right click thingy, if I have

own_window = true

conky works but I can't right click on it
tSaKGNbt.jpg

If, on the other hand, I have

own_window = false

I can right click on it, but conky gets screwed up
ysQvXUbt.jpg

Hmm...


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

#838 2016-05-10 18:25:48

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hello Masters , I noticed in the The_Clock_2-fvirgola80.conky I activated the

background yes
imlib_cache_size 0 , 

in fact they are properly updated images of items forecasts under the clock . Without these functions the forecast was not updated . Give me your advice if I'm wrong ...

wink  wink

May the force be with me

Last edited by fvirgola80 (2016-05-10 18:26:11)


Nothing happens by chance

Offline

#839 2016-05-10 18:31:13

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

The pre_exec command has been removed AFAIK and there are no plans of getting it back.

Bummer!  Oh well, ${execi 86400} works well too.

With conky v1.9 it's:

own_window_type normal

that does it.

I should try 1.10-2  - since the house cleaning is done.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#840 2016-05-10 18:39:57

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

fvirgola80 wrote:

Hello Masters , I noticed in the The_Clock_2-fvirgola80.conky I activated the

background yes
imlib_cache_size 0 , 

Give me your advice if I'm wrong ...

If that works for you: Keep it, it's not wrong if it works.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB