fedora21安装xmind7

  老版本的xmind安装方法,在最后的阶段无法成功注册到系统中,desktop无法自定义完成.参考:http://www.cnblogs.com/cupcoffee/p/3560626.html

  直到从stackoverflow上面找到了一个回复的方式,http://stackoverflow.com/questions/33734552/conflict-installing-xmind-3-6-0-from-rpm-on-fedora-23

I was unable to solve the error described in my post. However, I have found a way to install XMind 7 (3.6.0) on Fedora 23.

Following this page.

The problem is, the xmind binaries structure has changed since this article. So the commands needed are little bit different.

  1. Download Xmind portable version from Xmind web page -http://www.xmind.net/xmind/downloads/xmind7-portable-3.6.0.R-201511090408.zip

  2. Extract it to directory ~/xmind_portable, then cd ~/xmind_portable

  3. Untar the data.tar.gz tar -xf data.tar.gz
  4. Move desktop launcher sudo mv ./usr/share/applications/xmind.desktop /usr/share/applications
  5. sudo mv ./usr/share/mime/packages/xmind.xml /usr/share/mime/packages/
  6. Move application data sudo mv ./usr/lib/xmind/ /opt/
  7. Update mime DB sudo update-mime-database /usr/share/mime/

Make a link to your bin

sudo ln -s /opt/xmind/XMind /usr/local/bin/xmind 

Then use it!

上述结束后,最后还是姚修改 /usr/share/applications/xmind.desktop

[Desktop Entry]
Type=Application
Version=3.6.0
Encoding=UTF-8
Name=XMind
Comment=Launch XMind 7
Icon=/opt/xmind/xmind-logo-36.png  //图标图片路径,绝对路径
Exec=xmind    //执行的命令,因为上面做了软连接,所以不需要修改加路径
Terminal=false
StartupNotify=true
Categories=Office;
MimeType=application/xmind;x-scheme-handler/xmind;
 

  方法一最后可能修改desktop文件也能实现,