Discussion:
Need help to remove a linitian warning "desktop-command-not-in-package usr/share/applications/package.desktop x-www-browser"
Laurent Destailleur (eldy)
2011-07-21 22:31:18 UTC
Permalink
I have a warning reported by lintian on a webapps package.
I can't find a solution to remove it.

This is message:
"desktop-command-not-in-package usr/share/applications/package.desktop
x-www-browser"

My package is a webapp package and i added a .desktop file to add icon
into menu.
The line added in .desktop file is
Exec=x-www-browser http://localhost/mywebapp

But after packaging lintian says x-www-browser is not a command.
Does someone can tell me how i can fix such a warning. Is it a package
to add into Requires that contains this command ? Or is it the value
x-www-browser that is wrong ?
--
Eldy (Laurent Destailleur).
---------------------------------------------------------------
EMail: ***@destailleur.fr
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: ***@destailleur.fr
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: ***@destailleur.fr
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
--
To UNSUBSCRIBE, email to debian-webapps-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@destailleur.fr
Tanguy Ortolo
2011-07-22 16:16:55 UTC
Permalink
Post by Laurent Destailleur (eldy)
"desktop-command-not-in-package
usr/share/applications/package.desktop x-www-browser"
My package is a webapp package and i added a .desktop file to add
icon into menu.
The line added in .desktop file is
Exec=x-www-browser http://localhost/mywebapp
If it is for a desktop use, I would recommend xdg-open rather than
x-www-browser, adding a Recommends: xdg-utils to your control file.

But x-www-browser also makes sense; it is just another similar wrapper.
The problem is that no package, either real or virtual, provides it. For
instance, iceweasel, which provides an x-www-browser alternative, only
Provides: www-browser, gnome-www-browser.
Post by Laurent Destailleur (eldy)
But after packaging lintian says x-www-browser is not a command.
Does someone can tell me how i can fix such a warning. Is it a
package to add into Requires that contains this command ? Or is it
the value x-www-browser that is wrong ?
I think it is not, but it had the problem I mentionned above. xdg-open
does not have this problem because it is provided by a package.
--
,--.
: /` ) Tanguy Ortolo <xmpp:***@ortolo.eu> <irc://irc.oftc.net/Elessar>
| `-' Debian Maintainer
\_
Loading...