You are not logged in.

#1 2011-05-30 16:48:25

dimension9
Member
Registered: 2011-05-30
Posts: 4

pacman - Syu upgrade broke wbar

Hi all,  I have an old pIII laptop running Arch with Fluxbox.  It was all good and running fine and my wbar was setup perfectly with a wbar oriented vertically on the left edge of the sceen.  After I did my Pacman -Syu upgrade command however, the wbar startup command in .flubox/ startup no longer starts wbar correctly.

Now, the wbar starts horizontally in the center of the screen with none of my specified configurations applied, the first and last icons are missing, and the far right is tucked under my conky.

re-running from a terminal gives:

problem load font file aterm
invalid bar position
set default bar position

...which of course IS being set in the command line, and as I mentioned above, always worked flawlessly before the update

Here is the .fluxbox/startup command as is (which always worked fine before):
wbar -config ~/.wbar -above-desk -isize24 -idist 0 -zoomf 1.001 -jumpf 1.0 -pos left - dblclk 0 -bpress -vbar -balfa 0 -falfa 100 -filter 0 -fc 0xff00c800 -nanim 21 & # -nofont &

the .wbar config for the font (which also always worked flawlessly before) is:

# The Bar && Font

i: /usr/share/wbar/iconpack/wbar.osx/osxbarback.png
t: /usr/share/wbar/iconpack/comic/8

...this is followed by the entries for all my icons and programs, (which do still come up except for the first and last ones as mentioned above - which I think is because of the size and position parameters not being applied)

Now, a bit of investigation revealed that although  the /usr/share/wbar/iconpack/ folder appears in a locate command for 'iconpack,' the folder seems to no longer actually exist.  Of course, this means that the sub folders 'comic.' and wbar.osx also no longer exist.

So, I am theorizing that the entirety of my .fluxbox/startup  command line invocation to start wbar is failing on the first few lines of the .wbar config file, since the folders it is looking for are now gone, and therefore it is exiting without applying the rest of the command line switches.

I tried re-installing  wbar,  also tried copying comic.ttf to the wbar folder, also tried re-creating the iconpack/comic folder and putting the font in there.  Nothing seems to work.  ...and I cannot locate osxbarback.png anywhere anymore.

Does anyone have any ideas on how I might fix this?

Thanks. and Best Regards,

-d9

Offline

#2 2011-05-30 17:22:15

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: pacman - Syu upgrade broke wbar

Offline

#3 2011-05-30 17:34:13

dimension9
Member
Registered: 2011-05-30
Posts: 4

Re: pacman - Syu upgrade broke wbar

graysky,

Apologies for the cross-post - I was unsure where to best put it, being new.  I have now attempted to delete the other post under pacman-related issues, but was unable to.

Also was unable to find instruction for deleting a post. Any tips on how I may correct this error?

Thanks for bringing this faux pas to my attention.

I will never do it again.

-d9

-

Offline

#4 2011-05-30 17:41:04

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: pacman - Syu upgrade broke wbar

You can't delete your posts. It will be deleted for you.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#5 2011-05-30 17:41:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,652

Re: pacman - Syu upgrade broke wbar

Moderator: Closed the other thread and linked here.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2011-05-30 21:42:58

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: pacman - Syu upgrade broke wbar

dimension9 wrote:

Here is the .fluxbox/startup command as is :
wbar -config ~/.wbar -above-desk -isize24 -idist 0 -zoomf 1.001 -jumpf 1.0 -pos left - dblclk 0 -bpress -vbar -balfa 0 -falfa 100 -filter 0 -fc 0xff00c800 -nanim 21 & # -nofont &

The options should be preceded with two hyphens rather than one : example --above-desk etc.
$HOME/.wbar is the default config file, so you don't need to declare the default on the command line.
And you can put all the options in the config file ( see the template in /etc/default/wbar/wbar.cfg )

dimension9 wrote:

# The Bar && Font

i: /usr/share/wbar/iconpack/wbar.osx/osxbarback.png
t: /usr/share/wbar/iconpack/comic/8

...this is followed by the entries for all my icons and programs

The path is now changed, look again in the template wbar.cfg. Mine begins like that :

i: /usr/share/pixmaps/wbar/osxbarback.png
c: wbar --bpress --above-desk --vbar --nofont --pos top-right --isize 32 --idist 5 --nanim 4 --falfa 65
t: /usr/share/fonts/TTF/DejaVuSans/12

And wbar can be launched in the .fluxbox/startup command just by :

wbar &

dimension9 wrote:

although  the /usr/share/wbar/iconpack/ folder appears in a locate command for 'iconpack,' the folder seems to no longer actually exist.

You have to run updatedb as root to refresh the database of the locate command.

dimension9 wrote:

I tried re-installing  wbar,  also tried copying comic.ttf to the wbar folder, also tried re-creating the iconpack/comic folder and putting the font in there.  Nothing seems to work.  ...and I cannot locate osxbarback.png anywhere anymore.

wbar now uses the /usr/share/pixmaps directory.
Look 'man wbar', 'man wbar-config', the /etc/default/wbar/wbar.cfg template for .wbar and the output of 'pacman -Ql wbar'.
You should see clearer after that.

Offline

#7 2011-05-30 23:48:02

dimension9
Member
Registered: 2011-05-30
Posts: 4

Re: pacman - Syu upgrade broke wbar

berbae,

Many, many thanks!  You gave me the keys I needed - now back up and running beautifully!

Best Regards,

-d9

Offline

Board footer

Powered by FluxBB