[SOLVED] Konqueror can't open locally saved web pages

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Konqueror can't open locally saved web pages

Postby kateto » Jul 18th, '24, 21:50

Hi, the title says it all. I'm running Plasma 5.27.10 on Mageia 9, and I've set up Dolphin to open locally saved HTML files with Konqueror (23.04.3). However, it complains that it can't handle "application/x-extension-html" (whatever it is, instead of text/html). These are rather simple webpages.
It doesn't make any difference clicking in Dolphin or trying to open them from within Konqueror itself.
I know Konqueror is a dinosaur, but it's nice to browse local files without launching a full browser with all bells and whistles... :cry:
Last edited by kateto on Jul 20th, '24, 10:17, edited 1 time in total.
kateto
 
Posts: 72
Joined: Jul 31st, '12, 13:00

Re: Konqueror can't open locally saved web pages

Postby sturmvogel » Jul 18th, '24, 23:12

How do you create or save the html files?

kateto wrote:I know Konqueror is a dinosaur, but it's nice to browse local files without launching a full browser with all bells and whistles... :cry:

Sure....instead of using a browser you are using a browser/file manager/ftp client/fileviwer.....(that is konqueror).
sturmvogel
 
Posts: 738
Joined: Jul 30th, '12, 00:39

Re: Konqueror can't open locally saved web pages

Postby kateto » Jul 18th, '24, 23:15

I save them with Chromium and Konqueror itself, it doesn't make any difference.
kateto
 
Posts: 72
Joined: Jul 31st, '12, 13:00

Re: Konqueror can't open locally saved web pages

Postby kateto » Jul 20th, '24, 10:16

Well, nobody helped, but I found the answer anyway.
It seems the cause were some bogus files like user-extension-html.xml created in the folder .local/share/mime/packages/ years ago, perhaps by Firefox being set as default web browser and messing up the MIME database.
The solution was this:
Code: Select all
$ rm ~/.local/share/mime/packages/user-extension-html.xml
$ update-mime-database ~/.local/share/mime

This way the bogus "application/x-extension-html" MIME type dissappears, the standard "text/hmtl" is used and the issue disappears.
kateto
 
Posts: 72
Joined: Jul 31st, '12, 13:00


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron