aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn
blob: 08a24bcb1b536f92f61d152cc5c37cdd61655fcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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


"""]]