Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 hotkey
#5
This problem must be longpanda, the command lines you and I mentioned in grub.cfg have no effect on the F1-9 keys, let alone F11, F12. Try deleting the block
#special VTOY_DEFAULT_IMAGE process
if [ -n "$VTOY_DEFAULT_IMAGE" ]; then
    if regexp --set 1:vtHotkey --set 2:vtDefault "(F[2-9])>(.*)" "$VTOY_DEFAULT_IMAGE"; then
   
        set default="$vtDefault"
        if [ -z "$VTOY_MENU_TIMEOUT" ]; then
            set timeout=0
        else
            set timeout=$VTOY_MENU_TIMEOUT
        fi
       
        export timeout
        export default

        vt_fn_mutex_lock 1

        if [ "$vtHotkey" = "F2" ]; then
            unset timeout
            vt_browser_disk
        elif [ "$vtHotkey" = "F4" ]; then
            ventoy_localboot
        elif [ "$vtHotkey" = "F5" ]; then
            ventoy_diagnosis
        elif [ "$vtHotkey" = "F6" ]; then
            ventoy_ext_menu
fi
       
        vt_fn_mutex_lock 0
       
        unset timeout
        unset default
    fi
fi
Then try pressing the F1-9 keys, it still works. The above command block (as longpanda wrote) it only serves
  #special VTOY_DEFAULT_IMAGE process
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: 2 Guest(s)