|
|
发表于 2005-1-15 15:37:29
|
显示全部楼层
Post by koala114
怎么让它像win下一样能在任务栏里显示图表标?
试试吧:
如何添加任务栏图标
Linux_Tray
Before you continue, please ensure you are using a version of Mercury greater than 1708 Beta-09a (Preferably 1708 final)
Notes
The tray only works with compatable Window Managers ( Known to be compatable are: Gnome / KDE / Fluxbox )
For the simplicity of this how-to, programdir is taken to be /usr/share/Mercury
Step 1 : Checking the tray is enabled (For clean installs after 1708, it is usually safe to ignore this step)
a.
Open up globalsettings.xml in your favourite text editor
b.
Look for a line similar to this: <Setting name="Use.tray">false</Setting>
and ensure it looks like this: <Setting name="Use.tray">true</Setting>
Step 2 : Copying the required libraries to the right place
1a.
Copy libtray.so from programdir to ${JAVA_HOME}/lib
#> cp /usr/share/Mercury/libtray.so ${JAVA_HOME}/lib
If you lack the permissions to do this, you will need to modify the Mercury script in programdir
2a.
Open up programdir/Mercury in your favourite text editor
2b.
After the first line (#!/bin/sh) write the following:
options="-Djava.library.path=/usr/share/Mercury"
Step 3 : Load up Mercury
Hopefully if the above steps went well, all should be working. If not, please post any errorlogs you may have on the forum and hopefully the problem will be solved. |
|