Conky: execpi does not repeat itself

Created on 8 Oct 2019  ·  4Comments  ·  Source: brndnmtthws/conky

Hello there.

Issue

_Execpi_ only runs once (same than execp) and not repeat the command after the interval selected.

Informations

conky 1.10.8 on Xubuntu 18.04

bug

All 4 comments

Unrelated... I ran into an issue where execpi isn't firing their commands at correct intervals (i.e. commands ran at 1-2s intervals instead of specified 5s, 10s, 15s, 20s intervals). c352069b31b2dbb4d87503603d6c6d3ddd517df6 is the first bad commit.

Can we have a config too? v1.10.8 execs commands repeatedly okay for me here using...

${execpi 5 date}
${execpi 10 date +%T}
${execpi 15 date +%T%}
${execpi 20 date +%T%%%}

Screenshot_2019-10-08_14-06-42

You mean the conkyrc ? If yes :

# http://conky.sourceforge.net/config_settings.html
# Use Xft?
use_xft yes
xftfont Ubuntu Beta:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 60

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 210  # semi-transparent
own_window_type normal
own_window_class conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 257 40
maximum_width 900
maximum_height 1600

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin 2

# border width
border_width 1

# Default colors and also border colors
default_color 00c4e7    #DF6D14
default_shade_color black
default_outline_color white
own_window_colour black

# Text alignment, other possible values are commented
#alignment top_left
alignment tl
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x -25
gap_y 300

# Subtract file system buffers from usedmemory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none


TEXT

${execpi 5 date}
${execpi 10 date +%T}
${execpi 15 date +%T%}
${execpi 20 date +%T%%%}

This is very strange - this bug did not exist in that build in my experience - refer to bug #870 ( execpi interval values are not correct )

All said - this bug exists :+1:

I can reproduce this on v1.10.7. Can't compile v1.10.6 or below due to Makefile error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LeoIannacone picture LeoIannacone  ·  3Comments

ghost picture ghost  ·  4Comments

mreinhardt picture mreinhardt  ·  3Comments

bad-interpreter picture bad-interpreter  ·  4Comments

zero77 picture zero77  ·  3Comments