[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

File associations and KDE2, was:Re: Viewing HTML files in Konqueror



-----BEGIN PGP SIGNED MESSAGE-----

Am Wednesday 28 March 2001 20:41 schrieb Michael Dickey:
> This sounds stupid, but the only way I can seem to view local html files
> (file:/usr/doc/HOWTO/en_html/..., etc.) is actual html source - Konqueror
> will not render them. I have searched the archives and have not found
> anything about this. I am running the latest version of Konqueror & KDE
> (2.1.1) What do I need to do to fix this?

Strange this should work out of the box.

Try the following:
==================
1. Start Konqueror and open Settings->Configure Konqueror
2. Chose File Associations 
or:
1. Start the Control Center
2. Chose File Browsing->File Associations
and:
3. select text/html
4. In the "General" tab there should be Konqueror on top in the
   application preference order. If its not there add it.
5. In the "Embedding" tab there should be KHTML on top in of the
   Services Preference Order. Add it if it is missing.
   If you want Konqueror to show a html file embedded (= in the filemanager)
   "Show files in selected viewer" must be selected. If you want it to open
   it in a separate window "Show file in separate viewer" must be selected.

Thats it, now Konqueror should show the html files the way you want it.
If it still doesn't work which should not occur, open a konsole and type
"kbuildsycoca" to rebuild the system configuration cache.


You can do the same with all the other file associatons, too. You can even add
file associations missing for you. For instance you could add a new mime type 
for StarOffice, calling it application/x-staroffice and assigning the file 
extension "*.sd?". Then set the staroffice binary as the program to be 
executed. For me its "/usr/local/office52/program/soffice". To launch 
StarOffice when you click on a *.sda, *.sdb,.... file select "Show file in 
separate viewer" in the Embedding tab of the application/x-staroffice mime
type. There is no way for Konqueror to show it embedded because staroffice 
components are not KDE compatible.
Note: Mime types which are not standardized should use a "x-" in front of 
their name. For ex.: Do not use application/staroffice, but 
application/x-staroffice instead.

Hope this helps!
- -- 
WfG, Chris
Get my public key from wwwkeys.pgp.net
or its mirrors. For ex.: wwwkeys.eu.pgp.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6w0Qmx4M/KLZtdxwRAUbzAKCJvjM9GItmsyr6UaI6bGJJB9mSHgCfUzTh
Nq6c0/QpP4GGncxdyP6Pf5E=
=B7jh
-----END PGP SIGNATURE-----



Reply to: