当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 分享:ubuntu8.10顺利安装freemind & yEd过程,以及解决方块中文问题
帖子发表于 : 2008-11-19 10:12 

注册: 2008-11-05 10:26
帖子: 10
送出感谢: 0 次
接收感谢: 0 次
以前用mindmanager,受同事的蛊惑,装了freemind和yEd。且对于跨平台,能整合其他自成体系的标准资源的想法深以为然(最近老在思考这个东西)。ubuntu8.10安装步骤如下,只需要添加源,不需要考虑组件依赖关系,而之前版本需要安装依赖库。
过程如下:

1。增加源:
This is how to install the most-recently-packaged version of FreeMind. Start the Synaptic Package Manager (under the System menu), and then do the following:

* Add the following repositories using the Menu Settings ⇒ Repositories:
o deb http://eric.lavar.de/comp/linux/debian/ unstable/ ("Third Party Software" tab)
o deb http://eric.lavar.de/comp/linux/debian/ ubuntu/ ("Third Party Software" tab)
o The multiverse and universe repositories ("Ubuntu Software" tab)
* "Reload" the package list using the corresponding icon.
* Mark the following packages for installation (or make sure they are already installed):
o sun-java6-jre.
o javahelp2
o freemind

2。安装Freemind
bobkey@bobkey-laptop:~/Desktop$ sudo aptitude install sun-java6-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
gsfonts-x11{a} java-common{a} odbcinst1debian1{a} sun-java6-bin{a}
sun-java6-jre unixodbc{a}
0 packages upgraded, 6 newly installed, 0 to remove and 131 not upgraded.
Need to get 35.0MB of archives. After unpacking 101MB will be used.
Do you want to continue? [Y/n/?] y

bobkey@bobkey-laptop:~/Desktop$ sudo aptitude install javahelp2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
javahelp2
0 packages upgraded, 1 newly installed, 0 to remove and 131 not upgraded.
Need to get 2094kB of archives. After unpacking 3080kB will be used.
Writing extended state information... Done
Get:1 http://archive.ubuntu.com intrepid/universe javahelp2 2.0.05-3 [2094kB]
Fetched 2094kB in 5s (400kB/s)
Selecting previously deselected package javahelp2.
(Reading database ... 120802 files and directories currently installed.)
Unpacking javahelp2 (from .../javahelp2_2.0.05-3_all.deb) ...
Processing triggers for man-db ...
Setting up javahelp2 (2.0.05-3) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done


bobkey@bobkey-laptop:~/Desktop$ sudo aptitude install freemind
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
freemind gcj-4.3-base{a} libcommons-codec-java{a} libcommons-lang-java{a} libgcj-bc{a} libgcj-common{a} libgcj9-0{a} libgcj9-jar{a}
libjaxp1.3-java{a} libjaxp1.3-java-gcj{a} libjgoodies-forms-java{a} librelaxng-datatype-java{a}
0 packages upgraded, 12 newly installed, 0 to remove and 131 not upgraded.
Need to get 24.4MB of archives. After unpacking 57.7MB will be used.
Do you want to continue? [Y/n/?]
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

freemind

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": yes




宣告变量,需添加到~/.bashrc

export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.10/
export PATH=$PATH:/usr/lib/jvm/java-6-sun-1.6.0.10/

3。安装yEd
去以下链接下载
http://www.yworks.com/en/products_download.php
$chmod a+x yEd3_1_2.sh
$sudo ./yEd3_1_2.sh
再安装 yEd 不会提示需要java环境了,之前已经装过

4。设置中文字符
完成安装后,分别启动freemind/yed。输入 测试中文 只显示后两个字“中文”,前面是方块。
以下是中文字体安装步骤:

bobkey@bobkey-laptop:/u/Dropbox/xp_fonts$ ls #这个是win_xp下拷贝的免费字体文件
simsun.ttc tahomabd.ttf tahoma.ttf
bobkey@bobkey-laptop:/u/Dropbox/xp_fonts$ sudo mkdir -p /usr/share/fonts/zh_CN/TrueType
bobkey@bobkey-laptop:/u/Dropbox/xp_fonts$ sudo cp * /usr/share/fonts/zh_CN/TrueType
bobkey@bobkey-laptop:/u/Dropbox/xp_fonts$ cd /usr/share/fonts/zh_CN/TrueType
bobkey@bobkey-laptop:/usr/share/fonts/zh_CN/TrueType$ sudo mkfontscale
bobkey@bobkey-laptop:/usr/share/fonts/zh_CN/TrueType$ sudo mkfontdir
bobkey@bobkey-laptop:/usr/share/fonts/zh_CN/TrueType$ ls #此时多出两个配置文件fonts.dir fonts.scale
fonts.dir fonts.scale simsun.ttc tahomabd.ttf tahoma.ttf

bobkey@bobkey-laptop:/usr/share/fonts/zh_CN/TrueType$ cd /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/fonts
bobkey@bobkey-laptop:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/fonts$ sudo ln -s /usr/share/fonts/zh_CN/TrueType fallback
bobkey@bobkey-laptop:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/fonts$ ls #建立的软链接文件 fallback
fallback LucidaBrightRegular.ttf
fonts.dir LucidaSansDemiBold.ttf
LucidaBrightDemiBold.ttf LucidaSansRegular.ttf
LucidaBrightDemiItalic.ttf LucidaTypewriterBold.ttf
LucidaBrightItalic.ttf LucidaTypewriterRegular.ttf

启动freemind和yEd,输入中文测试 4个汉子,显示正常了。
但yed的 Structure View视图中还是方块


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 分享:ubuntu8.10顺利安装freemind & yEd过程,以及解决方块中文问题
帖子发表于 : 2008-11-19 21:33 

注册: 2008-10-27 14:07
帖子: 8
送出感谢: 0 次
接收感谢: 0 次
freemind是没问题,随便都可以装上,问题是它对linux的支持并不是很好
像在xp中做的比较复杂的图,在ubuntu中就没办法打开了,打开是空的


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 分享:ubuntu8.10顺利安装freemind & yEd过程,以及解决方块中文问题
帖子发表于 : 2009-03-22 10:58 

注册: 2008-07-20 13:57
帖子: 29
送出感谢: 0 次
接收感谢: 0 次
我按照方法安装的。装好之后,freemind显示mindmap模式不可用。。。能不能帮我解决一下呀?热切期盼中 :em20

代码如下:
xiaochun@xiaochun-laptop:~$ freemind

Looking for user properties:
/home/xiaochun/.freemind/user.properties

User properties found.
Default (System) Look & Feel: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
/home/xiaochun/.themes/gotchione/gtk-2.0/panel.rc:13: 无法在像素图路径中找到图像文件:“shadows/window-bg.png”
/home/xiaochun/.themes/gotchione/gtk-2.0/panel.rc:66: 无法在像素图路径中找到图像文件:“/arrows/arrow-up-panel.png”
/home/xiaochun/.themes/gotchione/gtk-2.0/panel.rc:70: Overlay image options specified without filename
/home/xiaochun/.themes/gotchione/gtk-2.0/panel.rc:452: 无法在像素图路径中找到图像文件:“/shadows/shadow-none.png”
/home/xiaochun/.themes/gotchione/gtk-2.0/panel.rc:455: Background image options specified without filename
Warning: the font you have set as standard - null - is not available.
[Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried to get view without being able to get map module.

(<unknown>:12370): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)

(<unknown>:12370): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
2009-3-22 10:57:03 freemind.modes.ModesCreator getAllModes
信息: Modes:[freemind.modes.browsemode.BrowseMode, freemind.modes.filemode.FileMode, freemind.modes.mindmapmode.MindMapMode]
2009-3-22 10:57:03 freemind.modes.ModesCreator getMode
信息: Initializing mode MindMap
2009-3-22 10:57:04 freemind.modes.mindmapmode.MindMapController <init>
信息: createIconActions
2009-3-22 10:57:05 freemind.modes.mindmapmode.MindMapController <init>
信息: createNodeHookActions
2009-3-22 10:57:10 freemind.modes.ModesCreator getMode
严重: Mode freemind.modes.mindmapmode.MindMapMode could not be loaded.
java.lang.NullPointerException
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:128)
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:164)
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:164)
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:164)
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:164)
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:164)
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:164)
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:164)
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:164)
at freemind.extensions.ImportWizard.addClassesFromDir(ImportWizard.java:164)
at freemind.extensions.ImportWizard.buildClassList(ImportWizard.java:76)
at freemind.extensions.HookFactory.actualizePlugins(HookFactory.java:148)
at freemind.extensions.HookFactory.searchFor(HookFactory.java:111)
at freemind.extensions.HookFactory.getPossibleNodeHooks(HookFactory.java:95)
at freemind.modes.mindmapmode.MindMapController.createNodeHookActions(MindMapController.java:238)
at freemind.modes.mindmapmode.MindMapController.<init>(MindMapController.java:149)
at freemind.modes.mindmapmode.MindMapMode.init(MindMapMode.java:43)
at freemind.modes.ModesCreator.getMode(ModesCreator.java:89)
at freemind.controller.Controller.changeToMode(Controller.java:441)
at freemind.main.FreeMind.<init>(FreeMind.java:300)
at freemind.main.FreeMind.main(FreeMind.java:647)
Exception in thread "main" java.lang.NullPointerException
at freemind.main.FreeMind.main(FreeMind.java:652)


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译