Improved menu assignment

When a Puppy is built in Woof, or a package installed with the Puppy Package Manager (not a PET), placement in the menu has up until now been somewhat unsatisfactory.

For example, the Sylpheed .deb package from Debian Squeeze creates two menu entries, in Network and Internet categories -- the former is not appropriate. Sometimes there is no menu entry created at all when there should be.

I have given this problem some attention and made improvements to scripts 2createpackages and Woof commit:

Posted on 28 Jun 2012, 20:53


Posted on 29 Jun 2012, 6:37 by technosaurus
Re: menus
This problem was also solved in jwm_tools v0.9; however for v1.0 I am planning to implement the latest standards so we don't have to keep patching desktop files
::Note the section on %* - jwm does not activate the menu on a drag enter event or execute on a drop event, so these will get removed when the menus are created (or traybuttons, ... I just made a little hack to have jwm do pseudo-icons using a clever traybutton trick - that builds icons from *.desktop files in $HOME/Desktop/)
The $HOME/Desktop idea came from reading on how to properly implement the autostart spec using jwm's StartupCommand per:

Posted on 29 Jun 2012, 7:40 by zygo
Pmount window
I realised the other day that Pmount would be good as a sub-menu in the start menu. Click a button and the window closes. Now it sometimes fails to reopen automatically. But it doesn't report much when it does so could its buttons be made into items on a jwm sub-menu?

Posted on 29 Jun 2012, 8:25 by technosaurus
Re:Pmount window
@zygo: Scottman and I, had this discussion in regarding my jwm drive trays after jwm came up with the -refresh option. Though I agree with the concept the limiting factor is that the number of menus is limited to 10 (0-9), so the whole thing would have to be made up of nested sub-menus. We never came to a consensus on exactly how to organize them, the implementation is trivial (but tedious) once the specifics are worked out - I already have the basics set up for mounting and scottman integrated the drive tray into the pup event daemon so that it jwm gets -restart'ed when a drive is inserted (along with flicker and windows getting restored unfortunately -refresh wouldn't do that, but you wouldn't see them either until you opened the drive menu).

Posted on 30 Jun 2012, 20:38 by zygo
jwm drive trays

OK, perhaps not on the menu. Are your 'jwm drive trays' in a pet? Sounds interesting. Where can I get my hands on it?