Some .desktop files don't have OnlyShowIn=KDE

Gustavo Pichorim Boiko gustavo.boiko at kdemail.net
Fri Oct 22 18:01:51 BST 2004


On Friday 22 October 2004 12:31, Taj Morton wrote:
> Hi All,
> I've been doing some work with Autopackage <http://www.autopackage.org>,
> and found some bugs in .desktop file handeling with menus. Some (most?)
> are not valid with the fdo menu-spec (used desktop-file-validate). Most
> are missing the ; at the end of Categories, and Terminal is set to 0,
> instead of false.

Yes, that should be fixed.

> But...the real problem is this:
> Categories=Qt;KDE;Core
> (KConfig.desktop)
>
> Without the KDE entry, .desktop files with Core don't show up in the
> root menu. That's not compliant with the fdo spec... Actually, the
> OnlyShowIn key should be used (OnlyShowIn=KDE) and Categories=Core;.
> (Gnome does this). Is there some reason which I'm not aware of for this
> Feature/Bug?

It is compliant with fdo spec. If an application is a KDE application, it 
should have KDE in its Categories property. If it is also a core application, 
it should also have Core on its Categories. The OnlyShowIn key is used to 
tell wheter to show or not to show the entry in other desktop environments 
than the specified in OnlyShowIn.

But you are right, non-KDE core applications are not shown in KDE menu. And in 
my opinion this is right, since those applications are intended to be used in 
their native desktop environments.

For the non-core applications that doesn't match any other menu entry, there 
is a menu called Applications in which all unallocated applications are 
shown.

[]'s
-- 
Gustavo Pichorim Boiko
----------------------------------------
KDE Developer
Computer Science - UFPR
----------------------------------------
gustavo.boiko @ kdemail . net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041022/e6958fd0/attachment.sig>


More information about the kde-core-devel mailing list