On Mon, Jul 16, 2007 at 08:09:28PM +0200, Josselin Mouette wrote: > Le lundi 16 juillet 2007 à 20:01 +0200, Javier Fernández-Sanguino Peña a > écrit : > > Check this: > > $ find . -name "*desktop" -exec egrep "Categories.*Game.*" \{\} \; | wc -l > > 54 > > > > I get all these 54 items in GNOME's Game menu with no category division. > > And, both GNOME *and* KDE *and* Desktop-agnostic games are shown there. > > You should probably file bugs against game packages that provide > uncategorized desktop entries. The GNOME menu should sort them out in > submenus if this is done correctly. It looks to me like they are properly categorised and its the GNOME menu which is misbehaving: $ find . -name "*desktop" -exec egrep "Categories.*Game.*" \{\} \; | \ perl -ne 'while ($_ ne "") {if (/([\-\w]+);(.*)/) {print "$1\n"; $_=$2;} \ else { $_= ""; }}' | sort | uniq -c |sort -nr 55 Game 31 Qt 31 KDE 18 GNOME 15 GTK 13 ArcadeGame 11 StrategyGame 11 BoardGame 7 LogicGame 6 Application 5 CardGame 1 X-KDE-KidsGame 1 GamesAction 1 GameAction 1 BlocksGame 1 ActionGames 1 ActionGame There are some typos there too ('GameAction', 'ActionGame') which I'm going to file bugs now. Javier
Attachment:
signature.asc
Description: Digital signature