Would like to open all avi and mpeg files from folders in nautilus into a script that opens the file and moves the window using wmctrl.
Basically, I need to open all media files with a script that brings up totem and opens the file then moves it 135 pixels over.
Was thinking something like
#! bin/bash totem $1 & sleep 1 && wmctrl -r "totem" -e 1,135,0,800,600
I tried this but got no sound, and it doesn't resize either.
Can anyone see anything obvious I'm doing wrong?