Created
May 29, 2015 20:39
-
-
Save AaronJackson/cc18bd0084a5a7a31658 to your computer and use it in GitHub Desktop.
Tile four VLC windows. Used to view RTSP security cameras
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xset dpms 0 0 0 | |
xset -dpms | |
xset s noblank | |
xset s noexpose | |
killall -9 vlc | |
export WINOPTS="--disable-screensaver --width=960 --height=540 --no-embedded-video" | |
vlc --video-title TopLeft \ | |
$WINOPTS\ | |
rtsp://admin:password@192.168.10.233 & | |
vlc --video-title TopRight \ | |
$WINOPTS \ | |
rtsp://admin:password@192.168.10.234 & | |
vlc --video-title BottomLeft \ | |
$WINOPTS \ | |
rtsp://admin:password@192.168.10.235 & | |
vlc --video-title BottomRight \ | |
$WINOPTS \ | |
rtsp://admin:password@192.168.10.232 & | |
sleep 2 | |
wmctrl -r TopLeft -e 5,0,0,960,540 | |
wmctrl -r TopRight -e 5,960,0,960,540 | |
wmctrl -r BottomLeft -e 5,0,540,960,540 | |
wmctrl -r BottomRight -e 5,960,540,960,540 | |
wmctrl -a TopLeft # hide bottom window title bars | |
wmctrl -a TopRight |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment