JWM Menu Info
JWM Menu Info can find full paths of menu items and can create desktop shortcuts.
This is a major update of the little utility mm_menuinfo which I posted here in the old Murga forum.
It now uses gtkdialog to display the info instead of gxmessage and most importantly it now shows all menus and all linked <Include> menus defined in JWM's config file.
Optional desktop icons are placed on the ROX pinboard currently in use (not necessarily PuppyPin). JWM menus may even be displayed while using a different window manager as long as the distro contains a root.jwm_jwmrc-menu template in directory /etc/xdg/templates.
Tested in Slacko5.6 and Fossapup64. Should work in other distros.
Usage:
Step 1: Download and decompress script, make it executable and run it.
Step 2: Select an item from menu (see instruction on start dialog)
Step 3: Use buttons to
- run the item from console (safer and allows to view any error messages)
- create a desktop shortcut
or use "Files" menu to access listed files in ROX-Filer or view/edit them in Geany
Version History
2020-11-17 (version 3.1)
Fixed: Very large menus can cause sed/grep error
Fixed: Nested <Include> tags can cause syntax error
Fixed: Dollar signs and quotation marks in Program code not preserved
2020-11-03 (version 3.0)
Improved: Supports any number of created JWM menus (not just the first found in .jwmrc)
Improved: Supports any level of <Include> tags
Improved: Supports multiple bash commands in JWM <Program> tag
Improved: Finds corresponding .desktop file (if any)
Improved: Displays menu icon (if any)
Improved: New "Files" menu allows access of listed files in ROX-Filer or Geany (to view/edit)
Added: Consolidated .jwmrc file (a .jwmrc file including content of all <Include> files. Source for Rootmenus and useful as reference)
Changed: Name (from mm_menuinfo to jwm_menuinfo)
Deleted: Support for ROX panels
Deleted: Drag&Drop functionality
2018-02-08
Improved: Supports JWM version 2.3 ( <Dynamic> tag )
Improved: Supports (multiline) comments in .jwmrc
Improved: Ignores garbage strings in .jwmrc (created by 3rd party menu editors)
Improved: Performance (e.g. speed)
2015-09-25
Added: Drag&Drop support (accepts any menu file as long as it complies with main menu syntax)
Added: Accepts menu file from mounted sfs puppies and adapts PATH to that of mounted sfs
Added: Optional shortcut to ROX panel instead of pinboard (requires editing of script variable SHORTCUT_TYPE)
Added: Tooltip indicating the name of the menu file
Improved: Using 'Script' ,'Binary' or 'Executable' to describe the program type
2015-09-01
Initial version