Multi-Monitor Video Script
Here is a simple script that allows you to play video synced on two screens using mplayer. The script allows the user to select the video they would like to play from a specific folder.
Ensure you have mplayer installed; it should be readily available from your package manager.
Copy the code into your favorite text editor. I currently am using KWrite
You first need to define the path to your video directory, by editing this line in the code:
Save your file and place it in a directory that is easily accessible. I currently have mine placed in the bin folder in my home directory. You can also place it in the /usr/bin directory if you like. If you would like to support Asian characters in the program, ensure you save the script with UTF-8 encoding.
Make the script executable by running the following command in terminal, with the correct path to the script.
chmod +x [path to file]