I'm trying to set up a simple pc that basically boots, plays a training video that's saved in the base directory of the flash drive plugged into the pc, and that's it.
currently, I have a logon script set to run
sleep 5; totem --fullscreen /media/(username)/*asterisk*/*asterisk*.mp4
(specified where I placed asterisks because formatting turns them into italics)
which is just setup to wait a few seconds after boot to allow the pc to recognize the flash drive, then opens any .mp4
file located in any flash drive.
Is there any way to set this to open any video from multiple filetypes? I.E, open any .MP4/.MWV/
etc? (filetypes just for example - I'm not sure exactly what types they may end up using)
xdg-open
orgnome-open
- personally xdg-open is probably best, see unix.stackexchange.com/questions/36380/…xdg-open /path/to/file
will open the file in question with the default media player. Yes you can set thee defaults as well. See also askubuntu.com/questions/642511/…xdg-open /fpath/to/file.*