Menu

#240 width when exec command with multi-line output

open
nobody
Code (277)
5
2009-09-03
2009-09-03
Anonymous
No

An exec item gives back two lines as output. The width of the conky area seems to be calculated as if these two lines were one line, so if line one has 20 and line two has 30 characters, the width will be something around 50 instead of 30. See attached screenshot for illustration. The version 1.7.1.1 did calculate the width as desired, taking the longest line for the width.

conky -V
Conky 1.7.2 compiled Tue Aug 25 13:03:20 PDT 2009 for Linux 2.6.30-ARCH (x86_64)

Compiled in features:

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

X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft

Music detection:
* MPD
* MOC

General:
* math
* hddtemp
* portmon
* Curl
* RSS
* wireless
* support for IBM/Lenovo notebooks
* config-output
* Imlib2
* ALSA mixer support
* apcupsd
* iostats

Discussion

  • Nobody/Anonymous

    screenshot of 1.7.2

     
  • Nobody/Anonymous

    The problem is not present when using execp instead of exec

     
  • Cesare Tirabassi

    Should be closed by commit 72bbe51a8c323702db76094e27266e67cc1ba5b5

     

Log in to post a comment.