#34 change desktop file Categories

Unstable (example)
closed-fixed
nobody
None
5
2013-08-01
2012-10-23
No

New Desktop Menu Specification[1] finally has appropriate Categories for map applications: Utility;Maps.

[1] http://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#main-category-registry

Discussion

  • Rob Norris

    Rob Norris - 2012-10-24

    Good spot!

    However I still think using the Science categories is best, so IMHO it should be:

    Categories=Science;Maps;Geography;GTK

     
  • Stanislav Brabec

    Science;Maps;Geography;GTK is a legal combination in the new specification as well. (Education is no more mandatory for Science.)

    It can appear twice in the menu then: In Science->Geography and Science->Maps.

    If you want to place it to Science->Geography sub-menu, use Science;Geography;GTK. If you want to place it to Science->Maps, then use Science;Maps;GTK.

    Notes:

    1) Location in the menu depends on XDG menu layout definition in distro or desktop environment. The menu system can look completely different, but it always use Categories for placement of your applications.

    2) The new specification was released 2012-10-11. It may take some time until distros will include spec changes to their menu system.

    3) XDG bugzilla references:

    menu-spec Categories: clash of Science and Education => new main Category
    https://bugs.freedesktop.org/show_bug.cgi?id=20186

    menu-spec Categories: mapping, navigation, GPS...
    https://bugs.freedesktop.org/show_bug.cgi?id=20187

     
  • Rob Norris

    Rob Norris - 2012-10-25

    Ah, you seem fairly well versed in this! ;)

    Education;Science;Maps;Geography;GTK; is probably the best as that should cover the various Desktop Environment versions that exist / installed on a users machine.

    XFCE 4.10 only has Education (this is where JOSM is). Gnome 2.30+ had Science IIRC.

    Of course for Unity / Gnome3 / Win7/8 these categories are not so relevant - as one can type into the 'search/run' area - just like I do on the command line...

     
  • Stanislav Brabec

    There was a "bug" in the Desktop menu specification: Science could be used only as an Additional Category to Education. It caused mixing of educational an scientific software. Now Science can be used without Education keyword, so menu designers can split educational and scientific software. That is why the current viking.desktop contains "Education".

    Keyword "Maps" was missing at all, but many software projects used it unofficially. Application appeared in "Other" submenu then. That is why the current viking.desktop does not contain "Maps".

    Now both problems are fixed, so feel free to use "GTK;Science;Maps;Geography;". Menu systems not updated for the new menu specification may place it incorrectly, but next desktop version should be OK.

     
  • Rob Norris

    Rob Norris - 2012-10-25

    Change as discussed applied to the git master

     
  • Rob Norris

    Rob Norris - 2012-10-25
    • status: open --> open-accepted
     
  • Rob Norris

    Rob Norris - 2012-10-25
    • status: open-accepted --> pending-accepted
     
  • Rob Norris

    Rob Norris - 2013-08-01
    • status: pending-accepted --> closed-fixed
    • Group: --> Unstable (example)
     

Log in to post a comment.