I thought i saw some similar one some time ago (not sure on which site) but no way to find it again, and i needed it now.
I found one here only for debian, this is general for any distro.
Maybe trivially simple but anyway i did it for myself, if you find it too simple and silly then just dont download

Ratings & Comments
4 Comments
Hi G0NZ0, but on my system kwrite is not default. It is ordered at last. firefox ist the first, then Quanta, OpenOffice...
correct, and you dont want it to be the default. You could, but its really not convenient. You configuration is reasonable. Thats the point of this service menu. In order to open with kwrite files for which kwrite is NOT the default, instead of going in open with - and search in the list of all the application, you just left click on the file you want to open and select "open with kwrite" (that is the service menu entry). Selecting open with - and search in the application list (or typing 'kwrite') is obviously another alternative, willl bring to the same result, just its a few seconds longer :)
it is more easier to configure the konqueror: file-association > allfiles - kwrite
No, you DONT want ALL files to be opened by default in kwrite. What's the point of that? Example: i want html pages opened with a browser normally BUT when i am editing a html page i want a quick way to open it in kwrite. This is the reason why i wrote this little service menu