按照堅果雲官網直接用deb或者gdebi的安裝方法,安裝成功后點擊圖標,閃了兩下,就沒有反映了,嘗試用源碼編譯解決問題。現在typora+堅果雲在ubuntu16上溜的飛起,之前ubuntu18.04倒是沒遇到安裝的問題……
直接從源代碼編譯安裝
- 准備構建環境
堅果雲Linux客戶端依賴於這些包: glib2.0-dev, gtk2.0-dev, libnautilus-extension-dev, gvfs-bin. 如果您已經安裝這些軟件包,請跳至下一步
如果您的系統是Ubuntu,可以用以下命令安裝這些包:
$> sudo apt-get install libglib2.0-dev libgtk2.0-dev libnautilus-extension-dev gvfs-bin python-gi gir1.2-appindicator3-0.1
- 下載Nautilus插件源代碼包: nutstore_linux_src_installer.tar.gz
$> wget https://www.jianguoyun.com/static/exe/installer/nutstore_linux_src_installer.tar.gz
- 解壓縮,編譯和安裝Nautilus插件
$> tar zxf nutstore_linux_src_installer.tar.gz
$> cd nutstore_linux_src_installer && ./configure && make
$> sudo make install
- 重啟Nautilus
$> nautilus -q
- 運行以下命令,自動下載和安裝堅果雲其他二進制組件
$> ./runtime_bootstrap
具體過程也可參考源代碼包里面的README文件(在nutstore_linux_src_installer/src下),內容為
This is open source part of Nutstore, which is composed of nautilus extension.
How to Build Nutstore Runtime From Source Tarball
--------------------------------------------------
1) Package dependency. You need the following packages (or equivalent):
glib2.0-dev
gtk2.0-dev
gvfs-bin
JRE(java runtime environment)
libnautilus-extension-dev
on ubuntu distribution after 10.04, you can install them as below:
$> sudo apt-get install libnautilus-extension-dev openjdk-8-jre-headless gvfs-bin libgtk2.0-dev python-notify
on fedora core, CentOS or RHEL, you can install them as below:
$> sudo yum nautilus-devel glib2-devel gtk2-devel jre gvfs notify-python
We currently only support **GNOME** and **Unity** desktop.
If you would like to help us port nutstore to other window management system, e.g. KDE, Xfce
you may mail us by contactus@nutstore.net, We are pleased to support you.
All the code developed based on the Nutstore Nautilus Plugin should be redistributed under GPL license.
2) Build the Nautilus Plugin
$> ./configure && make
$> sudo make install
3) Restart Nautilus
$> nautilus -q
4) Fetch th binary distribution package and install it
$> ./runtime_bootstrap
5) Done!
For Gnome desktop, nutstore is on "Applications->Internet->Nutstore" of GNOME application launch panel.
For Unity dekstop, you need logout the current unity session to enable above changes. And then, search "Nutstore" in the application panel.
Special notice only for Arch Linux user:
As nutstore only supports python2 currently, you need to install python2 package manually, and replace the first line of ~/.nutstore/dist/bin/nutstore-pydaemon.py. Unfortunately, you may need to re-do the change everytime that nutstore is upgraded automatically.
from
#!/usr/bin/env python
to
#!/usr/bin/env python2