I'm creating an application (command line script) to play videos directly to the secondary monitor, which is connected either via VGA or HDMI.
The video player itself is cvlc, with command cvlc -f myvideo.avi.
Can anyone please help about the script to run the cvlc directly to secondary monitor regardless of which monitor it was launched from.
i've tried DISPLAY=":0.1" vlc -f myvideo.avi, but results a scrambled unusable video player.
Thanks.