Kwrite Won’t Save Text Files in KDE4
I like KDE4, especially once it got past the infancy stages of KDE4.0, but there is a definite problem I am having with Kwrite and Kate saving text files. I have encountered the issue with Kubuntu Hardy, Fedora 9, Fedora 10, and maybe something else. I don’t remember what distributions I have used.
I open the text editor. Write something, Save it as a txt file, and it seems to be fine. But when I open it, I have nothing but a blank page. I don’t have a solution to this, but it almost made me give up on KDE4 altogether. Instead, I have decided to install Gedit as my solution. Gedit works fine. Once a file is saved, there is no issue using Kwrite or Kate, it is only the initial period of saving the file.
I think it is not properly saving the encoding, or something. It handles text files fine, unless it is a new file, and you are trying to save it.
Gedit is a good text editor. There’s also the added bonus that many of the command line tips that are available on the internet include Gedit in their commands for editing files. I had been changing them to Nano in any place that Gedit was part of the command, since I couldn’t trust Kwrite, but using Gedit makes it easier because now I can just copy and paste, instead of having to edit the command to Nano.