Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Conky Helps and Stuff

Message
Author
User avatar
richb
Administrator
Posts: 17564
Joined: Wed Jul 12, 2006 2:17 pm

Re: Conky Helps and Stuff

#151 Post by richb » Thu Jul 05, 2018 6:37 am

My conky was working very well, then stopped updating yesterday morning. Started and stopped, checked the code for any changes. Any clue why?

Code: Select all

# pkill -xf "conky -c /home/USER/eadwine/conkyrc9
# 2018-06-26 @male for @Eadwine Rose

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,skip_taskbar,skip_pager,below
#own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 80
own_window_class Conky

minimum_size 670 370
#maximum_width 655
gap_x 30 # l|r
gap_y 310 # u|d
#alignment tl
alignment tl

use_xft yes
xftfont GE Inspira:size=10
xftalpha 1

override_utf8_locale yes

draw_shades no
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color ffffff
color1 778899
color2 FFA07A
color3 87CEFA
color4 48D1CC
color5 FFDEAD
color6 00BFFF
color7 ffffff
color8 FFD700
color9 ffffff

draw_borders no
stippled_borders 5
border_inner_margin 5
border_outer_margin 0
border_width 2
draw_graph_borders no
background no
use_spacer none
no_buffers yes
double_buffer yes

update_interval 1
lua_load /home/rich/.conky/eadwine/LUA/image.lua

TEXT
##### Start #####
${execi 600 bash $HOME/1_accuweather/1_accuweather -f2015 -h2015}
##### Zeit #####
#${voffset -35}${font GE Inspira:size=30}${time %I:%M}${font GE Inspira:size=20}${color 808080}${goto 180}$color$font
##### Datum #####
#${voffset -55}${font GE Inspira:size=14}${alignc 50}${time %A, %d %B %Y}$font
##### Wind-Info-Anzeige ######
${goto 10}${font GE Inspira:size=12}Wind : ${execi 600 sed -n '5p' $HOME/1_accuweather/curr_cond} ${execi 600 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 10}Humidity : ${execi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}
${goto 10}Pressure : ${execi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
#### Stadt ####
${voffset 10}${font GE Inspira:size=14}Charlotte,  NY${font} ${execi 600 sed -n '1p' $HOME/1_accuweather/aktualisiert}
${font GE Inspira:size=18}${goto 135}${execi 600 sed -n '2p'  $HOME/1_accuweather/curr_cond} °F ${font} ${offset -160}Current : ${offset 100}Feels :  ${voffset -15}${font GE Inspira:size=18}${execi 600 sed -n '3p' $HOME/1_accuweather/curr_cond} °F
${goto 555}${voffset -180}${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 -95}
${goto 20}${tztime GMT+1 %I %p}\
${goto 95}${tztime GMT %I %p}\
${goto 170}${execi 3600 date  --date='1 day' '+%a %e'}\
${goto 245}${execi 3600 date  --date='2 day' '+%a %e'}\
${goto 320}${execi 3600 date  --date='3 day' '+%a %e'}\
${goto 395}${execi 3600 date  --date='4 day' '+%a %e'}
##### Temperaturanzeige  #####
${voffset 25}
${goto 30}${execi 600 sed -n '32p' $HOME/1_accuweather/hourly1}°\
${goto 105}${execi 600 sed -n '33p' $HOME/1_accuweather/hourly1}°\
${goto 170}${color9}${execi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${color}\
${goto 245}${color9}${execi 600 sed -n '13p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 600 sed -n '14p' $HOME/1_accuweather/first_days}°${color}\
${goto 325}${color9}${execi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${color}\
${goto 400}${color9}${execi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${color}
#### Icons aktuelle Bedingungen und Wind ####
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_0.png 200 20 200 125 0}${lua fDrawImage $HOME/1_accuweather/forecast_2015/wind_0.png 470 60 190 190 0}\
#### Icons für die nächsten 3 Stunden und 3 Tage ####
${lua fDrawImage $HOME/1_accuweather/hourly_2015/hourly_2.png 10 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/hourly_2015/hourly_3.png 85 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_2.png 160 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_3.png 235 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_4.png 310 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_5.png 385 235 70 40 0}\
${voffset -800}
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 6405
Joined: Wed Jul 12, 2006 2:10 am

Re: Conky Helps and Stuff

#152 Post by Eadwine Rose » Thu Jul 05, 2018 7:22 am

Weird.. mine stopped for a bit around that time you sent me the PM but mine is working again normally now *shrug*
MX-17.1_x64 Horizon 3-2018 * 4.15.0-1-amd64 ext4 Xfce 4.12.3 * AMD Asus M4A785TD-V EVO AM3 * ASUS GF GT640-1GD5-L NVIDIA 384.130 * AMD Proc. Athl II X4 635, sAM3 * HDA ATI SB VT1708S An * 2x4Gb DDR3 1600 Kingst * 22" Samsung SyncM P2250 * HP Envy5030

User avatar
male
Forum Regular
Forum Regular
Posts: 326
Joined: Thu Jan 23, 2014 8:38 am

Re: Conky Helps and Stuff

#153 Post by male » Thu Jul 05, 2018 7:47 am

richb wrote:Any clue why?
@richb,

try... ;)
Male is the capital of the Maldives and its wonderful people.

User avatar
richb
Administrator
Posts: 17564
Joined: Wed Jul 12, 2006 2:17 pm

Re: Conky Helps and Stuff

#154 Post by richb » Thu Jul 05, 2018 7:53 am

Thanks not sure how to interpret this.

Code: Select all

conky -v
conky 1.10.6 compiled Fri Dec  9 09:25:23 UTC 2016 for Linux 3.16.0-4-amd64 x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky


 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * Curl
  * RSS
  * Weather (METAR)
  * Weather (XOAP)
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * eve-online
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
  * PulseAudio

 Lua bindings:
  * Cairo
  * Imlib2
  * RSVG
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window

 Music detection:
  * Audacious
  * MPD
  * MOC
  * XMMS2

 Default values:
  * Netdevice: eth0
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 64
  * Maximum text size: 16384
  * Size text buffer: 256
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
male
Forum Regular
Forum Regular
Posts: 326
Joined: Thu Jan 23, 2014 8:38 am

Re: Conky Helps and Stuff

#155 Post by male » Thu Jul 05, 2018 11:21 am

now I don't understand you... :confused:

Your configuration above has the syntax 1.9

What you post now is syntax 1.10 on your computer.
It's irrelevant to my orders.

If you want to run the configuration from top to Conky1.10, you have to change it to this syntax1.10 first

To do this, go to the path
/usr/share/doc/conky*
the lua script convert.lua


Copy it into the directory of your 1.9 configuration
e.g. /home/richb/eadwine/[conkyrc9]

make sure it is executable and go to the directory with the terminal.
This is where you carry out the order:

Code: Select all

lua convert.lua conkyrc9 conkyrc10
Edit: 2018-10-10
Sorry, in debian the Lua command line interpreter is always missing.
So install

Code: Select all

apt install lua5.2
to execute the lua convert command. :exclamation:

conkyrc9 will be retained, the necessary conkyrc10
configuration, which you can use in the future.

the calling up the images

Code: Select all

${lua fDrawImage $HOME...}

will no longer work. :mad:

The solution to this problem is the removal of the
of the Lua Toung and the use e.g.

Code: Select all

${image $HOME/1_accuweather/forecast_2015/forecast_0.png -p 0,35 -s 167x100}
how that TBG in its 1.10 configurations makes. :happy:
Last edited by male on Wed Oct 10, 2018 4:28 pm, edited 1 time in total.
Male is the capital of the Maldives and its wonderful people.

User avatar
male
Forum Regular
Forum Regular
Posts: 326
Joined: Thu Jan 23, 2014 8:38 am

Re: Conky Helps and Stuff

#156 Post by male » Thu Jul 05, 2018 12:33 pm

richb wrote:Thanks. Get stuck here,...
liblua5.1-0

Code: Select all

apt show conky-all
Package: conky-all
Version: 1.10.6-1
Priority: optional
Section: utils
Source: conky
Maintainer: Vincent Cheng <vcheng@debian.org>
Installed-Size: 1.773 kB
Depends: libaudclient2 (>= 2.3), libc6 (>= 2.17), libcairo2 (>= 1.8.0), libcurl3-gnutls (>= 7.16.2), libdbus-glib-1-2 (>= 0.78), libgcc1 (>= 1:4.2), libglib2.0-0 (>= 2.12.0), libimlib2 (>= 1.4.5), libiw30 (>= 30~pre1), [b]liblua5.1-0[/b], libncurses5 (>= 6), libpulse0 (>= 0.99.1), librsvg2-2 (>= 2.35.2), libstdc++6 (>= 6), libtinfo5 (>= 6), libx11-6, libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxft2 (>> 2.1.1), libxinerama1, libxml2 (>= 2.7.4), libxmmsclient6 (>= 0.7DrNo), libxnvctrl0
Suggests: apcupsd, audacious, moc, mpd, xmms2
Conflicts: conky-cli, conky-std
Breaks: conky (<< 1.8.0-1)
Replaces: conky (<< 1.8.0-1), conky-cli, conky-std
Homepage: http://conky.sourceforge.net/
Tag: admin::monitoring, implemented-in::c, interface::x11, role::program,
 scope::utility, uitoolkit::xlib, use::monitor, x11::applet
Download-Size: 457 kB
APT-Manual-Installed: yes
APT-Sources: https://deb.debian.org/debian stretch/main i386 Packages
Description: highly configurable system monitor (all features enabled)
 Conky is a system monitor that can display just about anything,
 either on your root desktop or in its own window.
 Conky has many built-in objects, as well as the ability to execute
 external programs or scripts (either external or through built-in
 lua support).
 .
 This is a full conky with most compile options enabled:
 .
 X11, XDamage, XDBE, Xft, MPD, MOC, math, hddtemp, portmon, RSS,
 Weather, wireless, IBM, nvidia, eve-online, Imlib2,
 apcupsd, I/O stats, argb, Lua and the cairo and imlib2 lua bindings,
 Audacious, XMMS2, and PulseAudio.
Male is the capital of the Maldives and its wonderful people.

User avatar
richb
Administrator
Posts: 17564
Joined: Wed Jul 12, 2006 2:17 pm

Re: Conky Helps and Stuff

#157 Post by richb » Thu Jul 05, 2018 12:41 pm

Completed. Still will not update. Has the same temperatures since yesterday morning.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 6405
Joined: Wed Jul 12, 2006 2:10 am

Re: Conky Helps and Stuff

#158 Post by Eadwine Rose » Thu Jul 05, 2018 1:29 pm

Is the code otherwise the same as mine Rich?

Weird..
MX-17.1_x64 Horizon 3-2018 * 4.15.0-1-amd64 ext4 Xfce 4.12.3 * AMD Asus M4A785TD-V EVO AM3 * ASUS GF GT640-1GD5-L NVIDIA 384.130 * AMD Proc. Athl II X4 635, sAM3 * HDA ATI SB VT1708S An * 2x4Gb DDR3 1600 Kingst * 22" Samsung SyncM P2250 * HP Envy5030

User avatar
richb
Administrator
Posts: 17564
Joined: Wed Jul 12, 2006 2:17 pm

Re: Conky Helps and Stuff

#159 Post by richb » Thu Jul 05, 2018 1:36 pm

Eadwine Rose wrote:
Thu Jul 05, 2018 1:29 pm
Is the code otherwise the same as mine Rich?

Weird..
Yes except for positioning and some elements left n like the wind direction image and some left out like date and time. The other thing to note is that it was working for several days without the recent conversion from 9 to 10 today. So I do not believe it was a version issue.

So I am back to the panel widget, Conky Weather for another decade. ;)
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 6405
Joined: Wed Jul 12, 2006 2:10 am

Re: Conky Helps and Stuff

#160 Post by Eadwine Rose » Thu Jul 05, 2018 2:04 pm

Crazy idea.. change the city? See what gives?

Too bad you couldn't get it working Rich!
MX-17.1_x64 Horizon 3-2018 * 4.15.0-1-amd64 ext4 Xfce 4.12.3 * AMD Asus M4A785TD-V EVO AM3 * ASUS GF GT640-1GD5-L NVIDIA 384.130 * AMD Proc. Athl II X4 635, sAM3 * HDA ATI SB VT1708S An * 2x4Gb DDR3 1600 Kingst * 22" Samsung SyncM P2250 * HP Envy5030

Post Reply

Return to “Software / Configuration”