Added Dropbox script
It will start Dropbox if there is no computer activity for a period of time.
It will stop Dropbox if there is activity at the keyboard.
diff --git a/dropbox_monitor.sh b/dropbox_monitor.sh
new file mode 100644
index 0000000..9ec80e1
--- /dev/null
+++ b/dropbox_monitor.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+#
+# "nohup THIS-SCRIPT-WITH-FULL-PATH 0<&- &>/dev/null &"
+#
+
+WE_STARTED_IT=0;
+
+while true; do
+ sleep 1;
+ IDLE_SINCE=$(xprintidle);
+ if [ $WE_STARTED_IT -eq 0 ] && [ $IDLE_SINCE -gt 300000 ]; then
+ dropbox start;
+ WE_STARTED_IT=1;
+ fi
+ if [ $WE_STARTED_IT -eq 1 ] && [ $IDLE_SINCE -lt 300000 ]
+ then
+ dropbox stop;
+ WE_STARTED_IT=0;
+ fi
+done