Notes app not working on 24.04 / Data location

Hello everybody.

Since I've upgraded to 24.04 my notes applet stopped working.

I don't mind if it won't, but I was looking where the data I have is stored so I can recover it.

Couldn't find this info. Does anybody knows where the data is stored?

Thank you.

(consider searching this forum)

1 Like

Yes, forgot to mention I saw this post before, but couldn't find the sqlite file :confused:

I'm on UM 22.04, and that sqlite file is also at that same location offered.

Did you have stickynotes operate under a different user name ? Maybe check under root or other user names you have on your system ?

1 Like

maybe you can give me more details

which notes did you install, how, is it a snap, what?

There is a notes in App Center, a snap which installs/works fine.

1 Like

Thanks for the answers.

I'm using "built-in" notes that we add it to the panel. It's not manually installed (I think the app @ericmarceau is talking about is another one maybe).

Here's a screenshot (brazilian portuguese localized) of how it is added to the panel:

The about screen:

Captura de tela em 2024-09-28 13-51-20

Just found another juicy detail:

Problem in a X11 lib somehow.

I had to change my NVidia video driver from proprietary to open-source because it seems nvidia-390 is not supported anymore.

Since them I'm using Nouveau...

~/.config/mate/stickynotes-applet.xml

(just tested it)

2 Likes

I've seen this file before as well. I only get the notes positions here:

Captura de tela em 2024-09-28 17-02-06

Hi, @marcelo_martin :slight_smile:

Although I don't use the "Sticky Notes" applet in Ubuntu MATE, I just did two tests:

  • In my laptop running Ubuntu MATE 22.04.5 LTS ("Jammy Jellyfish"), if I add "Sticky Notes" to the Panel and I then create a note in "Sticky Notes", the content of the new note gets saved to the file ~/.config/mate/stickynotes-applet.xml BUT that only happens after I click on the padlock icon of that note:
>$ cat ~/.config/mate/stickynotes-applet.xml 
<?xml version="1.0"?>
<stickynotes version="1.26.0">
  <note title="28/09/2024" locked="true" x="242" y="155" w="152" h="112">This is a Sticky note test in Ubuntu MATE 22.04 LTS ("Jammy Jellyfish")</note>
</stickynotes>
  • HOWEVER, in a VM running "Ubuntu MATE 24.04.1 LTS" ("Noble Numbat"), clicking on the "New Note" menu option of the "Sticky Notes" doesn't work, as you said. Indeed, at least in my case, it crashes with the error message "Sticky Notes" has quit unexpectedly :
    Sticky Notes has quit unexpectedly

The crash brings the "Sorry, Ubuntu 24.04 has experienced an internal error" window where the "Title" of the crash is revealed to be "stickynotes-applet crashed with SIGSEGV in gtk_text_iter_compare()":

So, this also seems to me to be a bug :frowning_face:

EDIT: This may be another case of the following bug that I've now found ("Stickynotes crashes on Alpine Linux and Gentoo") in the "mate-desktop/mate-applets" GitHub Repository:

2 Likes

Yes @ricmarques that's exactly the error I get.

2 Likes

Complementary to the very accurate answer of @ricmarques I decided to simulate your case:

I created two notes on my 22.04 desktop and copied the file that contains all notes to my 24.04 mediacenter.

<?xml version="1.0"?>
<stickynotes version="1.26.0">
  <note title="28-09-24" x="1" y="58" w="116" h="100"></note>
  <note title="28-09-24" locked="true" x="1019" y="537" w="116" h="100">This is a reminder</note>
  <note title="28-09-24" locked="true" x="1084" y="341" w="116" h="100">another reminder</note>
</stickynotes>

Trying to run notes on 24.04 does not do anything and ultimately crashes, identical to what @ricmarques showed.

The problem is even worse: It overwrites and corrupts the stickynotes-applet.xml file that I copied:

<?xml version="1.0"?>
<stickynotes version="1.26.1">
  <note title="" x="1" y="58" w="116" h="100"/>
  <note title="" locked="true" x="1019" y="537" w="116" h="100"/>
  <note title="" locked="true" x="1084" y="341" w="116" h="100"/>
  <note title="" x="-1" y="-1" w="0" h="0"/>
</stickynotes>

That means that all your notes are wiped out :slightly_frowning_face:

2 Likes

Indeed @tkn !

I just restored a backup file :relieved: of .config/mate/stickynotes-applet.xml prior to the update to 24.04 and BOOM the content was there.

So yes, the note's data themselves are stored there.

I noticed the crash erased the restored data the first time. When I restored the file again, raised the crash, nothing changed...

So when the update was complete and I tried to open the notes, it erased my file.

At least my data is saved until the bug is fixed (if that's the case :grin: )

Thanks everyone!

3 Likes