Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install desktop file and icons on Linux systems #10

Closed
akien-mga opened this issue Jul 4, 2015 · 1 comment
Closed

Install desktop file and icons on Linux systems #10

akien-mga opened this issue Jul 4, 2015 · 1 comment

Comments

@akien-mga
Copy link
Contributor

Here's the desktop file I'm using for Mageia's wizznic package:

[Desktop Entry]
Name=Wizznic
Comment=Brick-matching puzzle game
GenericName=Puzzle game
Exec=wizznic
Icon=wizznic
Type=Application
Categories=Game;LogicGame;

This file should be installed as /usr/share/applications/wizznic.desktop.

The Icon=wizznic part will only work if an icon named wizznic.png (or wizznic.svg) is provided in at least one of these locations:

  • /usr/share/icons/hicolor/*/apps
  • /usr/share/icons
  • /usr/share/pixmaps
    The "modern" way is to use the hicolor theme, so you could for example install data/wmicon.png to /usr/share/icons/hicolor/32x32/apps/wizznic.png

If high-res icons are provided (see #9), you can also install them in the corresponding folders in the hicolor theme (e.g. "128x128" or "scalable").

@akien-mga
Copy link
Contributor Author

Note that I might do a pull request to implement that if you like the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants