Bug 13345 - Clarification needed for OnlyShowIn and empty list
Summary: Clarification needed for OnlyShowIn and empty list
Alias: None
Product: Specifications
Classification: Unclassified
Component: desktop-entry (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Allison Lortie (desrt)
QA Contact:
Depends on:
Reported: 2007-11-22 06:47 UTC by Frederic Crozat
Modified: 2019-02-16 12:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Frederic Crozat 2007-11-22 06:47:38 UTC
There is currently no way to hide a .desktop file from both menu in desktop environment AND menu editors (NoDisplay only hides in desktop environment).

Using OnlyShowIn=; is not considered as valid by latest version of desktop-file-validate.

So, we should either enable this case or add a None keyword (or X-None for backward compatibility maybe).
Comment 1 Vincent Untz 2015-09-18 09:41:51 UTC
Sorry for the noise, reassigning to new (since 2 years) maintainers (Ryan & David).
Comment 2 David Faure 2016-08-20 09:08:25 UTC
Well, one can use Hidden=true to hide from *everything*, but I suppose you still wanted the mime-apps association to work...

I'm OK with adding support for OnlyShowIn=, but I need a patch for desktop-file-utils.

(I just checked and OnlyShowIn=; should work without modifications in the KDE implementation.)
Comment 3 GitLab Migration User 2019-02-16 12:26:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/desktop-file-utils/issues/43.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.