1

enter image description here

I want to change videos to VLC. I have already installed VLC using sudo apt-get install vlc.

I want to get a CLI solution because I am making a script that changes the configuration of a newly installed OS as my own customization.

  • Instead of nano, of course, use sed or awk or your favourite file modification tool to add VLC to it. – muru May 21 '18 at 6:30
  • The command-line VLC player (cvlc) is started by the command: cvlc /path/to/video/file – karel May 21 '18 at 7:14