Re: Bug#277099: update-alternatives doesn't help
reassign 277099 konqueror
I have the same problem: konqueror has claimed all possible file
types, even types that it can't actually handle (like pdf, for which
it just pops up a series of error dialogs) and I'm still trying to
track down how to change that. Everybody I ask says "The only way
is to uninstall konqueror", but I'd prefer not to do that because
I like to use it for testing web page compatibility on occasion.
I tried: update-alternatives --config x-www-browser
and selected firefox. Now I see:
(clavius)- update-alternatives --display x-www-browser
x-www-browser - status is manual.
link currently points to /usr/bin/mozilla-firefox
/usr/bin/mozilla-firefox - priority 70
slave x-www-browser.1.gz: /usr/share/man/man1/mozilla-firefox.1.gz
/usr/bin/konqueror - priority 100
Current `best' version is /usr/bin/konqueror.
Is the "current best" used for anything? (Nobody I've asked
seems to know.) Can I get it to point to anything besides konqueror?
I assume that "current best" is used when you haven't set it manually.
I'd have to say that a priority of 100 for a package that gets installed
by default with kde is much too high. The priority for a package like
firefox should be higher simply because, if it's installed, the user
went through more effort to get it there and thus probably prefers to
use that program.
With this setup, if I run update-mime, konqueror is still listed
first in the resultant /etc/mailcap.
The mime system does not read alternatives. You could, however,
create an entry in ~/.mailcap or in the user section of /etc/mailcap
that says "text/html: /usr/bin/x-www-browser" so it would always
take priority for html pages.
So I tried mailcap.order. After several attempts, I figured out
that mailcap.order and update-mime will only handle names which
correspond to filenames in /usr/lib/mime/packages. So if I use
then /etc/mailcap still has all the konqueror lines (the file is
285 lines -- yikes!) but at least they're no longer first. I have
to make entries covering every type konqueror claims, though.
Yeah, that's not really the use mailap.order was intended for.
I haven't found a way (besides uninstalling konqueror) to
say "don't use konqueror for any mime types, ever".
And there doesn't seem to be a way to use a program which doesn't
have an entry in /usr/lib/mime/packages, either because it isn't
a debian package or because the debian package doesn't include that
No package should install high-priority mailcap entries for dozens of
different file types. The fact that a web browser can display a jpeg
image does not mean it's likely to be the best choice to do so; programs
like xv or imagemagik are much better programs for those types of files.
I would expect konqueror to display an image if I click it from within
a webpage (don't waste my time opening another program) but if I do
"see image.jpg" from the command line, then I went the best viewer
I'm reassiging this bug to konqueror since it isn't a problem with the
( email@example.com )
In theory, theory and practice are the same. In practice, they're not.
who has gained the respect of children, who leaves the world better than they
found it, who has never lacked appreciation for the Earth's beauty, who never
fails to look for the best in others or give the best of themselves.