Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 hotkey
#7
(01-25-2023, 03:27 AM)AlexBryansk Wrote: currently, the f11 and f12 buttons are not working. But this can be done with different spomobs: 
1. Make changes to longpanda. 
2. Change menu.c yourself and compile. 
3. I can add to my mod_Ventoy, but then I will have to use something other than the original.

4. Abandon f11 and f12. And to do as it was in the early versions of ventoy (somewhere before 1.0.67), the power menu was called by f2. And add ventoy- browers to the main menu. All changes of clause 4 in grub.conf.

submenu "  ventoy browser" --class=iconFM {
        if  [ "$VTOY_THEME_FMV" != "" ]; then
            if [ -f ${vt_plugin_path}${VTOY_THEME_FMV} ]; then
                set theme=${vt_plugin_path}${VTOY_THEME_FMV}
            fi
        fi
        unset timeout
        set VTOY_MENU_TIP_ENABLE=0
        vt_browser_disk
}
......
        if [ "$vtHotkey" = "F2" ]; then
            ventoy_power
        elif [ "$vtHotkey" = "F4" ]; then
            ventoy_localboot
        elif [ "$vtHotkey" = "F5" ]; then
            ventoy_diagnosis
        elif [ "$vtHotkey" = "F6" ]; then
            ventoy_ext_menu
elif [ "$vtHotkey" = "F9" ]; then
            ventoy_info
        fi
       
        vt_fn_mutex_lock 0
       
        unset timeout
        unset default
    fi   
fi

You can see the implementation of clause 4 in mod_ventoy 1.0.80





================================================================

Can't we add this feature in the next version?

I wish it was added.
Reply


Messages In This Thread
hotkey - by hyun9358 - 01-23-2023, 06:02 AM
RE: hotkey - by nguyen ha thai trong - 01-23-2023, 06:09 PM
RE: hotkey - by serhat100 - 01-23-2023, 07:19 PM
RE: hotkey - by hyun9358 - 01-23-2023, 07:32 PM
RE: hotkey - by nguyen ha thai trong - 01-24-2023, 06:35 AM
RE: hotkey - by AlexBryansk - 01-25-2023, 03:27 AM
RE: hotkey - by hyun9358 - 01-25-2023, 01:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)