KDE config error: konqueror associated with text/html
Hi, I was trying to update a website I "maintain" for a class I teach...
I was using Konqueror to view my various files, and right-clicked on an html document so that I could use the "open with..." option. I opened it with Kate (I think the standard KDE editor?). Anyway, I mistakenly checked the box that says always associate this file type with this application. Then, whenever I tried to go to any website it opened it up using the editor. To try to fix the problem I repeated the process only this time selecting Konqueror for the application as opposed to Kate. Now, when I try to go to a website I get the following error message: "There appears to be a configuration error. You have associated Konqueror with text/html, but it can't handle this file type." I'm new to linux and configuring kde, I'm sure there is a simple solution but I just don't know how to fix it. I've looked around in various system/config menus but don't seem to see what I need. I just want to restore the association to the default. If anyone could help, I would much appreciate it. |
Hi.
Right click on an html file -> Edit file type -> Embedding -> select "show file in embedded viewer" -> Make sure KHTML is at the top of the priority list in embedding -> apply That should do it. Dave |
Thanks a lot Dave, that did the trick!
|
Actually... I'm not out of the woods yet:
It seems most of the time everything works fine. But if I go to a website via the "bookmarks" button in my tool bar it goes to file:/home/jla/.kde/share/apps/kfmexec/tmp/3158.0 instead of going to the usual http://www.whatever.com address. The site usually looks different and if I try to go to a link it gives me an error message like: "unable to run the command specified. The file or directory file:/recent/?somelink does not exist" If I open up Konqueror first, and then use my bookmarks through the Konqueror window it works fine. But I'd like to be able to use the bookmark button in the tool bar as well. Any help would be much appreciated. |
Hmmm. I've never used the bookmarks button on the toolbar. Until now.
Mine wanted to use emacs to open new pages, by downloading them first, then displaying the source. I got this sorted by making sure Konqueror is first in the 'Application Preferences Order' bit in the 'General' tab of the 'Edit File Type' thing for html files, and the Embedding tab still has 'View in Embedded Viewer' selected and KHTML at the top of the list. I would clear out the /home/jla/.kde/share/apps/kfmexec/tmp/ directory too. If all else fails, you might want to export your bookmarks, clear the bookmarks, then re-import them. Dave |
Thanks again. I moved Konqueror to the top of the 'Application Preferences Order' in the general tab and everything seems to be working now.
|
Cool, man.
Glad it's working for you. Dave |
I also made this same mistake of changing the text/html settings but I unfortunately tried to fix t before reading this forum. I deleted the test/html file type.
I did Quote:
Any suggestions on what more to change or some other place I should put text/html settings back? Thanks, Grant |
Different solution to the problem:
I made an association with Konqueror to text/html, moved it to the top of the list (and it didn't work, as described by J-LA.) Then (after trying several other things, including show in embedded viewer, and reading this thread,) I clicked 'Edit', and on the 'Application' tab of the dialog I changed the value of the 'Command' field from Code:
kfmclient openProfile webbrowsing openUrl %u Code:
konqueror %u Phew.... Cheers, Jakob. |
All times are GMT -5. The time now is 12:36 AM. |