使 Gnote 加载更快

使 Gnote 加载更快

自从我升级到 11.04 并开始使用 Unity 以来,我一直为加载 Gnote 所花的时间而烦恼。在 10.10 中,我使用 Gnome 和 Gnome 面板的 Gnote 插件,该插件在后台加载了 Gnote,因此在 Gnote 中打开新笔记根本不需要花费任何时间。

我在 Unity 中寻找的是让 Gnote 加载速度更快的方法,或者让 Gnote 表现得好像加载速度更快一样的方法。我能想到两种方法来实现这一点:

  1. 预加载 Gnote,以便无论何时我决定启动它,它都能启动得更快。
  2. 每次 Unity 启动时自动最小化启动 Gnote。

答案1

我认为第二个选项是最好的选择,因为据我所知没有办法预加载 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

相关内容