將eclipse快捷方式添加到左側快捷欄

本文將講述如何將eclipse快捷方式添加到左側快捷欄 

1. sudo vim /usr/share/applications/eclipse.desktop 

2.添加如下內容到eclipse.desktop中

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE 
Exec=/home/hunter/tools/adt-bundle/eclipse/eclipse
Icon=/home/hunter/tools/adt-bundle/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
其中/home/hunter/tools/adt-bundle/eclipse/爲eclipse所在路徑


3.修改權限

sudo chmod a+x /usr/share/applications/eclipse.desktop


4.將圖標拖到左邊導航欄

cd /usr/share/applications/
nautilus .
找到eclipse圖標,拖到左側
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章