On 03/08/2011 04:02 AM, Ilya Chernykh wrote:
On Tuesday 08 March 2011 05:54:37 David C. Rankin
wrote:
[Desktop Entry]
<snip>
X-DCOP-ServiceType=Unique
Categories=Qt;KDE;Network;X-KDE-More;Office;Email;
What would I change? 'Categories='? How do I know what category I need to
specify to put this app in kmenu->Internet->Mail? (or just kmenu->Interent)
Is there a legend somewhere that tells me what category goes where?
In this case I think you should just remove X-KDE-More.
Ah, hah!
For Trinity, it looks like the main applications.menu file defining categories
is: /opt/trinity/etc/xdg/menus/applications.menu. Current names are:
<Name>Applications</Name>
<Name>Applications</Name>
<Name>Development</Name>
<Name>X-KDE-KDevelopIDE</Name>
<Name>Translation</Name>
<Name>Web Development</Name>
<Name>Science</Name>
<Name>Edutainment</Name>
<Name>Languages</Name>
<Name>Mathematics</Name>
<Name>Miscellaneous</Name>
<Name>Science</Name>
<Name>Tools</Name>
<Name>Games</Name>
<Name>Arcade</Name>
<Name>Board</Name>
<Name>Card</Name>
<Name>Kidsgames</Name>
<Name>TacticStrategy</Name>
<Name>Toys</Name>
<Name>Graphics</Name>
<Name>More</Name>
<Name>Internet</Name>
<Name>Terminal</Name>
<Name>More</Name>
<Name>Multimedia</Name>
<Name>More</Name>
<Name>Office</Name>
<Name>More</Name>
<Name>Settingsmenu</Name>
<Name>System</Name>
<Name>More</Name>
<Name>ScreenSavers</Name>
<Name>Terminal</Name>
<Name>Utilities</Name>
<Name>XUtilities</Name>
<Name>More</Name>
<Name>Debian</Name>
While I'm looking at this - do we want to go ahead a add/cleanup a few things
in the basic application.menu in kdelibs? Like adding submenus for kruler, etc.
in Graphics/Tools or Graphics/Utilities to make a place to put the small graphic
utilities like kruler, kcolorchooser, kiconedit, etc.. so they don't clutter the
main 'Graphics' menu?
Looking at the menu specification and all the xzy apps under Utilities, it
means all the current XUtilities in kmenu->Utilities are misplaced (xfw, xfi,
xfp, xfm, etc.. should all be in XUtilites not Utilities) Do we want to fix this
too?
I have the first patch done for kruler.desktop. (Attached) Hold off applying
it until we get a decision on creating Graphics/Tools or Graphics/Utilities (I
prefer Graphics/Utilities) before applying. I'll change it again if we want it
in a submenu.
Links for kmenu and desktop file reference:
http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.…
--
David C. Rankin, J.D.,P.E.