Click to See Complete Forum and Search --> : Konqueror & viewing files


TreeHugger
06-30-2003, 09:29 AM
I use konqueror alot as a simple file manager in KDE and I use Mozilla for browsing the web and any HTML viewing I want to do.

I'm doing alot of stuff with XML and I'd like to konfigure Konqueror to show me the raw XML in a file rather than interpreting it as a browser does. I was looking in the konqueror menus but couldn't find any way of telling konqueror just to show me the raw text.

I mean, I know I can do "view source" but that's an extra couple of clicks and an extra window.

Any ideas anyone?

Thanks

mdwatts
06-30-2003, 09:59 AM
Try ...

Settings/Configure Konqueror/File Associations open 'Text', go down to xml and then edit/add the application(s) to open xml files.

TreeHugger
06-30-2003, 10:56 AM
Yeah, I tried that but konqueror didn't want to know. Konqueror's accepting my changes but not taking any notice of them. I'll try it again in case I did something stupid. . . .

Nope. I removed the only application from the 'application order' setting but it carried on loading and interpreting it as html.

I also tried putting kwrite in there but it completely ignored it.

I'm stumped. I don't think the config is screwed - it seems to be writing stuff to the .xde directory.

[later]..... I think I'm not grasping this - is the list of apps to launch it with in konqueror's "application preference order" just a list of apps that appear in the right-click menu?

mdwatts
06-30-2003, 12:55 PM
Click on the 'Embedding' tab and under 'Left Click Action', click the option for 'Show file in embedded viewer'.

See if that works.

TreeHugger
06-30-2003, 05:51 PM
YOWSA!!!!!!!!

That's the one. I had to click the "Show in embedded Viewer", remove the apps from the Embedding tab as well as the ones from the General tab, and add the "Embedded Advanced KDE Text Editor Component", and it worked.

Great! Exactly what I wanted. Thanks alot! :D

mdwatts
06-30-2003, 06:11 PM
Glad it worked.

You just have to look around and experiment a bit.