Tuesday, February 28, 2023

MousePad Text Editor Bug

This issue is happening in Ubuntu 22.04 with the MousePad text editor version 0.5.8 

Files are automatically saved in a directory at: ~/.local/share/Mousepad

The files have no extension, they get the name "autosave-0", "autosave-1", "autosave-2", . . . , "autosave-n".

At some point, after a reboot, if you have not saved any of those files and you try to open the MousePad text editor, it won't come up unless you call it through the command line and you will get the following message:


(mousepad:21465): Mousepad-WARNING **: 19:56:09.717: Some 'autosave-*' files in directory '~/.local/share/Mousepad' do not correspond to any session backup anymore. They will not be deleted automatically: please do it manually to remove this warning.


You can go there and delete those files, or save them, or move them to another directory; they are plain text files, you can open those with VIM, NANO, or any other text editor. After those files are removed from that default directory the MousePad text file app will work fine and it will respond to the calls from the GUI.

----

Monday, February 13, 2023

Downloading subtitles from YouTube videos

 This works with youtube-dl and with yt-dlp

yt-dlp --write-auto-sub --sub-lang es --convert-subs=srt --skip-download URL

---