konqueror web browser and txt files

2003-01-19 Thread Caitrin Torres
How do I get Konqueror to act as a web browser when it encounters .txt files?  
I've managed to get it set so that .txt files at least open up in Konqueror 
itself instead of launching KWrite separately, but it's using the embedded 
text editor. What I would like to happen is for Konqueror to display .txt 
files in the same way it displays html files so that I can do things like use 
the space bar to page through the document as I do with html files. I've been 
experimenting with settings in file associations but haven't hit on the right 
combination yet. If it's relevant, I'm using the KDE 3.1 debs for Woody from 
Ralf.

-- 
Caitrin
[EMAIL PROTECTED]




Re: konqueror web browser and txt files

2003-01-19 Thread Ralf Nolden
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sonntag, 19. Januar 2003 10:25, Caitrin Torres wrote:
 How do I get Konqueror to act as a web browser when it encounters .txt
 files? I've managed to get it set so that .txt files at least open up in
 Konqueror itself instead of launching KWrite separately, but it's using the
 embedded text editor. What I would like to happen is for Konqueror to
 display .txt files in the same way it displays html files so that I can do
 things like use the space bar to page through the document as I do with
 html files. I've been experimenting with settings in file associations but
 haven't hit on the right combination yet. If it's relevant, I'm using the
 KDE 3.1 debs for Woody from Ralf.

bugs.kde.org, konqueror, wishlist :-)

Ralf
 --
 Caitrin
 [EMAIL PROTECTED]

- -- 
We're not a company, we just produce better code at less costs.
- 
Ralf Nolden
[EMAIL PROTECTED]

The K Desktop Environment   The KDevelop Project
http://www.kde.org  http://www.kdevelop.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KnN+u0nKi+w1Ky8RAqyVAJ9I5UZ5XhzSXmwvTtK8dJo69zkIGACeLoMK
UW5oFjU4MTNQUkLeCaJKuPA=
=OJQV
-END PGP SIGNATURE-





Re: konqueror web browser and txt files

2003-01-19 Thread Anders Ellenshøj Andersen
On Sunday 19 January 2003 10:44, Ralf Nolden wrote:

  with html files. I've been experimenting with settings in file
  associations but haven't hit on the right combination yet. If it's
  relevant, I'm using the KDE 3.1 debs for Woody from Ralf.

 bugs.kde.org, konqueror, wishlist :-)

Yep..

Anders




Re: konqueror web browser and txt files

2003-01-19 Thread Nathaniel W. Turner
On Sunday 19 January 2003 04:44 am, Ralf Nolden wrote:
 On Sonntag, 19. Januar 2003 10:25, Caitrin Torres wrote:
  How do I get Konqueror to act as a web browser when it encounters .txt
  files? I've managed to get it set so that .txt files at least open up in
  Konqueror itself instead of launching KWrite separately, but it's using
  the embedded text editor. What I would like to happen is for Konqueror to
  display .txt files in the same way it displays html files so that I can
  do things like use the space bar to page through the document as I do
  with html files. I've been experimenting with settings in file
  associations but haven't hit on the right combination yet. If it's
  relevant, I'm using the KDE 3.1 debs for Woody from Ralf.

 bugs.kde.org, konqueror, wishlist :-)

You might approach this wishlist bug from the point of view of I would like 
KWrite to page-down when spacebar is pressed in read-only mode.  I am not 
familiar with the KWrite code, but I have a feeling that would be a simpler 
and more elegant solution (and more likely to be implemented) than writing a 
whole new kpart.  (Plus this way you would get to have syntax highlighting 
and other nice kwrite features in your text viewer).

-- 
Nathaniel W. Turner
http://www.houseofnate.net/
Tel: +1 508 579 1948 (mobile)




Re: konqueror web browser and txt files

2003-01-19 Thread Anders Ellenshøj Andersen
On Sunday 19 January 2003 21:05, Nathaniel W. Turner wrote:

 You might approach this wishlist bug from the point of view of I would
 like KWrite to page-down when spacebar is pressed in read-only mode.  I am

For whatever reason (could be it's faster) he wants to use the embedded text 
viewer. I like it like that also.

 not familiar with the KWrite code, but I have a feeling that would be a
 simpler and more elegant solution (and more likely to be implemented) than
 writing a whole new kpart.  (Plus this way you would get to have syntax
 highlighting and other nice kwrite features in your text viewer).

I don't know what you mean by kpart, but konqueror already has an embedded 
text viewer. I use it. It can't scroll down when you press space. That might 
be a nice thing to have so that's why we suggest a wishlist bug is filed 
against it.

Personally I would hate to use KWrite for this since it is slow to start up, 
especially when you keep in mind that konqueror is already running and can 
display text files just fine. Also most users rarely look at source codes in 
the text viewer, so having syntax highlighting is pretty useless.

Anders




Re: konqueror web browser and txt files

2003-01-19 Thread Caitrin Torres
On Sunday 19 January 2003 03:46, Anders Ellenshøj Andersen wrote:
 I don't know what you mean by kpart, but konqueror already has an embedded
 text viewer. I use it. It can't scroll down when you press space. That
 might be a nice thing to have so that's why we suggest a wishlist bug is
 filed against it.

This is, as far as I can tell, what I'm using. I'll file a wishlist bug 
against it later today. Thanks for the suggestions, everyone.

-- 
Caitrin
[EMAIL PROTECTED]




Re: konqueror web browser and txt files

2003-01-19 Thread Nathaniel W. Turner
On Sunday 19 January 2003 04:46 pm, Anders Ellenshøj Andersen wrote:
 On Sunday 19 January 2003 21:05, Nathaniel W. Turner wrote:
  You might approach this wishlist bug from the point of view of I would
  like KWrite to page-down when spacebar is pressed in read-only mode.  I
  am

 For whatever reason (could be it's faster) he wants to use the embedded
 text viewer. I like it like that also.

Ah, I see.  I guess I didn't read the original message carefully enough.  I 
thought he was using an embedded kwrite (kate) part.

 I don't know what you mean by kpart, but konqueror already has an embedded
 text viewer. I use it. It can't scroll down when you press space. That
 might be a nice thing to have so that's why we suggest a wishlist bug is
 filed against it.

Ah, well, when I right click on a text file in konq, I get these options under 
the Preview In menu:
  Embedded KDE Advanced Text Editor Component
  KWord
  Qt Designer Based Text Editor
Perhaps your system is different (I'm running pretty recent debs).

 Personally I would hate to use KWrite for this since it is slow to start
 up, especially when you keep in mind that konqueror is already running and
 can display text files just fine. Also most users rarely look at source
 codes in the text viewer, so having syntax highlighting is pretty useless.

Hmm... when I open a text file in konquerer using the Embedded KDE Advanced 
Text Editor Component (the same component used by kwrite), the file displays 
in less than 1 second.  But maybe this is the same thing you are talking 
about.

Anyway, sorry if I confused the issue.

-- 
Nathaniel W. Turner
http://www.houseofnate.net/
Tel: +1 508 579 1948 (mobile)