How to set my application's desktop icon for Linux: KDE, Gnome etc?

前端 未结 3 1048
遥遥无期
遥遥无期 2021-02-05 20:36

I have a cross platform program that runs on Windows, Linux and Macintosh. My windows version has an Icon but I don\'t know how to make have one for my Linux build. Is there a s

3条回答
  •  没有蜡笔的小新
    2021-02-05 20:54

    For Gnome and Kde, you would probably want to include a desktop file with your app that defines how it will be launched. The specification can be found here. If you have an installer included with your app, you would probably want to have it generate this desktop file and put it in the right places to make menu entries and whatnot

提交回复
热议问题