FeralInteractive / gamemode

Optimise Linux system performance on demand
BSD 3-Clause "New" or "Revised" License
4.58k stars 182 forks source link

icon for metainfo #232

Open stephanlachnit opened 4 years ago

stephanlachnit commented 4 years ago

gamemode should provide a metainfo file, so it can be easily found in Gnome Software, KDE Discover, etc. It also would be nice to have an icon for it, even if it's not strictly necessary.

afayaz-feral commented 4 years ago

Merged #233, seems fine since the text is based on the readme. Leaving this open for the possibility of adding an icon.

esmithferal commented 4 years ago

@stephanlachnit could you possibly link to any specifications/requirements for the image in this issue? A brief look for any documentation doesn't seem to have any exact information on the image format, resolutions or ratio that would work best.

Most references usually state a 1024x1024 alpha png file with smaller variants as needed is best practise but if you have a suitable best practise link that would be good.

stephanlachnit commented 4 years ago

https://www.freedesktop.org/software/appstream/metainfocreator/#/consoleapp suggests an svg installed in the hicolor theme, which then can be used with the type=stock setting. It doesn't need to be an svg though, the normal hicolor behavior applies, i. e. pngs in various sizes inside the /usr/share/icons/hicolor/<size>/apps folder. The (in this case not particularly helpful) specs can be found here: https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

esmithferal commented 4 years ago

Thanks, that's similar to what I expected based on our game icons but it's good to have reference links.

stephanlachnit commented 4 years ago

Btw if it's not going to be an svg, it's probably better to use type=local or type=remote for the icon (see here), since I don't see the point installing icons in different sizes when it's only needed for Gnome Software etc.

afayaz-feral commented 4 years ago

For the sake of transparency, it's worth mentioning that the Feral Art team have this task on their to-do list. We aim to have something for the next milestone/RC.