Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 421517

Summary: x11-terms/mlterm-3.0.11: mlterm-mlterm.desktop is not compatible with freedesktop.org standard
Product: Gentoo Linux Reporter: Jekyll Wu <adaptee>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 444206    

Description Jekyll Wu 2012-06-17 03:09:16 UTC
$ desktop-file-validate /usr/share/applications/mlterm-mlterm.desktop

/usr/share/applications/mlterm-mlterm.desktop: error: (will be fatal in the future): value "TerminalEmulator" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: System
/usr/share/applications/mlterm-mlterm.desktop: error: (will be fatal in the future): value "TerminalEmulator;" for key "Categories" in group "Desktop Entry" does not contain a registered main category

This is because urxvt-rxvt-unicode.desktop contains this line: 

   Categories=TerminalEmulator;

That line has two problems: 

1. it does not contain any main category. So it would be shown in the "Lost & Found" menu under KDE
2. FDO suggests[1] adding the "System" category when the "TerminalEmulator" additional category is used.

To fix it, just change that line to :

   Categories=System;TerminalEmulator;


[1] http://standards.freedesktop.org/menu-spec/latest/apa.html
Comment 1 Jekyll Wu 2012-06-21 02:38:54 UTC
Also see bug 421515, a similar request for rxvt-unicode .
Comment 2 Naohiro Aota gentoo-dev 2012-06-21 13:46:56 UTC
Fixd in the tree. Thanks.