Ubuntu 下建立eclipse的捷徑

來源:互聯網
上載者:User

標籤:des   style   blog   http   io   ar   color   sp   strong   

前提:在成功安裝好eclipse的請提下,我們才進行下一步的操作,將安裝目錄下的eclipse的捷徑發送到案頭:

1.填寫eclipse.desktop檔案:sudo gedit /usr/share/applications/eclipse.desktop

[DesktopEntry]
Encoding=UTF-8
Name=eclipse
Comment=Eclipse IDE
Exec=/usr/local/eclipse/eclipse/eclipse
Icon=/usr/local/eclipse/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;

其中Exec後面填寫的是執行檔案的路徑,Icon後面填寫的是表徵圖的路徑,所以每個人的eclipse的解壓縮路徑不同,就進行相應的更改即可;

2.關於/usr/share/applications檔案夾:這是一個關於應用程式捷徑的檔案夾,裡面存放的都是應用程式的desktop檔案,這裡,我們需要將eclipse.desktop拷貝到案頭檔案夾中:進入/usr/share/applications檔案夾後,sudo cp eclipse.desktop /home/geeks/案頭/

3.給剛剛拷到案頭的這個檔案賦權:進入案頭檔案夾後,sudo chmod u+x eclipse.desktop

現在顯示案頭看看,是不是已經有eclipse的捷徑存在了呢?

from:http://www.cnblogs.com/qq19831030qq/archive/2012/05/09/2491275.html

Ubuntu 下建立eclipse的捷徑

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.