jwm_tools-0.9 (was jwm_menu_create)
Posted: Tue 16 Aug 2011, 03:05
Forget about deciding whether to yaf-splash or gtkdialog-splash while creating jwm menus when it happens in <0.2 seconds _AND_ supports subcategory menus using only basic shell commands (no other requirements)
Thanks to amigo for his readline trick (and others) posted here:
http://www.murga-linux.com/puppy/viewtopic.php?t=70238
usage:
#to get a menu without subcategories
jwm_menu_create && jwm -restart
#to get a menu with subcategories
SUBMENU=0 jwm_menu_create && jwm -restart
#to test with another language
LANG=de_JA SUBMENU=0 jwm_menu_create && jwm -restart
see the German translation for a localization template
Changelog:
v0.9
added support for keybindings - if upgrading add this to your JWMRC
fixed duplicate entries for menus/submenus (I think)
pinstall script is no longer required, now that all fixmenus items are supported
v0.8
fixed bug in menu entries that had desktop files without newline endings
added support for groups
v0.7
bugfixes (some typos and omissions - thanks maxerro)
reworked jwm_param_set to be able to unlimited values
included L18L's gui for wider testing
logical partitions and swap drives no longer show up in drive tray
media cards are now displayed in the drive tray
added the desktop related stuff including backgrounds and new jwm500 formatting
TODO - update jwm_image_view to change background now
v0.6
1. monolithic configuration file that can easily be used by any program to know what the jwm settings are, use them, change them etc... without having to hack at xml files with the shell
2. script to modify the configuration file (up to 9 parameters at a time)
3. jwm_menu_create now uses the config file (at ${HOME}/.jwm/JWMRC) to set almost all parameters (tray, keys and groups not yet implemented - see ${HOME}/.jwm/jwmrc-extra)
4. Submenus and drive icon tray are now enabled/disabled via JWMRC
5. drive tray is now part of the main .jwmrc if enabled
6 removable drives now display a usb icon (devicehandler doesn't however have an unmount option... or other frills )
7. jwm_notify and jwm_image_view now share a temporary jwmrc file (${HOME}/.jwm/jwmrc-tmp)
8. add jwm_param_set to modify jwm settings
usage:
jwm_param_set 'DRIVES="true"'
jwm_menu_create && jwm -restart
#will rebuild the jwmrc and include a drive tray at bottom center
jwm_param_set 'DRIVES=""'
jwm_menu_create && jwm -restart
#will rebuild the jwmrc and exclude the drive tray at bottom center
even with the extra
a gui wrapper can just do this
note the double and single quotes in jwm_param_set --- I find it easier to use than backslashing quotes (which are needed becaus some params have spaces or begin with a #)
v 0.5
added jwm_image_view ... usage: jwm_image_view [images]
add drive tray ... usage jwm_create_drives
fixed a bug in jwm_notify -- used by the drive tray
removed static install menu - make it with jwm_install_menu_create
added TODOs
- split out localizations in separat files to be sources
- background setting - already have gtk2jwm for the colors
v 0.4
de,fr,ru,es translations
fixed bug in keybindings
v 0.3
added jwm_notify tools
german localization
install menu-blacklisted BuildingBlock, DEV, DOC and NLS (feel free to modify)
and some minor bugfixes
v 0.2
defaults to $HOME/.jwmrc ... make a backup - it doesn't
bugfixes
install menu (auto-hidden at upper left)
v 0.1
initial release
Todo:
4. Support other window managers - just need a template and basic menu entry layout <<< after v1.0
5. Add it to bashbox. <<<will maintain separately merged with no modifications required
Thanks to amigo for his readline trick (and others) posted here:
http://www.murga-linux.com/puppy/viewtopic.php?t=70238
usage:
#to get a menu without subcategories
jwm_menu_create && jwm -restart
#to get a menu with subcategories
SUBMENU=0 jwm_menu_create && jwm -restart
#to test with another language
LANG=de_JA SUBMENU=0 jwm_menu_create && jwm -restart
see the German translation for a localization template
Changelog:
v0.9
added support for keybindings - if upgrading add this to your JWMRC
Code: Select all
KEYBINDINGS=',Up,up ,Down,down ,Right,right ,Left,left ,h,left ,j,down ,k,up ,l,right ,Return,select ,Escape,escape A,Tab,next A,F4,close A,#,desktop# A,F1,root:3 A,F2,window'
pinstall script is no longer required, now that all fixmenus items are supported
v0.8
fixed bug in menu entries that had desktop files without newline endings
added support for groups
v0.7
bugfixes (some typos and omissions - thanks maxerro)
reworked jwm_param_set to be able to unlimited values
included L18L's gui for wider testing
logical partitions and swap drives no longer show up in drive tray
media cards are now displayed in the drive tray
added the desktop related stuff including backgrounds and new jwm500 formatting
TODO - update jwm_image_view to change background now
v0.6
1. monolithic configuration file that can easily be used by any program to know what the jwm settings are, use them, change them etc... without having to hack at xml files with the shell
2. script to modify the configuration file (up to 9 parameters at a time)
3. jwm_menu_create now uses the config file (at ${HOME}/.jwm/JWMRC) to set almost all parameters (tray, keys and groups not yet implemented - see ${HOME}/.jwm/jwmrc-extra)
4. Submenus and drive icon tray are now enabled/disabled via JWMRC
5. drive tray is now part of the main .jwmrc if enabled
6 removable drives now display a usb icon (devicehandler doesn't however have an unmount option... or other frills )
7. jwm_notify and jwm_image_view now share a temporary jwmrc file (${HOME}/.jwm/jwmrc-tmp)
8. add jwm_param_set to modify jwm settings
usage:
jwm_param_set 'DRIVES="true"'
jwm_menu_create && jwm -restart
#will rebuild the jwmrc and include a drive tray at bottom center
jwm_param_set 'DRIVES=""'
jwm_menu_create && jwm -restart
#will rebuild the jwmrc and exclude the drive tray at bottom center
even with the extra
a gui wrapper can just do this
Code: Select all
. ${HOME}/.jwm/JWMRC
#bunch of gui crud here
jwm_param_set 'PARAM1="'${VALUE}'"' ...
jwm_menu_create && jwm -restart
v 0.5
added jwm_image_view ... usage: jwm_image_view [images]
add drive tray ... usage jwm_create_drives
fixed a bug in jwm_notify -- used by the drive tray
removed static install menu - make it with jwm_install_menu_create
added TODOs
- split out localizations in separat files to be sources
- background setting - already have gtk2jwm for the colors
v 0.4
de,fr,ru,es translations
fixed bug in keybindings
v 0.3
added jwm_notify tools
german localization
install menu-blacklisted BuildingBlock, DEV, DOC and NLS (feel free to modify)
and some minor bugfixes
v 0.2
defaults to $HOME/.jwmrc ... make a backup - it doesn't
bugfixes
install menu (auto-hidden at upper left)
v 0.1
initial release
Todo:
4. Support other window managers - just need a template and basic menu entry layout <<< after v1.0
5. Add it to bashbox. <<<will maintain separately merged with no modifications required