手动创建快捷方式到 Unity 启动器

ubuntu  以往要在ubuntu右邊的unity啟動器新增程式捷徑如果是已安裝的應用程式,You just need to right-click and select 'Lock to Launcher' after the program runs,For general executable files, you need to right-click on the desktop and select 'Add to Launcher',Then manually drag this shortcut to the taskbar,But after upgrading to 12.10,Right-clicking on the desktop can no longer find the 'Add Launcher' option,本來想透過"myunity"這隻程式來達到,But myunity does not support 12.10 either,So have to make it fully manually。

 

  首先就是要建立一個啟動圖示新增一個空白檔案,檔案內容如下:

[桌面条目]
姓名=gyazo                                                         //名称
通用名称=截屏并上传.                             //程序说明
执行=/home/anson/gyazo                                             //执行文件路径
评论=                                                           //注释
图标=/usr/share/icons/Humanity/类别/48/应用程序-ruby.svg //图标路径
类型=应用程序                                                   //类型

  存檔時將副檔名存成.desktop並將其設為可執行

接着可以将此文件拖到启动器即可。

 

【相關連結】

留下回复

您的电子邮件地址不会被公开. 必填项已标注 *

本网站使用 Akismet 来减少垃圾评论. 了解您的评论数据如何被处理.