.desktop file doesn't specify a category

Bug #501126 reported by Siegfried Gevatter
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnusim8085 (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: gnusim8085

The .desktop file for gnusim8085 doesn't specify a category and so shows up as "Others". I'd make more sense for it to be listed under Development.

Please add the following line to file /usr/share/applications/GNUSim8085.desktop:

Categories=Development;

Thanks

Changed in gnusim8085 (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Which version of Ubuntu are you using? In karmic there is a patch which adds the appropriate categories in .desktop file when building the package.

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Bug 501126] Re: .desktop file doesn't specify a category

1.3.5-1ubuntu1

[rainct, ~]$ apt-cache madison gnusim8085 | grep lucid
gnusim8085 | 1.3.5-1ubuntu1 | http://mirror.pacific.net.au
lucid/universe Sources
[rainct, ~]$ dpkg -l | grep gnusim8085
ii gnusim8085 1.3.5-1ubuntu1
                             Graphical Intel 8085 simulator, assembler
and debugger
[rainct, ~]$ cat /usr/share/applications/GNUSim8085.desktop
[Desktop Entry]
Name=GNUSim8085
Comment=Intel 8085 microprocessor simulator
Exec=gnusim8085
Icon=/usr/share/pixmaps/gnusim8085/gnusim8085_icon.png
Terminal=false
Type=Application

I've just updated to 1.3.5-2 (from Debian) and there it's fixed, but
the line is missing a semi-colon at the end (that's not a big deal
though, gnome-panel understands it anyways and I suppose the same is
true for most other panels)

[rainct, ~]$ cat /usr/share/applications/GNUSim8085.desktop | grep Categories
Categories=GNOME;GTK;Development
[rainct, ~]$ desktop-file-validate /usr/share/applications/GNUSim8085.desktop
/usr/share/applications/GNUSim8085.desktop: error: value
"GNOME;GTK;Development" for string list key "Categories" in group
"Desktop Entry" does not have a semicolon (';') as trailing character

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Same patch is present in 1.3.5-1ubuntu1 as well. Looks like I messed up something else in merging.

In any case this will get fixed when 1.3.5-2 is synced to lucid. Also this is now fixed upstream so future versions will never have problems.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

This should be fixed in latest version in Lucid. Can you please confirm?

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

This is fixed in Ubuntu 10.04.

Changed in gnusim8085 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.