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 Wed 01 Oct 2014, 14:50
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
fbpanel-4.12 window manager panel
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 03 Jan 2008, 06:35    Post_subject:  fbpanel-4.12 window manager panel
Sub_title: 2008-01-22 updated
 

This was compiled in Puppy 4 and may not work on other Puppies.

http://fbpanel.sourceforge.net/

This is just a light weight panel for your window manager. Useful if you want to use a window manager with no panel (like pekwm or openbox). Included is a xdg for Puppy menu updater. Just install the dotpet, and refresh your menu. You should then have 2 fbpanel options in the menu under "Desktop". To start it with the default options just select "fbpanel - start-refresh" or to configure fbpanel use "fbpanel config" which is a gtkdialog app I wrote to configure fbpanel. When you're done configuring it just start it up by selecting the first menu entry I mentioned.

2008-01-22:
I revised the pfbpanel script and created a tempicons script. The tempicons script will symlink the various icons in puppy to /tmp/icons so the menus will find the icons in one location. You'll want to add these lines to the end of /usr/sbin/fixmenus

Code:

#support for fbpanel, lxpanel, openbox, fluxbox, pekwm...
[ `which tempicons` ] && tempicons
[ `which fbpanel_menu_refresh` ] && fbpanel_menu_refresh
[ `which lxpanel_menu_refresh` ] && lxpanel_menu_refresh
[ `which jwm2fluxbox` ] && jwm2fluxbox  ##current fluxbox_menu_refresh doesn't support menu icons while this does
[ `which obmenu-refresh` ] && obmenu-refresh
[ `which jwm2pekwm` ] && jwm2pekwm
fbpanel-4.12-2.pet
Description 
pet

 Download 
Filename  fbpanel-4.12-2.pet 
Filesize  165.04 KB 
Downloaded  932 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 03 Jan 2008, 06:44    Post_subject:  

here's a pic:
fbpanel.jpg
Description 
jpg

 Download 
Filename  fbpanel.jpg 
Filesize  67.78 KB 
Downloaded  1584 Time(s) 
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Thu 03 Jan 2008, 14:20    Post_subject:  

thanks, works fine in Muppy008, so should work in Puppy 3, too.
Only issue at first sight:
Icons from addon pets or dotpups are not displayed in the menu.

Mark
Back to top
View user's profile Send_private_message Visit_website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 03 Jan 2008, 15:48    Post_subject:  

Icons should be displayed in the fbpanel menu for dotpets/dotpups if you run the fbpanel_menu_refresh command (fbpanel-refresh in the menu) after installing the package. The only problem I noticed is if the .desktop file does not specify the .png or .xpm extension of the icon. Fbpanel needs to know the extension too.
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 03 Jan 2008, 19:03    Post_subject:  

I just updated the package so the puppy shutdown menu is also included in the fbpanel menu.
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Thu 03 Jan 2008, 20:19    Post_subject:  

from gqview.desktop:

Code:
Icon=/usr/share/icons/gqview.png


from /root/.fbpanel/default (after runningfbpanel_menu_refresh ) :
Code:
item {
 name = GQview
 image = /tmp/icons//usr/share/icons/gqview.png
 action = gqview -r %F
}


So the script that builds the menu seems to work not correct in such cases, where a full path is given for the icon.

/tmp/icons/gqview.png exists as link.


Same happens with lxpanel, that works too very fine in Muppy 008 Smile

Mark
Back to top
View user's profile Send_private_message Visit_website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 03 Jan 2008, 20:23    Post_subject:  

Yes, I see that too. Thanks for pointing it out. I'll see if I can work on something to fix it.
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Thu 03 Jan 2008, 21:10    Post_subject:  

this seems to work with lxpanel:

/usr/sbin/lxpanel_menu_refresh

Code:
cat $HOME/.lxpanel/default1| sed "s#/tmp/icons/.*/#/tmp/icons/#" > $HOME/.lxpanel/default
cat /tmp/lxpanel-menu| sed "s#/tmp/icons/.*/#/tmp/icons/#" >> $HOME/.lxpanel/default
cat $HOME/.lxpanel/default2| sed "s#/tmp/icons/.*/#/tmp/icons/#" >> $HOME/.lxpanel/default
cat $HOME/.lxpanel/default3| sed "s#/tmp/icons/.*/#/tmp/icons/#" >> $HOME/.lxpanel/default
echo iface = `cat /tmp/$WHOAMI-ifconfig-tmp` >> $HOME/.lxpanel/default
cat $HOME/.lxpanel/default4 | sed "s#/tmp/icons/.*/#/tmp/icons/#">> $HOME/.lxpanel/default


I just added:
| sed "s#/tmp/icons/.*/#/tmp/icons/#"

Time to sleep.
Good night, Mark
Back to top
View user's profile Send_private_message Visit_website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Fri 04 Jan 2008, 20:33    Post_subject:  

I just updated the package with some fixes and modifications.
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 04 Jan 2008, 20:39    Post_subject:  

great, shows all my icons now Smile
Over christmas I experimented with some windowmanagers to get test thumbnailing in GtkBasic, and fbpanel is a great utility for them.

Mark
Back to top
View user's profile Send_private_message Visit_website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Fri 04 Jan 2008, 20:58    Post_subject:  

Nice! Glad it works for you. I like lxpanel a little better, only because they ported the gnome network plugin which is very nice.
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sun 06 Jan 2008, 02:54    Post_subject:  

I updated the package again. I fixed the shutdown menu options and added help to the menu. I also included Barry's modification that he mentioned in his blog.
Back to top
View user's profile Send_private_message 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Sun 06 Jan 2008, 11:44    Post_subject:  

on the projectś site itś written that fbpanel can provide many plugins ( but the link is empty now)
how to add a tray ( notification area) functions?

_________________
skype: desafimager
Back to top
View user's profile Send_private_message 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Sun 06 Jan 2008, 13:52    Post_subject:  

soryy for posting again
i did not see anything in a tray because I had icewmtray runnig in my script to have some apps in icewm toolbar
with open box it looks like old xfce4 wich i liked so much

_________________
skype: desafimager
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 16 Jan 2008, 20:46    Post_subject:  

I repackaged this since I wrote a gtkdialog gui for configuring fbpanel and changed the fbpanel_menu_refresh script to use my new script instead. fbpanel_menu_refresh will just execute "pfbpanel refresh" and do all of the menu updating as before without opening the pfbpanel gui. Otherwise run "fbpanel config" from the "Desktop" menu to configure fbpanel to your liking. You don't need to un-install the previous package since this will overwrite the old but you may want to remove some of the unused files. You won't need any of the files in the /usr/share/fbpanel directory except for the images & plugins directories. You can also delete the /root/.fbpanel directory.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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