Ventoy Global Control Plugin

This plugin is used to set some global configuration of Ventoy.

  • Json Configuration

A control array is defined to describe the configuration in /ventoy/ventoy.json. Each item is a key:value pair in string.
It should be noted that, you don't need to configure every option, you can also configure only some or one of them.

{
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "0" },
        { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" },
        { "VTOY_DEFAULT_SEARCH_ROOT": "/ISO" },
        { "VTOY_MENU_TIMEOUT": "10" },
        { "VTOY_DEFAULT_IMAGE": "/ISO/debian_netinstall.iso" }
    ]
}

Key Type Description
VTOY_DEFAULT_MENU_MODE STRING Default menu display mode, "0":ListView Mode    "1":TreeView Mode
VTOY_FILT_DOT_UNDERSCORE_FILE STRING Filter for files with prefix ._ in name. This will be useful when you use macOS (a lot of ._xxx file generated when you copy files)
"0":Don't filt    "1":Filt
VTOY_DEFAULT_SEARCH_ROOT STRING The root path where to search the iso files. By default, Ventoy will search all the directories and subdirectories in the USB. This will be very slow when you have huge number of files in the USB. In this case, you can put all the iso files in one directory and use this to specify the search path. Ventoy will only search this directory and its subdirectories for iso files.
VTOY_MENU_TIMEOUT STRING menu timeout (seconds). By default no timeout is set. When you set it to 10 for example, the first ISO will be selected an booted after 10 seconds.
VTOY_DEFAULT_IMAGE STRING Default selected image path. Normally used with VTOY_MENU_TIMEOUT.
Only avaliable in ListView mode and will NOT take effect if VTOY_DEFAULT_MENU_MODE set to 1