#833268 task-lxde-desktop: LXDE desktop does not include a web browser

Package:
lxpanel
Source:
lxpanel
Description:
LXDE panel
Submitter:
Jonathan Dowland
Date:
2021-02-22 14:21:06 UTC
Severity:
important
#833268#5
Date:
2016-08-02 10:42:27 UTC
From:
To:
Package: task-lxde-desktop
Version: 3.31+deb8u1
Severity: important
X-Debbugs-CC: pkg-maintainers@lists.alioth.debian.org
Control: clone -1 -2 -3
Control: retitle -2 LXDE: screenshot key bound to launch gnome-screenshot, no dependency
Control: severity -2 normal
Control: retitle -3 LXDE: poor text wrapping for Wastebasket icon in default install
Control: severity -3 minor

I've just installed an LXDE desktop via task-lxde-desktop/the LXDE d-i
jessie LXDE spin CD1 with no networking during install.

The resulting desktop does not have a graphical web browser installed.
www-browser is being provided by w3m. Clicking on the web browser in
LXDE results in a pop-up

	"invalid desktop entry file: '/usr/share/applications/lxde-x-www-browser.desktop'

I discovered this because I noticed that the desktop had one icon on it
labelled "Wastebasket" but the text was wrapped on the last character, e.g.
"Wastebaske\nt". I wanted to report this as an unfortunate wrapping.

So I tried to take a screenshot by hitting "print screen". This resulted in a
pop up complaining that gnome-screenshot did not exist. I would argue this
was a missing dependency of the LXDE desktop task if it's bound to the print
screen key by default.

So I thought I'd do a quick web search to find an alternative way or package
to install to take a screenshot of the desktop, hence I clicked on the web
browser icon and discovered the above.

The above are all visible here:

https://jmtd.net/tmp/lxde.png

#833268#14
Date:
2018-09-30 18:58:48 UTC
From:
To:
Jonathan Dowland <jmtd@debian.org> wrote:

This has been fixed in the meantime, lxde now recommends
firefox-esr | firefox | www-browser, and recommends are installed by default.

So closing this bug.


Holger

#833268#19
Date:
2018-10-01 13:22:02 UTC
From:
To:
reopen 833268
found 833268 3.39
thanks

Hi Holger,

Thanks for taking a look at this but you have misunderstood the bug
report. www-browser was satisfied at the time, by w3m, which does not
provide x-www-browser (and there's no assertion anywhere that Provides:
www-browser means ships an alternative for x-www-browser)

The problem is there doesn't seem to be something like "x-www-browser"
virtual package name corresponding to the alternatives name. Chromium,
firefox, firefox-esr and epiphany provide "gnome-www-browser" which is
close, but obviously excludes (e.g.) konqueror, which merely provides
"info-browser, man-browser, www-browser".

The proper fix here, distribution wide, is to rationalise the virtual
package names for GUI browser packages. (A starting point might be to
post about the issue to -desktop, and I might do that.)

But for LXDE, the issue would also not occur if taskbar icons
configured to point at not-existent .desktop URIs were not drawn or
de-configured on session start-up.

#833268#30
Date:
2018-10-01 19:06:39 UTC
From:
To:
Hi,

Jonathan Dowland <jmtd@debian.org> wrote:

Maybe I tried to understand it as a bug against tasksel?

Sorry, but you mix-up several problems into one bugreport, which are all
completely unrelated to the tasksel package. There is nothing that can
be done against all this in tasksel.
So there need to be other packages to be found, to file this against.


Holger

#833268#35
Date:
2018-10-01 19:35:25 UTC
From:
To:
I agree, src:tasksel is not where this should be filed or fixed.
Whichever LXDE package ships the actual shortcut icon to launch
x-www-browser would be the culprit package. I'm no more an LXDE
packaging expert now than I was when I filed this, two years ago,
but I will make another effort to find a more appropriate package
and reassign.

#833268#40
Date:
2018-10-01 19:37:28 UTC
From:
To:
Hi,

Holger Wansing <hwansing@mailbox.org> wrote:
	"LXDE desktop does not include a web browser."

So I understood it all correctly? The problem in the title is indeed fixed.


Holger

#833268#45
Date:
2018-10-02 07:53:23 UTC
From:
To:

That's not an accurate summary of the problem. If I were to try and
summarize it as succinctly as possible, it would be

    "LXDE desktop include an icon to launch a graphical web browser,
    but does not depend upon one."

And that's still the situation since the virtual package www-browser ≠ a
graphical one, since it can be satisfied by w3m or links and others.

#833268#50
Date:
2018-12-31 15:28:38 UTC
From:
To:
Jonathan Dowland <jmtd@debian.org> wrote:

Therefore forwarding to LXDE people.

@lxde: if you want to get that solved by a change in the xlde task, let me
know.


Regards
Holger

#833268#59
Date:
2021-02-22 14:09:50 UTC
From:
To:
control: reassign -1 lxpanel 0.10.1-1

Thank you for reporting this and investigating on it. As much as I can
see the root issue is that an icon on a panel does not work without a
working x-www-browser alternative installed. That can be solved with
adding a line

TryExec: /usr/bin/x-www-browser

into lxde-x-www-browser.desktop file. Therefore reassigning this bug to
the lxpanel package to fix it.