使Gnote加载速度更快

自从我升级到11.04并开始使用Unity后,我一直为加载Gnote所花费的时间感到困扰。 在10.10中,我使用了Gnome和Gnote插件,Gnome面板在背景中加载了Gnote,因此例如在Gnote中打开一个新笔记就没有时间了。

我在Unity中寻找的是一种使Gnote加载速度更快的方法,或者让Gnote表现得像加载更快的方式。 我可以想到两种方法:

  1. 预加载Gnote,以便在我决定启动它时它会更快地启动。
  2. 每次Unity启动时自动启动Gnote最小化。

我认为第二种选择是最好的选择,因为AFAIK无法预加载Gnote

只需将gnote添加到您的gnome-session-properties (设置中的启动应用程序)或执行此操作:

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

编辑:要使用Gnote系统托盘图标,您必须先将其列入白名单。 使用以下命令(基于此问题 ):

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

您可以在本文中找到有关systray-whitelist的更多信息。

更改将在重新加载Unity(注销或执行unity --replace )后生效。