dennyhalim / wbar

Automatically exported from code.google.com/p/wbar
GNU General Public License v3.0
0 stars 0 forks source link

Wbar - first icon isn't shown & labels are shifted. #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have following config file:
# The Bar && Font
#
#wbarcommand="wbar -bpress -above-desk"

t: /usr/share/wbar/iconpack/wbar.osx/font/12

i: /usr/share/wbar/iconpack/wbar.osx/nautilus.png
c: nautilus --no-desktop --browser
t: nautilus

i: /usr/share/wbar/iconpack/wbar.osx/firefox.png
c: firefox
t: firefox

i: /usr/share/wbar/iconpack/wbar.osx/skype.png
c: skype
t: skype

i: /usr/share/wbar/iconpack/wbar.osx/gimp.png
c: gimp
t: gimp

i: /usr/share/wbar/iconpack/wbar.osx/xmms.png
c: qmmp
t: qmmp

i: /mnt/temp/gdevelop/release/res/icon32.png
c: "/mnt/temp/gdevelop/release/Start Game Develop"
t: Game Develop

But first icon (nautilus) isn't shown and labels are shifted, so firefox is 
being shown as nautilus, skype as firefox, etc. Icons and commands being 
executed are okay, though.

Original issue reported on code.google.com by testor...@gmail.com on 2 Jan 2012 at 8:08

GoogleCodeExporter commented 9 years ago
Forgot to say - wbar version used is 2.2.2 compiled from sources on opensuse 
11.3

Original comment by testor...@gmail.com on 2 Jan 2012 at 8:09

GoogleCodeExporter commented 9 years ago
You have an error in your config file syntax making wbar think that your 
settings for nautilus are the related to wbar instead.
The correct syntax is as follows:
The first line should say "i:" and then path to your background file.
Next line should say "c:" and your wbar command and options.
The third line should say "t:" and your desired font path.

In your case, the correct syntax coud look like
# The Bar && Font
#
i: /usr/share/wbar/iconpack/wbar.osx/osxbarback.png
c: wbar -bpress -above-desk
t: /usr/share/wbar/iconpack/wbar.osx/font/12

i: /usr/share/wbar/iconpack/wbar.osx/nautilus.png
c: nautilus --no-desktop --browser
t: nautilus

...... etc...etc...etc

PS: Adding back your nautilus icon definition using `wbar-config' tool could 
fix the issue too.

Original comment by ivan.fit...@eltrino.com on 3 Jan 2012 at 1:10