Wbar: a fancy launchbar (using Imlib2)

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
Eyes-Only
Posts: 1043
Joined: Thu 10 Aug 2006, 06:32
Location: La Confederation Abenaquaise

#106 Post by Eyes-Only »

I was just sitting here thinking how neat you're avatar is CatDude. :) I don't ever recall it doing "that" before with the eyes! Very cool effect indeed my fellow friend! Normally I don't care for avatars that "do things" as a lot of people latch onto some that can be down-right gruesome (I have come to mind "everyone's favourite" the frustrated computerist bashing his head bloody on the keyboard---ghastly thing!) and even others with frame rates that can be dangerous for epileptics such as myself.

But yours deserves an award for being both tasteful and attractive. An Olympic Gold Medal from me CatDude and two thumbs up!

Amicalement/In Friendship,

Eyes-Only
"L'Peau-Rouge"
*~*~*~*~*~*
Proud user of LXpup and 3-Headed Dog. 8)
*~*~*~*~*~*

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#107 Post by CatDude »

Hello Eyes-Only
Eyes-Only wrote: I was just sitting here thinking how neat you're avatar is CatDude. :) I don't ever recall it doing "that" before with the eyes! Very cool effect indeed my fellow friend!
Your absolutely correct my friend, it never used to, i got bored and thought i would add a bit of life to it.
The strange thing is, there appears to be a quick flash of white in the eyes, which is not part of the animation.
If you right click on the image and save it to your computer, then view it with mtpaint you will see that it does not
do the white flash, i suppose it must have something to do with the way the forum works. :roll:
Eyes-Only wrote: ...(I have come to mind "everyone's favourite" the frustrated computerist bashing his head bloody on the keyboard---ghastly thing!)...
I must admit that i did in fact find that particular avvy quite amusing. (But i do have a pretty warped/sick sense of humour :lol: )
Eyes-Only wrote: But yours deserves an award for being both tasteful and attractive. An Olympic Gold Medal from me CatDude and two thumbs up!
Thank you very much, i shall wear it with pride. :) :P

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#108 Post by wjaguar »

CatDude wrote:The strange thing is, there appears to be a quick flash of white in the eyes, which is not part of the animation.
If you right click on the image and save it to your computer, then view it with mtpaint you will see that it does not
do the white flash, i suppose it must have something to do with the way the forum works.
No, it is a bug in the animation. The frame #0 has eyes filled with transparent color, which the subsequent frames then draw over - and when animation gets cycled, such an area apparently gets cleaned to background, which in this GIF is set to white. Merge frames #0 and #1 to get rid of it.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#109 Post by CatDude »

Hello wjaguar
wjaguar wrote: No, it is a bug in the animation. The frame #0 has eyes filled with transparent color, which the subsequent frames then draw over - and when animation gets cycled, such an area apparently gets cleaned to background, which in this GIF is set to white. Merge frames #0 and #1 to get rid of it.
Well spotted mate, done as you suggested and now it looks as it was intended to. 8)

Thanks from one cat to another :wink:

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
Eyes-Only
Posts: 1043
Joined: Thu 10 Aug 2006, 06:32
Location: La Confederation Abenaquaise

#110 Post by Eyes-Only »

I noticed the white too guys---odd thing is that when I downloaded it to my computer and checked it in Mirage---no white flashy thing. How odd!? I wonder why?

Yeah, I know! I know! "Simple things amuse simple minds!" Well... ya just can't get more simple than MY MIND! :P LOL!

Amicalement,

Eyes-Only
"L'Peau-Rouge"

P/S: CatDude? Don't wear the "Gold" medal mate!---it'll rust. You think I can afford to pass out REAL ones? Sheesh! :twisted:
*~*~*~*~*~*
Proud user of LXpup and 3-Headed Dog. 8)
*~*~*~*~*~*

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#111 Post by CatDude »

Eyes-Only wrote: P/S: CatDude? Don't wear the "Gold" medal mate!---it'll rust. You think I can afford to pass out REAL ones? Sheesh! :twisted:
It will be fine, upon first recieving it i gave it several coats of laquer to keep it from tarnishing. Image

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#112 Post by CatDude »

Hello all

For those people who would like a different coloured font on their wbar
here are 19 (yes, nineteen) in various colour combinations to choose from.

Only the wbar executable is included (well 19 of them actually) :lol:

They were all compiled in Dingo using wbar-v1.3.3 with the offset patch,
the same one as posted Here

It requires the same imlib2-1.4.0.pet as posted by Wolf Pup Here


When extracted you will see the following directory:
  • wbar-v1.3.3-offset-patch-different-coloured-fonts
Inside of that directory you will find the following directories:
  • Black-Text-Coloured-Shadow
    blue
    green
    red
    white
    yellow

    Coloured-Text-Black-Shadow
    blue
    cyan
    green
    red
    yellow

    Coloured-Text-White-Shadow
    blue
    cyan
    green
    red
    yellow

    White-Text-Coloured-Shadow
    black
    blue
    green
    red
Also included is a README explaining how to use them.

Some of the colour combinations may not be to everyones taste,
but i included as many as i could.

Thanks go to Dougal for pointing me in the right direction as to what code to change.

I hope you find one that you like.

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#113 Post by battleshooter »

It seems that no one in this forum has had the same problems as I have in trying to get wbar going. I've got it going now, but I thought it was pretty strange.

Before I got wbar going, whenever I typed "wbar" into the console it gave me"

Code: Select all

Using /root/.wbar config file.
Using a Super Bar.
and I could see nothing. I looked at a couple different forums and I stubled upon the strangest fix: Just click where the bar should be, I did and it appeared! How weird is that? What did I do to get so strange a response? I used someone's patched pet file, sorry, I can't remember whose it was.

Edit: I remember! T'was CatDude's here
Not blaming CatDude in anyway BTW
Last edited by battleshooter on Sun 27 Jul 2008, 03:55, edited 1 time in total.

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#114 Post by battleshooter »

I don't know why this wbar doesn't like me :(

I can't configure it or anything cause I keep getting after I type eg. -config conf-file :

Code: Select all

Using /root/.wbar config file.
Using a Super Bar. 
Then nothing happens. Sigh.

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#115 Post by battleshooter »

Oh, oopps :oops:

Right, I get it now, super bar runs cause that's the script that's running and the reason why I get it when I type in

Code: Select all

-config conf-file
is cause that's the mode it's running in. Right! I get it! Noob I know :oops:

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#116 Post by battleshooter »

Yes, I know I'm back again. Terrible I know, 4 posts back to back. I'd delete them if I could, I hope I'll not be hung as a spammer :lol:

This is just a yes or no question: Can wbar have shortcuts to directories? It doesn't seem to like me placing a directory on it. It says

Code: Select all

sh: /mnt/hda5: is a directory

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#117 Post by WhoDo »

battleshooter wrote:Can wbar have shortcuts to directories? It doesn't seem to like me placing a directory on it. It says

Code: Select all

sh: /mnt/hda5: is a directory
wbar expects something that can be executed. A directory cannot be executed. Remember, it's a "launch bar".

To do what you want you might try this...

Code: Select all

rox --dir=/mnt/hda5
.
I've never tried it myself, but something like that should open the directory you are seeking. If not, open a console and type rox --help to see the parameters needed.

Hope that helps. Don't worry about the noob questions; most of us have been there before. I'm just surprised you didn't get any response to your earlier posts. :shock:
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

Solved!

#118 Post by battleshooter »

*Big grin*

Sweetness! Thanks WhoDo! It worked! 'Preciate your empathy for my noobiness too :) Thanks!

User avatar
blacktulipgirl
Posts: 31
Joined: Wed 27 Aug 2008, 15:13

ignore this post

#119 Post by blacktulipgirl »

I installed the patched one, and it shows up like this:

I would like it to start up... BUT IT DOESN'T. I tried the help above and it doesn't come back when i click on the desktop after typing wbar into the console.

I'm still new at all this linux stuff, its v. exciting to be able to customize :) I

Help!

Thanks, B
Last edited by blacktulipgirl on Sat 30 Aug 2008, 07:24, edited 1 time in total.
[b][color=darkred]"I'm shiny, Captain."[/color][/b] Kaylee on Firefly [i](my fave show of all time!)[/i]

Acer Aspire 3623 Laptop w/256MB RAM, 40G HD, Atheros AR5005G Wireless, Intel Celeron M, Running Puppy 4.0 Full Install!!!

I LOVE PUPPY!!!

User avatar
blacktulipgirl
Posts: 31
Joined: Wed 27 Aug 2008, 15:13

It works finally! I'm going to bed

#120 Post by blacktulipgirl »

I followed these directions and was finally able to have it work:

Image

http://www.puppylinux.org/wiki/how-tos/ ... m-launcher

Yippee!

B
[b][color=darkred]"I'm shiny, Captain."[/color][/b] Kaylee on Firefly [i](my fave show of all time!)[/i]

Acer Aspire 3623 Laptop w/256MB RAM, 40G HD, Atheros AR5005G Wireless, Intel Celeron M, Running Puppy 4.0 Full Install!!!

I LOVE PUPPY!!!

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#121 Post by MU »

I attach a patched wbar 1.3.3

It will stay above other windows also in Icewm (the original does not).
But if you move a window behind it, the background is not refreshed, you must right-click, to update the view.
But this is just the same problem as with the original wbar in other windowmanagers.

I changed XWin.cc, line 173 (in the end):

Code: Select all

	Atom prop = XInternAtom(display, "_NET_WM_STATE_BELOW", True);

Code: Select all

	Atom prop = XInternAtom(display, "_NET_WM_STATE_ABOVE", True);
Create a backup of your original /usr/bin/wbar, then extract the attached archive in /usr/bin/.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

bones01
Posts: 371
Joined: Mon 11 Aug 2008, 07:47
Location: Melbourne, Aus

#122 Post by bones01 »

the link to download the Imlib2 pet is going nowhere. Has it been moved?
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again. Sadly, I couldn't get it fixed :? )
Precise Puppy 5.4 live DVD
Precise 5.7.3 on USB

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#123 Post by battleshooter »

bones01 wrote:the link to download the Imlib2 pet is going nowhere. Has it been moved?
Yes, if you used WolfPup's pet it seems to be the case. It gives me the 404 as well, maybe try this one:

http://www.curiouslegends.com.au/tigerp ... imlib2.pet

I'm not sure if it will work though, it's from TigerPup.

Battleshooter

User avatar
historymaker118
Posts: 20
Joined: Thu 05 Feb 2009, 20:30

#124 Post by historymaker118 »

Hey all.
Would it be possible to have two wbars running at the same time?
My idea is to have a main wbar either at the top or the bottom with all of the applications in it, and then have a second wbar at either the sides or top/bottom that has the mountable drives in it. Both of these would have to run at the same time and would probably need two different configuration files, but I'm curious as to if it would work or not. It would reduce the need for me to have to keep moving all my icons everytime i log on and would look rather cool as well.
Just an idea but I would love an answer.
Thanks
Rebecca Brannum
"Embrace the Inner Geek"

spottedzebra
Posts: 8
Joined: Fri 09 Jan 2009, 01:41

#125 Post by spottedzebra »

yes, it is possible
go to the command line, type wbar --help
i'm pretty sure there is a option -config (or something like that)
this allows you to have different configurations, like different icons
you can have more than one wbar running, you just have to specify different positions when you run them with the -pos option

hope that helped :)

Post Reply