2013年6月10日 星期一

如何增加程式捷徑到lubuntu LXPanel的Available Applications裡

cd /usr/share/applications
新增.desktop檔案,如test.desktop
編輯test.desktop檔案,如下:

[Desktop Entry]
Name=test
Comment=test
Exec=/opt/test
Icon=serpentine
Terminal=false
Type=Application
Encoding=UTF-8
Categories=GTK;Utility;

然後可以在Accessories裡看到test

可參考其他.desktop檔案的寫法

也可放置在~/.local/share/applications/

沒有留言:

張貼留言