Changing the order of the standard E2B menu entries
- $$$SetDefaultMenu.mnu (contains the 'Set default and timeout' menu entry)
- ZZSubMenuAll.mnu (contains menu entries for FASTLOAD, sub-menus and F1, F7-F10)
Adding global hotkeys to MyE2B.cfg
Instead of defining menu entries for common functions such as F1, F7, F8, F9 and F10, you can define these function keys as global hotkeys in your MyE2B.cfg file.
The hotkeys will then work from any menu or sub-menu (unless the same hotkey is redefined by a new menu entry).
Examples of Global hotkeys can be found in the \_ISO\Sample_MyE2B.cfg file.
Adding replacement .mnu files
If you want to change the position of the E2B menu entries (e.g. Set default menu, F1, F7-F10), it is best to use the NOxxxx variables to disable the default E2B entries and add in your own replacement .mnu files.
The \_ISO\docs\Sample mnu Files\E2B Menus folder contains useful examples:
These files can be copied to any menu folder and renamed so they will appear in that menu in the desired order.
If you wish, you can combine the .mnu files into one single .mnu file (which should load faster than multiple small files).
Changing the menu entry order
Menu entries are displayed in alphabetical order.
You can use sort prefix overrides (_nnn_) if using E2B v1.A9 or later - the entries below will appear in the same order in a menu:
_100_Ubuntu 64-bit with persistence.isopersist64
_105_Linux Mint 32-bit.isodef
_108_Linux Mint 64-bit.isodef64
*The ZZSubMenuAll.mnu file will still be responsible for the sub-menu entries, so rename it to _999_ZZSubMenuAll.mnu. If you update E2B in future, you will need to delete the ZZSubMenuAll.mnu file again.
Note that the payload files will be listed in the menu without the override prefix (or file extension if you ensure EXTOFF is set), e.g.:
Ubuntu 64-bit with persistence
Linux Mint 32-bit
Linux Mint 64-bit
Tip: If you do not want the DOS and UTILITIES menu entries listed in the Main menu, simply delete the \_ISO\DOS and \_ISO\UTILITIES folder.
The order that the sub-menus are listed in is pre-set by the ZZSubMenuAll.mnu file. You can rename this file and edit it to change the order if you wish.
Note: If you edit this file, you MUST rename it, otherwise it will be overwritten when you next update E2B.
You can also make new sub-menu folders using \_ISO\SUB_MENU_Maker.cmd.
Changing the text in the menu entries
Most E2B menu entries use a $$$STR string keyword which is converted into the correct string for the current menu language.
If you want to change the text that is listed in the menu headings or menu entries, then I suggest that you make a new 'language' for your E2B.
e.g. copy whatever language folder you are using (e.g. \_ISO\docs\e2b\grub\SPANISH) to a new folder (e.g. \_ISO\docs\grub\PACO) and then change your language to 'PACO' using set LANG=PACO in your MyE2B.cfg file. You can then edit the \_ISO\docs\e2b\grub\PACO\STRINGS.txt file and change any of the default E2B menu entries or menu headings, etc.