I'm running a linux bash script on fedora 20 which plays a vlc video using this command:
Code:
## start video
echo "starting video"
vlc video.mpg --fullscreen
## close vlc
export DISPLAY=:0
xdotool type s
xdotool key ALT+F4
The script starts the video fine and plays it but at the end the video stops and just sits there, the machine seems to be unaware that the video has finished and the script hangs. the xdotool entry work fine in other scripts and I've also tried other commands after the video. How do I get the script to move on to the next step after the video has stopped? Do I need a special command after the video?