aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Guskov <valerijs.gusjkovs@gmail.com>2016-01-06 19:42:26 +0200
committerValery Guskov <valerijs.gusjkovs@gmail.com>2016-01-06 19:42:26 +0200
commite030045fb39a61c4d5ce9b5c167c3d80e3047e5c (patch)
tree93c805c2faa5b4846e5a726f63bc9156b2d6659f
parent2c6e94889cab1ca182d0e7c174cb23dd6a5678b4 (diff)
added mint autostart example
-rwxr-xr-xexamples/mint_auto_start_example.sh6
1 files changed, 6 insertions, 0 deletions
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