From e030045fb39a61c4d5ce9b5c167c3d80e3047e5c Mon Sep 17 00:00:00 2001 From: Valery Guskov Date: Wed, 6 Jan 2016 19:42:26 +0200 Subject: added mint autostart example --- examples/mint_auto_start_example.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 examples/mint_auto_start_example.sh diff --git a/examples/mint_auto_start_example.sh b/examples/mint_auto_start_example.sh new file mode 100755 index 0000000..9482659 --- /dev/null +++ b/examples/mint_auto_start_example.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# starting this script on login will wait for Nemo to initialize +# and start xwinwrap with mplayer on desktop surface and play /path/to/your/video + +until $(echo xwininfo -name Desktop)|grep "IsViewable"; do :; done +xwinwrap -b -s -fs -fdt -d "Desktop" -- mplayer -wid WID --loop=0 --nosound /path/to/your/video -- cgit v1.2.3