Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 menu separator
#1
HI,

Is it possible to add a separator to the menu list ? I would like to separate System images from Tools, something like :

Debian Live
Linux Mint Live
- - - -
GParted
Clonezilla
SystemRescue

Is there a way to add this "- - - -" as a separator in the menu ?

NOTE : I did it creating fake ISO file (with genisoimage sw), then using "menu_alias" and "image_list" plugins, but it is not perfect,as the "- - - -" is selectable as a bootable item, which I would not like...

Thanks.
Reply
#2
One way to achieve this is by using the type attribute in the menu entry. If you want an example don't be shy to ask

I think you need an example at least so I've put together this bit you can try and implement:
{
"control": [
{
"VTOY_DEFAULT_SEARCH_ROOT": "/ventoy"
}
],
"menu": [
{
"image": "/path/to/debian_live.iso",
"label": "Debian Live"
},
{
"image": "/path/to/linux_mint_live.iso",
"label": "Linux Mint Live"
},
{
"type": "separator"
},
{
"image": "/path/to/gparted.iso",
"label": "GParted"
},
{
"image": "/path/to/clonezilla.iso",
"label": "Clonezilla"
},
{
"image": "/path/to/systemrescue.iso",
"label": "SystemRescue"
}
]
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)