0

if you made up an application in linux you will get a blank ugly icon but if i wanted to add an icon without going and make a desktop entry , is it possible ? if i uploaded my portable app to the internet i would like that users see the icon merged to my portable app ! :) Thanks

4

2 回答 2

0

Linux 上的大多数桌面环境都遵循freedesktop.org 桌面条目规范的应用程序描述和图标。您需要在其中一个XDG 目录中(特别是在其中一个目录中)有一个单独.desktop的文件,该文件将列出一个图标(这是另一个目录中的图像文件)。applications$XDG_DATA_DIRS

于 2012-07-28T21:16:05.457 回答
0

对于脚本可能不是,但对于在 Gnome (nautilus) 下看到的 ELF 二进制文件,您可以尝试 elfres http://www.compholio.com/elfres/

于 2012-07-28T20:19:42.777 回答