Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 03:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Wbar: a fancy launchbar (using Imlib2)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 11 [158 Posts]   Goto page: 1, 2, 3, ..., 9, 10, 11 Next
Author Message
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Wed 11 Jul 2007, 16:43    Post subject:  Wbar: a fancy launchbar (using Imlib2)  

A while ago some people were asking about a good launch-bar to use with Enlightenment...

At some stage I discovered Wbar: pretty fancy, light and (obviously) not part of the g/K mafia.

Note that I didn't make a dotpet out of it, since you will need to set up the config file (/root/dot.wbar by default).

I've included Imlib2 with it.

You should also run "wbar --help" to see the various ways of running it -- unfortunately a lot of the options have to be supplied when launching it (rather than being set in the config file).
You will need to run it with "-above-desk", so it'll be seen over the Rox pinboard.

Here are two images: one when it's left alone, the other with the cursor over it (all the movement and resizing are controllable).
wbar1.jpg
 Description   
 Filesize   6.06 KB
 Viewed   22229 Time(s)

wbar1.jpg

wbar2.jpg
 Description   
 Filesize   8.65 KB
 Viewed   22247 Time(s)

wbar2.jpg


_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

Last edited by Dougal on Sun 12 Apr 2009, 05:33; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 12 Jul 2007, 00:51    Post subject:  

Have placed a link here, which also details the unusual Enlightenment window manager and running it on Puppy
http://puppylinux.org/wikka/EnlightenmentWM

_________________
Puppy WIKI

Last edited by Lobster on Sat 22 Jan 2011, 22:12; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
tahaselim


Joined: 29 Jun 2007
Posts: 49
Location: Ankara, Turkey

PostPosted: Thu 12 Jul 2007, 04:02    Post subject:  

Dougal

after installing Enlightment dotpup, am I good to go with your taskbar?

or should I do lots o' configurations and launching stuff?

Taha Selim
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Thu 12 Jul 2007, 04:59    Post subject:  

Dougal,
very shiny, nice toy

tahaselim
You don't need enlightenment to use this it, is just similar to the launchbar (?) used in enlightenment.
It is running quite happily for me in jwm.

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
tahaselim


Joined: 29 Jun 2007
Posts: 49
Location: Ankara, Turkey

PostPosted: Thu 12 Jul 2007, 05:06    Post subject:  

HairyWill wrote:
tahaselim
You don't need enlightenment to use this it, is just similar to the launchbar (?) used in enlightenment.
It is running quite happily for me in jwm.


so how do I configure JWM to use it? should I change .jwmrc-taskbar or something?

Taha Selim
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Thu 12 Jul 2007, 07:16    Post subject:  

To get the tray out of the way you can edit .jwmrc-tray and set the tray to autohide=true or you could set the y coordinate to 0 to move it to the top of the screen.

To get it to start on boot is not completely straightforward. It uses fake transparency by recording a picture of what is underneath it when it starts and if it starts before jwm has completed initialising its window ends up with a titlebar and all the other decoration.
I got success by starting it in .xinitrc using
Code:
sleep 3 ; wbar -above-desk &
before the line
Code:
#exec $CURRENTWM

I also made it work by putting a swallow entry in my .jwmrc-tray.

I've tried to put a group declaration .jwmrc to stop it appearing in the tasklist.
Code:
<Group>
        <Name>wbar*</Name>
        <Option>nolist</Option>
</Group>
This doesn't work for me, it may be my misunderstanding of how the declaration should be made or it may be a problem with my JWM version 2.01 or it might be wbar itself.
_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
tahaselim


Joined: 29 Jun 2007
Posts: 49
Location: Ankara, Turkey

PostPosted: Thu 12 Jul 2007, 07:40    Post subject:  

Which means , in fact we have two trays on the screen JWM taskbar and Wbar.

I got how I can configure it to start except for the Swallow entry part.

Quote:

I also made it work by putting a swallow entry in my .jwmrc-tray.



Taha Selim
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Thu 12 Jul 2007, 07:49    Post subject:  

HairyWill wrote:
To get the tray out of the way you can edit .jwmrc-tray and set the tray to autohide=true or you could set the y coordinate to 0 to move it to the top of the screen.


There's also the option of running wbar at the top (or one of the sides). Example:
Code:
sleep 3 ; wbar -above-desk -pos top &


Taha: it's best to look at the README file that's included in the package and also at the output of "wbar --help", to see all the available options and how to use them.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
tahaselim


Joined: 29 Jun 2007
Posts: 49
Location: Ankara, Turkey

PostPosted: Thu 12 Jul 2007, 07:55    Post subject:  

Dougal wrote:


Taha: it's best to look at the README file that's included in the package and also at the output of "wbar --help", to see all the available options and how to use them.


thanks Dougal

Maybe starting wbar as a quick launch tray would be better.

Taha Selim
Back to top
View user's profile Send private message 
dasch

Joined: 25 Mar 2006
Posts: 13

PostPosted: Fri 13 Jul 2007, 10:12    Post subject:  

just wondering on the questions regarding a launchbar for enlightentment. what about engage?

dreamlinux looks great having combined engage with xfce.
Back to top
View user's profile Send private message 
Rhino


Joined: 04 May 2005
Posts: 262
Location: Cincinnati, OH, USA

PostPosted: Fri 13 Jul 2007, 10:42    Post subject:  

I must say that I am very impressed with wbar. It appears to be fairly simple to configure, stable and works well. To get it to work properly on startup with jwm I used swallow in the tray to get it to render properly.

Just add the following code to /root/.jwmrc-tray between xload and minixcal.

Code:

<Swallow name="wbar">
   wbar -pos top &
</Swallow>


You can also edit the icons to use the default Puppy icons and clear away a lot of the desktop clutter by editing dot.wbar!

Rhino

_________________
Visit the Puppy Linux Video Tutorials @ http://rhinoweb.us
Back to top
View user's profile Send private message Yahoo Messenger 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Fri 13 Jul 2007, 18:07    Post subject:  

I wrote a small script that parses your PuppyPin file and creates a wbar config file based on your desktop icons. You can then edit PuppyPin and remove the icons from your desktop.
Code:
#!/bin/sh
echo "# The Bar && Font
i: /usr/share/wbar/wbar.icons/osxbarback.png
t: /usr/share/wbar/wbar.icons/VeraBd/9
c:
" > /root/.wbar
sed  '/label/!d ; s/\(\(.*\)label="\)\(.*\)">\(.*\)<\/icon>/\3\n\4\n/g' /root/Choices/ROX-Filer/PuppyPin > /tmp/wbar
while read LABEL
do
   read COMMAND
   ICON=`grep -A1 -B1 "$COMMAND" /root/Choices/ROX-Filer/globicons | sed '/<icon>/!d ; s/<icon>\(.*\)<\/icon>/\1/'`
   if [ -f "$ICON" ] && [ `which $COMMAND` ]; then
      echo i:"$ICON" >> /root/.wbar
      echo c:"$COMMAND" >> /root/.wbar
      echo t:"$LABEL" >> /root/.wbar
      echo  >> /root/.wbar
   fi
   read LABEL
done < /tmp/wbar
No guarantees its not buggy. If it can't find an icon or the executable then it doesn't create an entry, it doesn't do folders. If it generates more icons than can fit across your screen rox and jwm start misbehaving. I can get 25 icons on my 1024 width screen.

Has anyone got jwm not to show an entry in the tasklist for it.

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Fri 13 Jul 2007, 19:08    Post subject:  

dasch wrote:
just wondering on the questions regarding a launchbar for enlightentment. what about engage?


When I tried Engage (cvs ~ last November) it had some functionality problems.

It also depends on the Enlightenment core libraries, which means a whole bunch of dependencies.

I don't see the point in using Engage with XFCE -- you've got the XFCE panel, which is much better.

I find E17 quite unusable in general -- they've kinf of lost the plot and gone too far in the eye-candy direction (unlike E16).
They ruined the iconbox!

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Rhino


Joined: 04 May 2005
Posts: 262
Location: Cincinnati, OH, USA

PostPosted: Fri 13 Jul 2007, 19:17    Post subject:  

Quote:
Has anyone got jwm not to show an entry in the tasklist for it.


Do you mean just down in the taskbar while it is running? If so, yes. If that is not what you mean, pardon my inability to grasp simple concepts Smile

Here is a my current desktop with it running.



I got that to work using the swallow command in the .jwmrc-tray as indicated above.

Nice job with the pinboard parsing script...I will try that out!

Rhino

_________________
Visit the Puppy Linux Video Tutorials @ http://rhinoweb.us
Back to top
View user's profile Send private message Yahoo Messenger 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Sat 14 Jul 2007, 03:16    Post subject:  

Thats interesting Rhino, I've tried using swallow but it is still on the tasklist. It may be because I am using jwm 2.01 I presume you are using the stock 1.8. I also notice that you haven't put in the -above-desk switch but it is still being shown above the pinboard.
_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 11 [158 Posts]   Goto page: 1, 2, 3, ..., 9, 10, 11 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0909s ][ Queries: 13 (0.0094s) ][ GZIP on ]