<p><strong>Ubuntu下的eclipse不能顯示工作臺的File Edit Source 等菜單項</strong></p><p><strong>可以寫一個簡單的腳本來解決,新建一個文本,後綴爲xx.sh</strong></p><p><strong>
</strong></p>
#!/bin/bash
export UBUNTU_MENUPROXY=0
/home/fonxian/Software/eclipse/eclipse
最後的一行/home......是eclipse的所在的目錄
在終端 輸入 chmod a+x xx.sh
然後輸入./xx.sh,就可以打開eclipse,並且eclipse就會顯示出菜單項。以後也可以通過這個腳本作爲快捷啓動方式