Hi Eriberto!

On 07.02.2014 14:06, Eriberto wrote:
> Hi Markus!
> 
> Thanks a lot for your collaboration with my package.
> 
> Can you explain me why I should provide desktop icons and entries to a
> pure text/console program?

Sure. Pacman4console uses the ncurses library and is thus a game that is
simply played with a termial. In contrast to other console applications
the game takes over control over the whole terminal. By providing a
desktop and menu file and icons you improve the visibility of your game
on graphical desktop environments. A lot of users will still just type
in the name of the game in their preferred console but many others will
launch the game from a desktop menu. There is also the benefit that
people don't forget that they installed the game once. A desktop entry
will remind them about it.

Please check out my package "empire" how I handled that. An example
desktop file could look like this

[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
Name=VMS Empire
GenericName=Empire
Categories=Game;StrategyGame;
Keywords=strategy;text;ncurses;terminal;console;game;war;armies;
Exec=empire
Icon=empire-logo
Comment=war game of the century
Comment[de]=Kriegsspiel des Jahrhunderts

An example menu file look like this:

?package(empire):needs="text" \
    section="Games/Strategy" \
    title="Empire" \
    longtitle="Empire - The Wargame of the Century" \
    command="/usr/games/empire" \
    icon="/usr/share/pixmaps/empire-logo.xpm"


Regards,

Markus



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to