How to open a text file with kwrite from a menu?

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: PLUG-discuss
Data:  
Para: plug-discuss
Asunto: How to open a text file with kwrite from a menu?
I have an html menu with a list of tasks that open
various documents both online and on my local system.
Most of the tasks in the list open html documents,
but one of the tasks looks like this:

<a href=file:/home/joe/data/notes.odt>notes</a>

When I click on "notes" (using Firefox) a dialog pops up
that reads: "What should Firefox do with this file?"
(*) Open with LibreOffice Writer (default)
( ) Save File
[ ] do this automatically for files like this.

Two questions:
(1) What actions and what syntax could I use to open a plain text
document with 'kwrite' (the text editor that I use most often)?

(2) How can I get this to work with the Chrome browser, also?
(It only works with Firefox now.)



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss