I post this here, as this is where it came up. It could as well go into the 1.3.6 thread, or featuere requests.
Then, here are som additional suggestions for enhancing the opencpn.desktop files:
OpenCPN shows up in the "lost and found" section of the menu (in KDE at least) because the
desktop file is missing a proper category.
To fix, add a value:
Code:
Categories=Navigation;Chart;Utility
This will put openCPN int the "Utilities" section of the desktop menu. It is possible, by installing two additional files, to create a more specific desktop menu category, for example "Navigation". Maybe it would be interresting to cooperate with other linux navigation softwares on that? If someone is interrested, I can easily produce working files for this.
Adding values for the GenericName and Comment fields would enhance usability. In KDE the GenericName - describing the functionality of the application - value is displayed in the desktop menu, sometimes as the main string. It can be translated, so instead of seeing "openCPN", a use could see the string "Marine Chart Plotter" in his own language. Nice, right?
Code:
GenericName=Marine Chart Plotter
GenericName[da]=Søkortplotter
The comment field is not used in KDE afaik, but it may be in the future, and it may be in other environments.
Code:
Comment=Navigation and planning tool for sailors
Comment[da]=Navigations- og planlægningsredskab for sejlere
My fully enhanced and cleaned up opencpn.desktop looks like this:
Code:
[Desktop Entry]
Name=OpenCPN
Name[en_US]=OpenCPN
GenericName=Marine Chart Plotter
GenericName[da]=Søkortplotter
Comment=Navigation and planning tool for sailors
Comment[da]=Navigations- og planlægningsredskab for sejlere
Exec=opencpn
Icon=opencpn
Categories=Navigation;Chart;Utility
StartupNotify=true
References:
Desktop Menu Specification
Desktop Entry Specification
Anders