摘要: Netbeans默认使用JDK是在安装时指定的,如果因为卸载或者更换JDK发生了路径变化,NetBeans在启动的时候会弹出一个对话框提示说指定路径错误,这时就需要去Netbeans安装目录下找到etc文件夹,里面有个netbeans.conf文件。打开这个文件找到:#Default location of JDK, can be overridden by using --jdkhome<... 阅读全文
posted @ 2009-12-28 23:52 MagicLetters 阅读(282) 评论(0) 推荐(0) 编辑
摘要: Programmers humor Throughout of my surfing in the web, I often encounter funny jokes about programmers and source code comments, In this post I want to present the top of them, which I liked most.Here... 阅读全文
posted @ 2009-12-27 22:20 MagicLetters 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 首先,需要安装一个小软件,在终端中执行以下:sudoapt-get install numlockx然后编辑:sudogedit /etc/gdm/Init/Default把下面的内容添加到最后那行的前面,(“exit0“的前面)if[ -x /usr/bin/numlockx ]; then  numlockx on  fi重启或者注销便可!启动时,小键盘灯自动打开,直接... 阅读全文
posted @ 2009-12-19 11:49 MagicLetters 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 这几款漂亮的主题在网上流传很久了,它们都出自Zgegblog作者,感谢他为我们带来这么棒的主题,而且安装非常方便,一共是九套主题,下面就是在ubuntu 9.10中的安装方法: 首先需要编辑 /etc/apt/sources.list 文件,在终端中输入: gksudo gedit /etc/apt/sources.list 在其中加入以下源: deb http://ppa.launchpad.... 阅读全文
posted @ 2009-12-18 22:50 MagicLetters 阅读(411) 评论(0) 推荐(0) 编辑
摘要: Ubuntu终端字体不能显示汉字是非常别扭的。要使字符终端显示汉字其实很简单:$sudoapt-get install zhcon安装zhcon,安装以后,要用zhcon--utf8 --drv=vga来启动zhcon。这个命令长了点。但不要紧,在/etc/bash.bashrc中添加这么一行:#aliaszhcon='zhcon --utf8 --drv=vga'这就给zhcon起了个相同的别名... 阅读全文
posted @ 2009-12-18 18:17 MagicLetters 阅读(277) 评论(0) 推荐(0) 编辑