以Luke为例,在桌面创建启动器。
1.安装软件:apt-get install --no-install-recommends gnome-panel
2.命令:gnome-desktop-item-edit ~/ --create-new 可打开启动器创建窗口。
其中,~/为启动器保存目录,注意与后面内容有空格隔开。
3.填入内容。由于Luke为jar文件,加入启动.jar文件的命令即可:java -jar /usr/nutch/lukeall-0.9.9.jar
4.拷贝启动器到桌面即可。