You are not logged in.

#26 2020-08-11 00:05:37

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 297
Website

Re: My conky often stops updating

Well, another freeze.  Gonna try removing the external IP portion.  If that doesn't solve my issue, I'm out of ideas.


Schw.im! A social site with an identity crisis.

Offline

#27 2020-08-11 00:48:17

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,308
Website

Re: My conky often stops updating

You could try making a new conky. Add bits from the current freezing one, one at a time, testing at each step till you hit the problem.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#28 2020-08-11 01:42:06

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,401

Re: My conky often stops updating

+1 what John said


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#29 2020-08-11 02:59:28

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,401

Re: My conky often stops updating

@ Schwim


Your External IP call ... that is calling every second.
AND: conky man page:

exec command
       Executes a shell command and displays the output in conky. warning: this takes a lot more resources than other variables. I'd recommend coding wanted behaviour in C and posting a patch.



Why not try calling once a day I have a desktop it doesn't move so really do not "need" to show external IP.

BUT:

External IP:  ${execpi 86400 curl -s www.icanhazip.com}

I'm testing that in a little conky now.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#30 2020-08-12 05:50:05

ohnonot
...again
Registered: 2015-09-29
Posts: 4,882
Website

Re: My conky often stops updating

schwim wrote:

Well, another freeze.  Gonna try removing the external IP portion.  If that doesn't solve my issue, I'm out of ideas.

There have been requests for troubleshooting before you posted this.


BL quote proposals to this thread please.
my repos / my repos
---
Thank you for posting direct image links!

Offline

#31 2020-08-12 15:32:05

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 297
Website

Re: My conky often stops updating

Hi there guys and thanks for all the help!

The external IP request seems to have been the culprit.  Sector, I'll make your modification to it, thank you all so much for all of your help!


Schw.im! A social site with an identity crisis.

Offline

#32 2020-08-16 16:54:30

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 297
Website

Re: My conky often stops updating

Hi there folks smile

I shamefacedly return as I've re-broken my conky by trying to add the weather back after resolving the issue with the external IP.

${font Denk One:bold:size=10}W E A T H E R ${hr 2}$color${execi 600 bash $HOME/.scripts/1_accuweather_RSS/1_RSS}
${font conkyweather:size=30}${execpi 600  sed -n '2p' $HOME/.scripts/1_accuweather_RSS/weather}${font}${goto 75}${voffset -25}${execpi 600 sed -n '1p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c1-20}
${goto 75}${execpi 600 sed -n '1p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c21-40}
${goto 75}${execpi 600 sed -n '1p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c41-60}

${execi 600  sed -n '3p' $HOME/.scripts/1_accuweather_RSS/weather}
${font conkyweather:size=30}${execpi 600  sed -n '5p' $HOME/.scripts/1_accuweather_RSS/weather}${font}${goto 75}${voffset -25}${execpi 600 sed -n '4p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c1-20}
${goto 75}${execpi 600 sed -n '4p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c21-40}
${goto 75}${execpi 600 sed -n '4p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c41-60}

${execi 600  sed -n '6p' $HOME/.scripts/1_accuweather_RSS/weather}
${font conkyweather:size=30}${execpi 600  sed -n '8p' $HOME/.scripts/1_accuweather_RSS/weather}${font}${goto 75}${voffset -25}${execpi 600 sed -n '7p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c1-20}
${goto 75}${execpi 600 sed -n '7p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c21-40}
${goto 75}${execpi 600 sed -n '7p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c41-60}

The scripts and fonts are in place, the weather executable is chmodded +x but when adding this into my conky, a restart results in a complete no-show.  I suspect that it's because I'm trying to introduce depracated conky format into something that was updated.

I'm not sure how to grab/use convert.lua to see if that might resolve my issue.  Any suggestions on what to provide in terms of additional information for assistance and I'll throw it up here.

Thanks for your time!

For reference, entire conky:

conky.config = {
	background = true,
	use_xft = true,
	font = 'Liberation Sans:size=9',
	xftalpha = 1,
	update_interval = 1.0,
	total_run_times = 0,
	own_window = true,
	own_window_transparent = false,
	own_window_type = 'desktop',
	own_window_argb_visual = true,
	own_window_argb_value = 150,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	double_buffer = true,
	draw_shades = true,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
-- default_color 808080
	default_color = '#ff8000',
	default_shade_color = '#000000',
	default_outline_color = '#828282',
	alignment = 'top_right',
	gap_x = 8,
	gap_y = 40,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = false,
	maximum_width = 200,
	minimum_width = 200, minimum_height = 1030,
	temperature_unit = 'fahrenheit',
--#############################################
--  Output
--#############################################
};

conky.text = [[
${font Denk One:normal:size=30}${alignr 5}${time %I:%M %p}
${font Denk One:normal:size=20}${alignr 5}${time %d} ${time  %B}
${alignr 5}${time %A}${font}

${font Denk One:bold:size=10}S Y S T E M    I N F O ${hr 2}
${font Liberation Sans:normal:size=8}Host:${alignr}${nodename}
Uptime:${alignr}${uptime}

${font Denk One:bold:size=10}P R O C E S S O R ${hr 2}
 ${cpubar cpu1}
 ${cpubar cpu2}
${font Denk One:bold:size=10}M E M O R Y ${hr 2}

${font Liberation Sans:normal:size=8}RAM ${alignc} ${mem} / ${memmax} ${alignr}${memperc}%
${membar}
SWAP ${alignc} ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}
Disk usage:${alignr}${fs_used /}/${fs_size /}

${font Denk One:bold:size=10}N E T W O R K ${hr 2}
${font Liberation Sans:normal:size=8}Internal IP: ${addr enp0s3}
${font Liberation Sans:normal:size=8}External IP:  ${execpi 86400 curl -s www.icanhazip.com}

DLS:
${downspeedgraph enp0s3 15,180 ff8000 ffffff}
Speed: ${downspeed enp0s3} ${alignr}Total: ${totaldown enp0s3}

ULS:
${upspeedgraph enp0s3 15,180 ff8000 ffffff}
Speed: ${upspeed enp0s3} ${alignr}Total: ${totalup enp0s3}]];

${font Denk One:bold:size=10}W E A T H E R ${hr 2}$color${execi 600 bash $HOME/.scripts/1_accuweather_RSS/1_RSS}
${font conkyweather:size=30}${execpi 600  sed -n '2p' $HOME/.scripts/1_accuweather_RSS/weather}${font}${goto 75}${voffset -25}${execpi 600 sed -n '1p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c1-20}
${goto 75}${execpi 600 sed -n '1p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c21-40}
${goto 75}${execpi 600 sed -n '1p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c41-60}

${execi 600  sed -n '3p' $HOME/.scripts/1_accuweather_RSS/weather}
${font conkyweather:size=30}${execpi 600  sed -n '5p' $HOME/.scripts/1_accuweather_RSS/weather}${font}${goto 75}${voffset -25}${execpi 600 sed -n '4p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c1-20}
${goto 75}${execpi 600 sed -n '4p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c21-40}
${goto 75}${execpi 600 sed -n '4p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c41-60}

${execi 600  sed -n '6p' $HOME/.scripts/1_accuweather_RSS/weather}
${font conkyweather:size=30}${execpi 600  sed -n '8p' $HOME/.scripts/1_accuweather_RSS/weather}${font}${goto 75}${voffset -25}${execpi 600 sed -n '7p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c1-20}
${goto 75}${execpi 600 sed -n '7p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c21-40}
${goto 75}${execpi 600 sed -n '7p' $HOME/.scripts/1_accuweather_RSS/weather|cut -c41-60}

Schw.im! A social site with an identity crisis.

Offline

#33 2020-08-16 17:57:01

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,401

Re: My conky often stops updating

If you know it is the weather that is now causing problem you shoould post in >> Teo's weather script thread.

The latest script is available at the Git Repository linked in the first post.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#34 2020-08-16 19:17:15

damo
....moderator....
Registered: 2015-08-20
Posts: 6,271

Re: My conky often stops updating

I'm not sure how to grab/use convert.lua to see if that might resolve my issue.

/usr/share/doc/conky-all/convert.lua


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#35 2020-08-16 19:28:37

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,401

Re: My conky often stops updating

Your issues is NOT with the version 10 conky - you have that BUT:

 16 Aug 20 @ 16:29:06 ~
   $ cd ~/schwim
 
 16 Aug 20 @ 16:29:25 ~/schwim
   $ ls
conky
 
 16 Aug 20 @ 16:29:32 ~/schwim
   $ convert.lua conky conky_10
 
 16 Aug 20 @ 16:29:39 ~/schwim
   $ ls
conky  conky_10
 
 16 Aug 20 @ 16:29:41 ~/schwim
   $ 

Check out Teo's thread for weather help.  You probably need to update the script.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

Board footer

Powered by FluxBB