ubuntu安裝eclipse and 加入到啓動器

    ubuntu安裝eclipse仍是挺簡單的,只要去官網下載對應版本解壓就好。php

    仍是詳細描述怎麼將eclipse添加到啓動器:  
java

    ubuntu dash home中每一個圖標對應/usr/share/applications當中的一個配置文件(文件名後綴爲.desktop)。因此要在dash home中添加一個自定義程序啓動器,須要在該文件目錄下建立對應的配置文件。至於配置文件的語法,參考該目錄下的配置文件便可明白。ubuntu

一、在/usr/share/applications目錄下建立eclipse啓動器配置文件app

cd /usr/share/applications
sudo gedit eclipse.desktop

二、編輯eclipe.desktop並保存。簡單的配置示例
eclipse

#!/usr/bin/envxdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[zh_CN]=/home/xxx/Software/eclipse/icon.xpm
Name[zh_CN]=Eclipse
Exec=/home/xx/Software/eclipse/eclipse
Comment[zh_CN]=Eclipse
Name=Eclipse
Comment=Eclipse
Icon=/home/xxx/Software/eclipse/icon.xpm

三、eclipse啓動器就添加到dash home中了
spa

相關文章
相關標籤/搜索