diff options
author | https://www.google.com/accounts/o8/id?id=AItOawmZ9EwisYI1DDev8HXY6zFjPrLKt60-3QI <Yo@web> | 2013-06-21 05:44:02 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-06-21 05:44:02 +0000 |
commit | f779dd43ec93e05ca1c1ab397a6dc2f0ea831642 (patch) | |
tree | 28c3a1fbf22b6ba5b7f245808614d5687af28433 /doc/tips/Delay_Assistant_Startup_on_Login.mdwn | |
parent | 4ca764d307da4968dc5c10aca6c555e28b3c08c5 (diff) |
Diffstat (limited to 'doc/tips/Delay_Assistant_Startup_on_Login.mdwn')
-rw-r--r-- | doc/tips/Delay_Assistant_Startup_on_Login.mdwn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/tips/Delay_Assistant_Startup_on_Login.mdwn b/doc/tips/Delay_Assistant_Startup_on_Login.mdwn new file mode 100644 index 000000000..74652308a --- /dev/null +++ b/doc/tips/Delay_Assistant_Startup_on_Login.mdwn @@ -0,0 +1,13 @@ +# Problem +I noticed that after installing git-annex assistant, my start up times greatly increased because the assistant does a startup scan while everything else is loading. +# Solution (for people using Gnome) +The solution I came up with is to delay the assistant's startup, as well as setting its IO priority as idle. To do this in Gnome 3, run: + + gnome-session-properties +Find the "Git Annex Assistant" entry in the Startup Programs tab, then click edit. Change this: + + /usr/local/bin/git-annex assistant --autostart (your location of git-annex may be different) +to this: + + bash -c "sleep 30; ionice -c3 /usr/local/bin/git-annex assistant --autostart" (replace /usr/local/bin to wherever git-annex is installed) +The "sleep 30" command delays the startup of the assistant by 30 seconds, and "ionice -c3" sets git-annex's IO priority to "idle," the lowest level. |