Unity的發展越來越好了,個人感覺從Ubuntu12.04開始,Unity終於可以說是可以用了。接下來就講講在Unity中創建快捷方式並添加到Launch Panel。
拿eclipse舉例,從eclipse.org下載好eclipse后,解壓到usr/bin/eclipse中,執行以下命令創建一個App快捷方式:
sudo gedit /usr/share/applications/eclipse.desktop
在gedit中輸入以下代碼:
[Desktop Entry] Name=Eclipse Platform Comment=Eclipse IDE Exec=/usr/bin/eclipse/eclipse Icon=/usr/bin/eclipse/icon.xpm Terminal=false StartupNotify=true Type=Application Categories=Development;
這時進入到/usr/bin/eclipse中,雙擊eclipse相應圖標,如果想在Lancher現實,則在Launch Panel右擊程序對應程序點選Lock to Launcher。