Re: Lintian check for missing desktop files?
On Fri, Mar 04, 2011 at 01:49:43PM +0100, Josselin Mouette wrote:
> Le vendredi 04 mars 2011 à 12:30 +0000, Ben Hutchings a écrit :
> > On Fri, 2011-03-04 at 09:04 +0100, Josselin Mouette wrote:
> > > Le jeudi 03 mars 2011 à 22:56 +0000, Ben Hutchings a écrit :
> > > > Surely they can filter out entries with Terminal: true?
> > >
> > > Yeah sure, and leave users without the possibility to add a launcher for
> > > a terminal application?
> > You can surely distinguish user-added launchers from package-provided
> > launchers.
> Not easily. Freedesktop specifies that there is a list of directories in
> which to search, and it doesn’t sound right (nor simple) to make
> exceptions based on pathnames.
> > > The correct solution is to use NoDisplay=true for such applications.
> > > This way they appear in the menu editor and can be enabled, but are not
> > > displayed in the menu by default.
> > Could you arrange to interpret Terminal=true as NoDisplay=true, then?
> Doing that would mean it wouldn’t be possible to enable the application
> in the menu editor.
I thought you said it was possible to override NoDisplay=true in the menu
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus