summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonan <Jonan@web>2015-10-28 11:10:44 +0000
committerGravatar admin <admin@branchable.com>2015-10-28 11:10:44 +0000
commit6f5197e6ecdd25925dcf931ec62c6c8bb1de1e44 (patch)
treed93fdd7f46dbc628b045fb37fa912904228879d8
parentcae79191e4c56afe19470ea675aa7ad6373985f6 (diff)
-rw-r--r--doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn b/doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn
index d87960cf4..08a24bcb1 100644
--- a/doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn
+++ b/doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn
@@ -1,2 +1,34 @@
I think the assistant should have a delay before starting so it doesn't impact on the system boot performance.
+
I know this can be configured per user (I have it set to 5min), but I think 2min is a sane default.
+
+I don't really know how to submit patches (I can't attach it), so I simply copy it here. It's trivial enough.
+
+[[!format txt """
+From bc6b90ce333659bd2511eedd4ab9067241f73780 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jon=20Ander=20Pe=C3=B1alba?= <jonander.penalba@gmail.com>
+Date: Wed, 28 Oct 2015 12:00:51 +0100
+Subject: [PATCH] When autostarting the assistant on boot delay the execution
+ 2min
+
+---
+ Assistant/Install/AutoStart.hs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Assistant/Install/AutoStart.hs b/Assistant/Install/AutoStart.hs
+index 5745030..6a09c3a 100644
+--- a/Assistant/Install/AutoStart.hs
++++ b/Assistant/Install/AutoStart.hs
+@@ -35,6 +35,6 @@ fdoAutostart command = genDesktopEntry
+ "Git Annex Assistant"
+ "Autostart"
+ False
+- (command ++ " assistant --autostart")
++ (command ++ " assistant --autostart --startdelay=120")
+ Nothing
+ []
+--
+2.6.2
+
+
+"""]]