As seen in the previous tutorial on how to listen and watch CD / DVD movies on OS108 (NetBSD 9.0). In this tutorial I will show you a simpler way, for those who don't want to keep typing command lines whenever they want to listen and watch CD / DVD movies.
Only remembering the commands from the previous tutorial.
To listen to music CD
$ vlc cdda:///dev/cd0
To watch DVD movies
$ vlc dvd:///dev/cd0
Basically you should have the VLC Player installer on your computer, and follow the steps below:
For the procedure below you can use vi, vim, nano or even simpler Pluma in graphical mode.
1) Open your favorite text editor in either text or graphics mode, and type the lines below:
Exec =vlc cdda:///dev/cd0
Save as VLCAudioCD.desktop
Movie and musical DVDs
Exec =vlc dvd:///dev/cd0
Save as VLC_DVD.desktop
Give the following permissions to run on the previous 2 files:
$ chmod + x app.desktop
After that you should double click on the launcher, and a window will appear asking "Launch Anyway", "Mark as Trusted" and "Cancel", in which case you should click on "Mark as Trusted".
NOTE: Remembering that you can put the name you want for your launcher, but to give better visibility use the names VLCAudioCD and VLC_DVD. And you can also change the icons to be more beautiful, for this you can use the website https://icons8.com.br/. Remember to keep the icons in the same directory, otherwise they may disappear from your launcher.
Link to previous tutorials:
Tutorial for playing music CDs on OS108 (NetBSD 9.0)
Tutorial for playing movie and musical DVDs on OS108 (NetBSD 9.0)
This tutorial is also made up of tips from Jay, @Jay thanks for the tips.