4

I am looking for some way to autosave ad hoc notes on Linux. The main feature I am looking for is silently autosaving unsaved documents, where there is no need to explicitly save those notes when I close the program, and the program doesn't prompt me to save before closing.

On Windows, I use Notepad++ that has a feature where new, untitled documents are automatically saved (without prompting the user) and restored when the program is opened again.

On Linux, however, I have tried Notepadqq, which has the same feature, but it's too buggy for work use and doesn't have a lot of support.

Atom and Sublime may have this feature, but they are not lightweight and definitely not designed for quick notes. Notepadqq (and Notepad++) is much quicker, though the idea of the brief notes is not really part of it's intended use, either.

Wine is not an option, and if it were, I would still like to find a Linux solution.

EDIT/UPDATE: Offline only solutions, please. I am not interested in note keepers that require a remote login, or which generally focus on cloud-based repositories.

1

This is partly implemented in CudaText (freeware, cross-platform).

  • Install plugin Auto Save (it requires latest CudaText release) from menu "Plugins / Addon Manager / Install"
  • Plugin gives 2 options in the config file, call it by "Options / Settings-plugins / Auto Save"
  • Set plugin option "save_interval=" to number of timer seconds, e.g. 60
  • Set plugin option "save_onclose=1" to enable auto-save on closing tabs

From your wish, not implemented auto-save on app closing, but tabs closing gives auto-save.

  • 1
    I have tested this solution, and it's not fixing one of my main concerns: no prompt. CudaText does have the nice feature of "Don't save/Keep in session", but I still have to interact (click on the button) with the program to close it. Is there an option make this the default, unprompted option on close? – iND Jun 11 '18 at 14:53
  • @iND This seems to be fixed in CudaText 1.56.4, updated on SF.net. Plugin with option "save_onclose=1" - CudaText is closed w/o confirm. – RProgram Jun 11 '18 at 20:48
  • This update is crashing for me, possibly invalid cpu version. – iND Jun 12 '18 at 11:53
  • @iND You can take Linux x64 only, yet, x32 is not yet updated. – RProgram Jun 16 '18 at 23:00
  • Thank you for the suggestion. However, I really am not interested in a solution that I have to manage. I need to be able to ignore it, updates need to be seamless, and I don't want to dig into settings files to make things work. These and other reasons are why I wanted something like Notepad++. – iND Jul 6 '18 at 15:02
1

Scratch

The text editor that works.

Scratch is the text editor that works for you. It auto-saves your files, meaning they're always up-to-date. Plus it remembers your tabs so you never lose your spot, even in between sessions.

It's the default text editor for Elementary OS. On Ubuntu you might need to add the corresponding ppa

  • Worth noting there is a name chage and this editor is now called "Elementary Code". – Dɑvïd Sep 21 '18 at 13:13
  • @Dɑvïd strange. The article was posted on 2/1, but I've just used the latest Elementary OS a month ago it was still Scratch with the old book-pencil icon. I just removed it because it's so bad compared to other distros – phuclv Sep 21 '18 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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