Ubuntu – Make Gnote load faster


Ever since I upgraded to 11.04 and started to use Unity I've been bothered by the time it takes to load Gnote. In 10.10 I used Gnome and the Gnote plugin for the Gnome panel which had Gnote loaded in the background so that e.g. opening a new note in Gnote took no time at all.

What I'm looking for in Unity is a way to make Gnote load faster or a way to make Gnote behave as if it loaded faster. I can think of two ways to do this:

  1. Preload Gnote so that it starts faster whenever I decide to start it.
  2. Automatically start Gnote minimized every time Unity starts.

Best Answer

I think the second option is the best bet since there's AFAIK no way to preload Gnote

Just add gnote to your gnome-session-properties (Startup Applications in Settings) or do this:

cp /usr/share/applications/gnote.desktop ~/.config/autostart/
chmod u+x ~/.config/autostart/gnote.desktop

Edit: To use Gnote system tray icon, you have to whitelist it first. Use the following command (based on this question):

gsettings set com.canonical.Unity.Panel systray-whitelist "$(gsettings get com.canonical.Unity.Panel systray-whitelist | sed -e "s/]$/, 'gnote']/")"

You can find more information on systray-whitelist in this post.

Changes will take effect after reloading Unity (logging out or executing unity --replace).