Wbar: a fancy launchbar (using Imlib2)

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
dasch
Posts: 13
Joined: Sat 25 Mar 2006, 17:21

#16 Post by dasch »

@ dougal
guessed as much. makes the find you made all the more important and relevant now. with the rising popularity of dreamlinux and it's engage bar it does lead to people asking whether puppy does or have something suitable like that? and of course the answer is yes !

OT
@rhino
you know i like your art and taste in visuals quite a fair bit. Hope you don't mind. Have linked your desktop pic in the puppy logo thread over here...
http://www.murga-linux.com/puppy/viewto ... 1&start=75

User avatar
willhunt
Posts: 495
Joined: Wed 05 Oct 2005, 18:19

#17 Post by willhunt »

when I run it with swallow evertime I restart jwm a new copy of wbar start
too not a good thing I think I noticed blinky and volume app never change d colors does anyone know how?
Image
[url=http://hostfile.org/icepak.pet]176 Icewm Themes :!:[/url]
[url=http://tinyurl.com/39fl3x]vlc-0.8.6c-i586.pet[/url]
[url=http://tinyurl.com/2q7cbp]vlc-0.8.6c-i586.pet[/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#18 Post by HairyWill »

willhunt try changing the swallow entry to
killall wbar ; wbar ........
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
Rhino
Posts: 263
Joined: Wed 04 May 2005, 13:28
Location: Cincinnati, OH, USA
Contact:

#19 Post by Rhino »

I am using a version of Puppy 2.16 unleashed, so there may be an improvement in JWM somewhere in there that allows swallow to work better, I'm not really sure though.

Getting Blinky to change color is a little tougher since it is an application embedded in the tray. The best I can give you is to edit the .jwmrc-tray file to change the colors of the xload indicator from red to some other color. You can also change its backgroundcolor. I think you may be able to edit the volume background as well in the same file.

I tried the -above desk switch but I kept having trouble with it rendering the faux transparency. After taking it off, it seems to work correctly. However this way, it does tend to get buried under open windows.

@Dasch
I take no credit for artistic flare ;-) The wallpaper is from Pizzasgood but I did design the JWM theme. It is called jwm-vu and is buried deep somewhere here on the forum. Thanks for the link to the other thread!
Visit the Puppy Linux Video Tutorials @ http://rhinoweb.us

User avatar
willhunt
Posts: 495
Joined: Wed 05 Oct 2005, 18:19

#20 Post by willhunt »

I found it the way to change the color of the swallow apps
background you must edit the file /root/.jwm/jwmrc-personal
Image
<TrayStyle>
<Font>DejaVu Sans 12</Font>
<Background>#0a99f9</Background>
<Foreground>yellow</Foreground>
</TrayStyle>
<!-- Additional Swallow attribute: height -->
<Swallow name="blinky">
blinkydelayed -bg blue
</Swallow>
<Swallow name="wbar" >
killall wbar;wbar -above-desk -pos top
</Swallow>
<Swallow name="mini-volume.tcl">
mini-volume.tcl -bg #0a99f9 -mixer pvolume-mixer.tcl
</Swallow>

<Swallow name="freememapplet" width="48">
<!-- freememappletdelayed -->
freememapplet
</Swallow>
<Swallow name="xload" width="32">
xload -nolabel -bg "#0a99f9" -fg red -hl white
</Swallow>
it seems blinky does not like the numbers it wants the color name I think the numbers did not work but the color name did :)
and the bar seems not to stay on top of other windows
[url=http://hostfile.org/icepak.pet]176 Icewm Themes :!:[/url]
[url=http://tinyurl.com/39fl3x]vlc-0.8.6c-i586.pet[/url]
[url=http://tinyurl.com/2q7cbp]vlc-0.8.6c-i586.pet[/url]

panda_watch
Posts: 32
Joined: Wed 09 May 2007, 07:51

#21 Post by panda_watch »

Hi,

I'm running Icewm and I'm very keen to use wbar. I've installed it but when it launches it is inside a window and sits in the taskbar. how can you stop this?

Thanks

panda_watch
Posts: 32
Joined: Wed 09 May 2007, 07:51

#22 Post by panda_watch »

Sorry,

Just checked the readme and realised my mistake. However I've come across another problem. The system will not allow me to shutdown until I terminate the wbar program. When I click shutdown it does nothing so I have to cancel it and then close wbar then it works. Any ideas?

Cheers

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

#23 Post by MU »

try to add a line "killall wbar" to /root/my-applications/bin/icewmpoweroff.

Myself I use xkill, that I have put on my desktop.
http://www.murga-linux.com/puppy/viewto ... =5931#5931

Mark

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

#24 Post by Eyes-Only »

@Rhino:

Just a quick comment mate. Wanted to say that I love that desktop screenie of yours. Absolutely stunning! Pizza may have made the wallpaper, but you've done an excellent job of making JWM look breath-takingly beautiful. Who'd ever think that little window manager could look that great? :shock:

And yes---I've been a longtime admirer of your JWM themes as I have several of them myself back from when you'd made them.

Seems like we have you for an eye on JWM, and WhoDo for IceWM, Doughal on Xfce, and MU on KDE. We're so fortunate to have such artists in our midst! :)

Amicalement,

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

panda_watch
Posts: 32
Joined: Wed 09 May 2007, 07:51

#25 Post by panda_watch »

Thanks Mark,

Its working now i've added the line. :D

User avatar
Rhino
Posts: 263
Joined: Wed 04 May 2005, 13:28
Location: Cincinnati, OH, USA
Contact:

#26 Post by Rhino »

Thanks, Eyes-only, I appreciate it. JWM has some potential in it. It's not going to match up with Beryl, but it can be quite serviceable. I think wbar helps it out a great deal.
Visit the Puppy Linux Video Tutorials @ http://rhinoweb.us

Oberon85
Posts: 13
Joined: Sun 23 Sep 2007, 15:56
Location: Friday Harbor, WA

bash tells me

#27 Post by Oberon85 »

wbar: command not found within the folder where wbar resides...?
--
[b]Oberon85[/b]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#28 Post by HairyWill »

if the directory is not in the PATH you need
./wbar
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
PuppyLinuxGuy
Posts: 23
Joined: Wed 25 Jul 2007, 15:27
Location: I'll answer later...my keyboard's frozen.
Contact:

#29 Post by PuppyLinuxGuy »

That's perfect for use in PLP. I'm running XFCE, so i'll disable the panel using a script i made and run Wbar instead, along with the Pinboard parser.
PLP on this forum: http://www.murga-linux.com/puppy/viewtopic.php?p=153565
Current Project: SphereCat1.com
[url=http://geeks.pirillo.com/profiles/SphereCat1]My Hangout - stop by and leave a comment![/url]
[size=84]now known as SphereCat1[/size][img]http://spherecat1.googlepages.com/spherecat1-small-transparent.png[/img]

Vettephil
Posts: 40
Joined: Mon 15 Oct 2007, 17:49

#30 Post by Vettephil »

This one is for the "experts": how about reducing the usable size of the pinboard(?) so that wbar can always be seen, instead of disappearing behind full-sized windows? This would give it a nice XFCE Panel behavior, allowing buttons to always be accessible without minimizing or closing open apps/windows.

Thanks!
-PHIL
Can You Picture A Better World?
http://www.PhotographersWithoutBorders.org

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#31 Post by HairyWill »

The maximised window size is controlled by the window manager, jwm. But I think the only way currently to restrict the maximised window size is to create a tray (taskbar), which would probably sit on top of wbar and would look ugly whichever way it turned out.

I agree that a tray at the top (or bottom) and wbar at the other would look good but I think it will require a hack of jwm to achieve it.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#32 Post by HairyWill »

Ok Vettephil I rise to the challenge as long as you are willing to give up a single pixel of you desktop to a dummy jwm tray.

Assuming you have the default sized wbar at the bottom of a 1024x768 screen the following tray entry in /root/.jwmrc-tray gets what you asked for.

Code: Select all

<Tray  x="500" y="723" width="1" height="1"></Tray>
a tiny near invisible tray that jwm will respect when maximising windows.
The slight kicker which you didn't specify is when the icons grow they do it behind the windows, you can move them in front of the widows by cracking up the layer that wbar is on but then it controls some of the space at the bottom of a maximised window which looks really ugly. This is because wbar's transparency is fake, it just copies the background when it starts.

For more fun with jwm trays read
http://joewing.net/programs/jwm/config.shtml
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Vettephil
Posts: 40
Joined: Mon 15 Oct 2007, 17:49

#33 Post by Vettephil »

HairyWill: Nicely done! That has however produced another issue to overcome. :? When minimizing an app's window to the "fake tray" there is no way to get it back again. See if you can reproduce.

My thought around this is to run 2 trays if possible. A normal one at the top and the fake one at the bottom as a place holder for Wbar. I'm going to test this next. Thanks!

Vettephil
Posts: 40
Joined: Mon 15 Oct 2007, 17:49

#34 Post by Vettephil »

A second tray worked! Here is my full code from /.jwmrc-tray:

Code: Select all

<JWM>
	<Tray  autohide="false" insert="right" x="0" y="0" border="0" height="26" >

		<!-- Additional TaskList attribute: maxwidth -->
		<TaskList maxwidth="160"/>

		<Dock/>

		<!-- Additional Swallow attribute: height -->
		<Swallow name="blinky">
			blinkydelayed -bg gray90
		</Swallow>

		<Swallow name="mini-volume.tcl">
			mini-volume.tcl -bg gray90 -mixer pvolume-mixer.tcl
		</Swallow>
		
		<Swallow name="freememapplet" width="48">
			<!-- freememappletdelayed -->
			freememapplet
		</Swallow>

		<Swallow name="xload" width="32">
			xload -nolabel -bg "#BCBAB5" -fg red -hl white
		</Swallow>

		<Swallow name="wbar">
   			killall wbar ; wbar -above-desk &
		</Swallow> 
		
		<Clock>minixcal</Clock>
	</Tray>

	<Tray  autohide="false" insert="right" x="500" y="723" border="0" height="1" width="1" > </Tray>

</JWM>
Nice cooperative effort, all!
-PHIL
Can You Picture A Better World?
http://www.PhotographersWithoutBorders.org

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#35 Post by HairyWill »

I had just assumed you would have a proper tray running as well.

The real tray wouldn't be so important if jwm supported unminimising using the keyboard alone but at the moment ALT-TAB only toggles programs that are not minimised. This is IMHO a significant weakness.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Post Reply