[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#537737: Please gives warning about 'OnlyShowIn=' in .desktop file.



Russ Allbery wrote:
> This is an intended and supported feature of .desktop files for
> applications that are so deeply integrated into one particular desktop
> environment that they don't work in other environments.  The presence of
> the tag is not in and of itself a bug.

I checked *all* the packages in debian:
    2540 .desktop files currently in debian
    29   .desktop files are autostart file

12 autostart .desktop files that I listed earlier use ShowOnlyIn= or
NotShowIn= in the autostart file. Only 5 of them do the hinting properly.

So it's very uncommon to need ShowOnlyIn= or NotShowIn= in .desktop files.

> I don't think it's appropriate for Lintian to say "no, your stuff really
> would work with other desktops" based on no information.  Sometimes the
> programs really won't.  It looks to me like you've identified bugs in
> those specific applications and should file bugs against them for having
> incorrect .desktop files.

I'd file appropriate bug report to packages which did not hinting that
properly on the earlier list. But it seems I have to check this again
and again time to time from now without the help from lintian.

It would be nice if lintian can just check and report warning. If any of
the uncommon applications that are so deeply integrated into one
particular desktop can just ignore or overwritten the lintian warning.

Best regards,

-Andrew



Reply to: