You are not logged in.

#1 2010-10-12 14:18:55

BaconPie
Member
Registered: 2010-08-11
Posts: 209

Conky suddenly misaligning lines

I switched my computer on and noticed something odd. Conky is no longer interpereting $alignr on some lines.

In the .conkyrc I include a script which calculates and displays my diskspace:

$ grep diskSpace .conkyrc 
${execp /home/tom/.ConkyScripts/diskSpace}

$ less .ConkyScripts/diskspace
#!/bin/bash
#: Description : Shows the free space of attached devices for Conky
#: Author      : Thomas Preston

## List of places to be displayed if mounted
placesDisplayed=/home/tom/.ConkyScripts/placesDisplayed

## Go through each place
while read place
do
  ## If they exist in mtab then print them and their size
  if [[ $( mount | grep -c $place ) -gt 0 ]]
  then
    printf "%s \$alignr \${fs_used %s} / \${fs_size %s}\n" $place $place $place
  fi
done < $placesDisplayed

When run this outputs:

$ .ConkyScripts/diskSpace 
/ $alignr ${fs_used /} / ${fs_size /}
/home $alignr ${fs_used /home} / ${fs_size /home}
/mnt/Windows $alignr ${fs_used /mnt/Windows} / ${fs_size /mnt/Windows}

I have not changed this file at all and yet, since three days ago the output looks like this: image

The /home and /mnt/Windows should be left aligned. The only thing that may have changed is that I ran an update and conky may have been updates and this may be a bug.... maybe.

It also does this with my volume information which is also generated by a script. The output of both files has not changed since it was working though.

Anyone else had something similar or a remedy?

Offline

#2 2010-10-12 14:43:11

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Conky suddenly misaligning lines

Offline

#3 2010-10-12 14:54:52

BaconPie
Member
Registered: 2010-08-11
Posts: 209

Re: Conky suddenly misaligning lines

Hm, that's weird because I'm sure it was working. Oh well, I guess I'll have to wait it out.

Thanks.

Offline

#4 2010-10-12 15:39:18

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Conky suddenly misaligning lines

There was a Conky update a few days ago

Offline

#5 2010-10-12 18:35:08

BaconPie
Member
Registered: 2010-08-11
Posts: 209

Re: Conky suddenly misaligning lines

It never fixed it though.

Offline

#6 2010-11-07 19:50:05

BaconPie
Member
Registered: 2010-08-11
Posts: 209

Re: Conky suddenly misaligning lines

Did this ever get fixed? It's still a problem.

Offline

#7 2010-11-08 03:32:32

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Conky suddenly misaligning lines

Go track the issue on the bug report I submitted in the linked thread. Don't bump this, this is not an Arch issue.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB