Auto enable VLC extensions in the View menu.
sudo apt install xdotool
which vlc
This will give you the path to the VLC binary, typically something like /usr/bin/vlc.
sudo mv /usr/bin/vlc /usr/bin/vlc-original
sudo nano /usr/bin/vlc
#!/bin/bash
/usr/bin/vlc-original "$@" &
sleep 2 # Adjust the sleep duration if VLC takes longer to start
xdotool key Alt+i
xdotool key Up
# Add another `xdotool key Up` depending on the extension's position in the View menu
xdotool key Return
sudo chmod +x /usr/bin/vlc