Dock any applications into system tray area in ubuntu

alltray 能够让任意程序最小化到system tray。
安装也很简单:sudo apt-get install alltray
使用就更简单了,启动alltray后,按照alltray的提示,点击要minimize的程序即可

By javafuns on February 22, 2010 at 20:29 · Views: 43 · Permalink · Leave a comment
Categorized in: Operation Systems · Tagged with: ,

Ubuntu 下 NetBeans 编辑器的字体锯齿问题

Append this -J-Dawt.useSystemAAFontSettings=on to netbeans_default_options in etc/netbeans.conf, then restart netbeans

By javafuns on July 2, 2009 at 12:21 · Views: 489 · Permalink · Leave a comment
Categorized in: Java · Tagged with: ,

SVN 1.6 on ubuntu

For Karmic:
deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu karmic main
deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu karmic main
For Jaunty:
deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu jaunty main
deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu jaunty main
For Intrepid:
deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu intrepid main
deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu intrepid main
For Hardy:
deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu hardy main
deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu hardy main

By javafuns on June 30, 2009 at 09:57 · Views: 616 · Permalink · Leave a comment
Categorized in: Operation Systems · Tagged with: , ,

How to reset your Linux root password (reship)

原文: http://www.ibm.com/developerworks/cn/linux/l-10sysadtips/
技巧 4:找回根密码
如果忘记根密码,就必须重新安装整台机器。更惨的是,许多人都会这样做。但是启动机器并更改密码却十分简单。这并非在所有情况下都适用(比如设置了一个 GRUB 密码,但也忘记了),但这里介绍一个 Cent OS Linux 示例,说明一般情况下的操作。
首先重启系统。重启时会跳出如图 1 所示的 GRUB 屏幕。移动箭头键,这样可以保留在此屏幕上,而不是进入正常启动。
图 1. 重启后的 GRUB 屏幕

然后,使用箭头键选择要启动的内核,并输入 E 编辑内核行。然后便可看到如图 2 所示的屏幕:
图 2:准备编辑内核行

再次使用箭头键突出显示以 kernel 开始的行,按 E 编辑内核参数。到达如图 3 所示的屏幕时,在图 3 中所示的参数后追加数字 1 即可:
图 3. 在参数后追加数字 1

然后按 Enter 和 B,内核会启动到单用户模式。然后运行 passwd 命令,更改用户根密码:
sh-3.00# passwd
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully
现在可以重启了,机器将使用新密码启动。

By javafuns on June 19, 2009 at 10:15 · Views: 396 · Permalink · Leave a comment
Categorized in: Operation Systems · Tagged with: ,

How to install libstdc++.so.5 for Ubuntu

Today when I tried to run our applications, I was told that there is a necessary library libstdc++.so.5 missing.
Now, I give the programmers who also faces the same problem a solution:
sudo apt-get install libstdc++5

By javafuns on May 13, 2009 at 09:25 · Views: 1,444 · Permalink · Leave a comment
Categorized in: Java, Operation Systems · Tagged with: , ,

Linux 上的 svn UI 客户端

esvn要比rapidsvn好用,虽然在界面上比较难看,但速度上要快很多,推荐各位programmer使用

By javafuns on October 22, 2008 at 14:56 · Views: 2,220 · Permalink · Leave a comment
Categorized in: Java · Tagged with: , ,

ubuntu下让你的amsn支持中文显示

amsn的中文的确是个很大的麻烦,安装以后,默认语言是英文,但即使你选择了中文,中文也会残缺不全,很难看,也可以说是非常非常难看。
这些天我一直使用的是英文界面,后来改到了繁体中文,但还是没简体中文看着舒服。
今天偶尔在amsn的F&Q上看到关于选择语言后amsn会崩溃的问题,我便尝试按照Q上所说进行编码和字体的设置,竟然可以正常显示中文了。
步骤如下:

打开 Accounts(帐户),进到 Preferences(偏好)
选择 appearance(外观)
在appearance中选择 encoding(编码)为utf8,font(字体)选择 song ti(宋体)
设置后保存并重启

ok,这下可以看到熟悉的中文界面了。

By javafuns on April 23, 2008 at 20:34 · Views: 1,202 · Permalink · Leave a comment
Categorized in: Operation Systems · Tagged with: ,

xmms乱码解决方法[stephen原创]

原文地址: http://blog.chinaunix.net/u/26313/showart_199487.html
网上很多解决xmms乱码问题的文章,一般分为3种方式,却基本上都不起作用。本人经过一天的琢磨,终于解决了乱码的问题,特此写出来帮助想解决这个问题的朋友!
界面乱码的问题:
sudo ln -s /etc/gtk/gtkrc.zh_CN /etc/gtk/gtkrc.zh_CN.utf-8
播放列表乱码问题:
第1步:在个人用户主目录下创建或编辑文件.gtkrc.mine
$sudo gedit ~/.gtkrc.mine
文件内容为:

By javafuns on April 13, 2008 at 11:35 · Views: 463 · Permalink · Leave a comment
Categorized in: Operation Systems · Tagged with: ,
  • Highest Rated

  • My PicasaPhotos

    IMG_0549.JPG

    IMG_0630.JPG

    IMG_0600.JPG

  • RSS My del.icio.us

  • My RSS