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 22 Oct 2014, 19:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Fluxbox-0.9.15.1 dotpup, and xdg menu generator
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Sun 21 May 2006, 19:03    Post subject:  Fluxbox-0.9.15.1 dotpup, and xdg menu generator  

This is fluxbox-0.9.15.1 (the very latest) compiled within Puppy109CE and packaged specifically for it. It includes an xdg menu generation utility specifically for Flux and is able to very closely approximate your jwm menu, along with any unleashed packages you might install. I've also added transparency support via wmsetbg from the WindowMaker package I'm putting together, and a few dockapps for system monitoring.
    wmnd - a nice little network monitor
    wmsm - monitors cpu, memory, swap, and disk activity
    volume.app - a simple volume knob for on your desktop

If you're running 109CE this will install and be ready to go without doing anything further. For older pups or for Puppy2 you will need Rarsa's xdg package, available from the 109 repo at puppyfiles.us, and MU's Puppybackground program (install this first, before Fluxbox).

I'm also posting the source for the menu generation utility, along with a binary. This is an adaptation of Rarsa's code, taken from the icewm version. I've got it set up to generate the top part of the menu and read just the very bottom from a file in your .fluxbox directory. The menu refreshes every time you start fluxbox, and can be refreshed manuallly with the 'refresh menu' entry in the fluxbox submenu.

In order for the backgroundsetter to work properly it was also necessary for me to include a hacked version of the puppybackgrounsetterwrappper file from MU's Puppybackground program. The only change is that it calls fbsetbg or fbsetroot when you change wallpapers.

Nathan
fluxbox.png
 Description   Screenshot showing the default installation
 Filesize   355.08 KB
 Viewed   1387 Time(s)

fluxbox.png

fluxbox-xdgmenu.tar.gz
Description  Source+binary for the menu generator
gz

 Download 
Filename  fluxbox-xdgmenu.tar.gz 
Filesize  3.92 KB 
Downloaded  421 Time(s) 
fluxbox-0.9.15.1.pup
Description  Fluxbox dotpup for 109CE
pup

 Download 
Filename  fluxbox-0.9.15.1.pup 
Filesize  705.23 KB 
Downloaded  388 Time(s) 

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Mon 22 May 2006, 14:40    Post subject: Re: Fluxbox-0.9.15.1 dotpup, and xdg menu generator  

Nathan F wrote:
For older pups or for Puppy2 you will need Rarsa's xdg package, available from the 109 repo at puppyfiles.us,
Please beware that the xdg-menus unleashed package includes all the menu entries marked as Hidden. When puppy is remastered it calls the fixmenus script that will make them visible. I actually piggybacked on what Barry does for the .jwmrc menu where originally all the entries are commented out.

Later today I will post a small script generator that will create a script to un-hide the installed applications in previous puppy versions after the XDG menus have been installed.

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send private message Visit poster's website 
MU


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

PostPosted: Mon 22 May 2006, 14:43    Post subject:  

With Nathans Dotpup, In Puppy 108 / 2 you get a almost empty menu.
Reason:
there are no xdg - .desktop and .directory files.

I suggest to use fluxbox 0.9.14 optimized for "old Puppys" instead:
http://www.murga.org/~puppy/viewtopic.php?t=4245

However, if you like to experiment with the xdg-menus, you can try the Dotpup I attach.
It includes:
- the binary from Nathans fluxbox-xdgmenu.tar.gz
- .desktop + .directory files from Puppy 109CE
- libgnome-menu.so.2.0.1

Like this the "Refresh Menu"-entry in Nathans Fluxbox works quite well.

Limitations:
The menu does not list programs specific for Puppy 108 or 2, like beaver or the universal installer.
It does not display any Dotpups (unless they have own .desktop -files independant from the Dotpups-menu).

Download + screenshot:
http://dotpups.de/dotpups/WindowManagers/Fluxbox-0.9.15/

Mark
Back to top
View user's profile Send private message Visit poster's website 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Mon 22 May 2006, 15:20    Post subject:  

Well, quite valid points from both of you. However this was really intended for the users who are using 109, in which it works flawlessly for me. My hope is that Puppy2 will support the xdg menu spec very soon just like 109 does.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
MU


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

PostPosted: Mon 22 May 2006, 15:25    Post subject:  

Good work, Nathan and Rarsa.
The additional Dotpup might help porting to Puppy2, as now it should work "out of the box".
I was irritated at first moment, when I tried it in Puppy108 and 2, then after some trial I found the files required to get it working Smile
Mark
Back to top
View user's profile Send private message Visit poster's website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Mon 22 May 2006, 15:36    Post subject:  

I have two comments:

a) There is no current advantage for using XDG in previous versions of puppy. Actually the XDG menus are a way to prepare for the future. Once puppy packagers start including .desktop files then there will be an advantager.

b) There's always been a solution for previous versions.

Back in the day... I created the jwm2xdg utility

This utility creates the .desktop and .directory files from a JWM configuration file.

To use XDG in previous versions of puppy do the following:

1. Make a copy of the original JWM configuration file:
Code:
cp /root/.jwmrc /root/jwmrc.orig

2. Install the WM you plan to use. If you want to use JWM you should install the most current package for puppy
4. Install the puppy-xdgmenus unleashed package.
5. Download the jwm2xdg utility to an empty folder.
6. Expand with tar -xvzf jwm2xdg-0.3.2.tar.gz
7. Open a console and type the following commands:
Code:
mkdir -p /usr/share/desktop-directories/
mkdir -p /usr/share/applications/
./jwm2xdg /root/jwmrc.orig /tmp/jwm.menu /usr/share/desktop-directories/ /usr/share/applications/

(You may avoid typos by copying the commands instead of retyping them)
8. Restart the window manager.

If you want to add applications to the menu, just create a new desktop file under /usr/share/applications. Use any of the existing files as an example.

The only issue is that jwm2xdg 'guesses' the categories based on the .jwmrc menu structure.

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0619s ][ Queries: 13 (0.0037s) ][ GZIP on ]