Tag Archive for 'java'

让永中office 2009个人版在awesome下正常显示

01月 10th, 2009 by yhlfh

在awesome中永中office 2009个人版显示不出来。到永中论坛上求助,有人说是java toolkit的问题。于是我export了变量,但问题依旧。

仔细查看/usr/bin/eio文件发现,其实命令开始就已经指定好了环境变量。这样问题就变得简单了。直接编辑/usr/bin/eio文件,把没用的行都注释掉,变成下面这样:

#!/bin/bash
#if test -n "$(grep  "Ubuntu"  /proc/version)"; then
   export AWT_TOOLKIT=MToolkit
#else
#   export AWT_TOOLKIT=XToolkit
#fi
exec 4<&0 0</etc/Evermore/EIOffice/installinfo.cfg
read line1
exec 0/dev/null

再在awesome下运行永中,界面就正常了。

永中论坛上的帖子见这里:http://forum.evermoresw.com/thread-14597-1-1.html