Score:0

How to recover the - Accidently selected "No" option for "open recent files" in Mousepad text editor

sj flag

I've been using mousepad text editor for simple tasks in my Xubuntu 22.10. And I've 2 important tabs

  1. notes.txt (has some unsaved data)
  2. A file (not created in disk)

I often save my data before shutdown the pc but even if I didn't during the next power on when I open the mousepad will prompt the option to open the recent files and my unsaved data is gotten back, unfortunately this time I accidentally selected "No" to the option and now the file which has unsaved data is also gone and the data the file is not created is also gone.(I agree this is how it suppose to work)

But I need to recover this data back. Any help is appreciated

guiverc avatar
cn flag
Does this answer your question? [How to recover deleted files?](https://askubuntu.com/questions/3883/how-to-recover-deleted-files)
askd avatar
sj flag
Yes looked in to `~/.cache` there's no `mousepad` dir. This is not about deleting the file, this is about an unsaved file which contained data accidentally closed before saving. I guess there should be a way this data is stored temporarily some other location or a way to extract from any
askd avatar
sj flag
i've updated. thanks for your support
Score:0
cn flag

Have a look in ~/.local/share/Mousepad/autosave-0

I booted a Xubuntu 22.10 ISO, opened mousepad and typed a few lines containing only "blah"... I then killed the editor (killall mousepad) and my few lines of 'blah' were located in

~/.local/share/Mousepad/autosave-0

On restarting mousepad, I was asked the question you say you received.

  • If I answered "Yes" or just hit ESC the few lines of 'blah' appeared in the editor window,however

  • on answering "No", the aforementioned file was erased.

As you answered "No", and the file was erased; you'll need to recover deleted file(s). See this link on file recovery.

This was all done with Xubuntu 22.10.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.