Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use Text Editor to draft emails and other messages.
Not files that I want to save, just drafts.

Problem: When my computer crashes (happens often recently), I loose the drafts.

Is there a text editor that backs up unsaved files somewhere? (preferably in a single place)

I tried Text Editor (Gedit), and Leafpad.

Note: I don't want ~example files to be created everywhere, because they are a mess in the terminal, and can be dangerous when sharing USB sticks. So unfortunately I can't use GEdit's backup feature.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

Scribes is like Text Editor.

But it saves files automatically in your home folder, with a name like:

oqiowdq - (2013-04-05 16:49:15)

Where "oqiowdq" is the first line you typed.
This file is removed when you really save your file.

Unfortunately, it does not have tabs, so feel free to post better answers.
Also, the line number on the left make the text less readable than Gedit.

share|improve this answer

If you use gedit, you can turn on autosave in preferences -> editor and it saves documents with the period you specified. And about the autosaved documents place, if I'm right it saves any file in the same folder and same name with extra ~ at the beginning (it would be hidden so press ctrl+H to see it.)

share|improve this answer
    
Sorry, I should have explained why I can't use this feature, see the notes I added in my question. –  Nicolas Raoul Apr 8 '13 at 1:23

I assume you have given a name to your file or saved it before your system crashed, if not Gedit will automatically do that for you, provided that you have set up your editor to save you during these times. Do this:

Open edit, select Edit -> Preferences -> Editor -> Create a Backup of file and Save file every 3 min. 

This must solve any future problems like this.

share|improve this answer
    
Sorry, I should have explained why I can't use this feature, see the notes I added in my question. –  Nicolas Raoul Apr 8 '13 at 1:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.