https://forum.mxlinux.org/viewtopic.php ... 50#p453603male wrote:the calling up the imageswill no longer work.Code: Select all
${lua fDrawImage $HOME...}
it works under
Code: Select all
conky -v
conky 1.10.8 compiled Tue May 15 07:41:15 UTC 2018 for Linux 4.9.0-6-amd64 x86_64
Here is the configuration:
Code: Select all
conky.config = {
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'skip_taskbar,skip_pager,undecorated,below',
--own_window_colour = '#000000',
minimum_width = 660, minimum_height = 220,
maximum_width = 655,
gap_x = 10,--# l|r
gap_y = -50,--# u|d
alignment = 'mr',
use_xft = true,
font = 'GE Inspira:size=9',
xftalpha = 1.0,
override_utf8_locale = true,
draw_shades = false,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#000000',
default_color = '#ffffff',--# MintCream
color1 = '#778899',--# LightSlateGray
color2 = '#FFA07A',--# LightSalmon
color3 = '#87CEFA',--# LightSkyBlue
color4 = '#48D1CC',--# MediumTurquoise
color5 = '#FFDEAD',--# NavajoWhite
color6 = '#00BFFF',--# DeepSkyBlue
color7 = '#ffffff',--# PowderBlue
color8 = '#FFD700',--# Gold
color9 = '#ffffff',--# IndianRed
draw_borders = false,
stippled_borders = 5,
border_inner_margin = 5,
border_outer_margin = 0,
border_width = 2,
draw_graph_borders = false,
background = false,
use_spacer = 'none',
no_buffers = true,
double_buffer = true,
update_interval = 1,
lua_load = '~/LUA/image.lua',
};
conky.text = [[
##### Start #####
${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2015 -h2015}
##### Zeit #####
${voffset -35}${font GE Inspira:size=55}${time %H}:${time %M}${font GE Inspira:size=20}${color 808080}${goto 180}${time %S}$color$font
##### Datum #####
${voffset -55}${font GE Inspira:size=14}${alignc -50}${time %A, %d %B %Y}$font
##### Wind-Info-Anzeige ######
${goto 310}${font GE Inspira:size=12}Wind : ${execi 90 sed -n '5p' $HOME/1_accuweather/curr_cond} ${execi 90 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 310}Humidity : ${execi 90 sed -n '7p' $HOME/1_accuweather/curr_cond}
${goto 310}Pressure : ${execi 90 sed -n '8p' $HOME/1_accuweather/curr_cond}
#### Stadt ####
${voffset -5}${font GE Inspira:size=14}Den Haag, NL : ${font} ${execi 90 sed -n '1p' $HOME/1_accuweather/aktualisiert}
${font GE Inspira:size=18}${goto 135}${execi 90 sed -n '2p' $HOME/1_accuweather/curr_cond} °C ${font} Gefühlt : ${voffset -12}${font GE Inspira:size=18}${execi 90 sed -n '3p' $HOME/1_accuweather/curr_cond} °C
${goto 555}${voffset -124}${font ubuntu:size=11}N $font
${goto 522}${voffset 8}${font Ubuntu:size=6}NNW ${goto 583}NNE$font
${goto 493}${voffset -6}${font Ubuntu:size=9}NW ${goto 611}NE$font
${goto 486}${voffset 10}${font Ubuntu:size=6}WNW ${goto 618}ENE$font
${goto 468}${voffset 5}${font Ubuntu:size=11}W ${goto 641}E$font
${goto 486}${voffset 9}${font Ubuntu:size=6}WSW ${goto 618}ESE
${goto 493}${voffset 16}${font Ubuntu:size=9}SW ${goto 611}SE$font
${goto 522}${voffset -4}${font Ubuntu:size=6}SSW ${goto 583}SSE
${goto 555}${voffset 4}${font Ubuntu:size=11}S $font
#### Anzeige der nächsten drei Stunden und drei Tage ####
${voffset -60}${goto 20}${time %H}h\
${goto 95}${tztime GMT-3 %H}h\
${goto 170}${tztime GMT-4 %H}h\
${goto 245}${execi 3600 date --date='1 day' '+%a. %e'}\
${goto 320}${execi 3600 date --date='2 day' '+%a. %e'}\
${goto 400}${execi 3600 date --date='3 day' '+%a. %e'}
##### Temperaturanzeige #####
${voffset 25}
T${goto 20}${execi 90 sed -n '29p' $HOME/1_accuweather/hourly1}°\
${goto 95}${execi 90 sed -n '30p' $HOME/1_accuweather/hourly1}°\
${goto 170}${execi 90 sed -n '31p' $HOME/1_accuweather/hourly1}°\
${goto 245}${color9}${execi 90 sed -n '8p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 90 sed -n '9p' $HOME/1_accuweather/first_days}°${color}\
${goto 320}${color9}${execi 90 sed -n '13p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 90 sed -n '14p' $HOME/1_accuweather/first_days}°${color}\
${goto 400}${color9}${execi 90 sed -n '18p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 90 sed -n '19p' $HOME/1_accuweather/first_days}°${color}
#### Icons aktuelle Bedingungen und Wind ####
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_0.png 180 5 132 80 0}${lua fDrawImage $HOME/1_accuweather/forecast_2015/wind_0.png 465 12 190 190 0}\
#### Icons für die nächsten 3 Stunden und 3 Tage ####
${lua fDrawImage $HOME/1_accuweather/hourly_2015/hourly_1.png 0 155 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/hourly_2015/hourly_2.png 75 155 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/hourly_2015/hourly_3.png 150 155 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_2.png 225 155 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_3.png 300 155 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_4.png 380 155 70 40 0}
${voffset -800}
]];