nuttyartist / notes

Fast and beautiful note-taking app written in C++. Write down your thoughts.
https://notes-foss.com
Mozilla Public License 2.0
3.82k stars 337 forks source link

User reports export to .md/txt doesn't work on Ubuntu 22 64bit GNOME #708

Open nuttyartist opened 3 weeks ago

nuttyartist commented 3 weeks ago

The following user reports that exporting .md/txt worked on his machine using the snap package, apparently using another it didn't work (he didn't yet mention what package was used).

His system specs:

Intel® Core™ i5-4200U CPU @ 1.60GHz × 4

Ubuntu 22.04.05 LTS 64-bit

Wayland

GNOME Version 42.9

I'll try to get more information from him.

guihkx commented 3 weeks ago

It's most likely the Flatpak package. I tested it and I can't use the export feature either.

I haven't taken a deeper look into this, but it's most likely caused by the very restricted filesystem access our Flatpak package has.

As a temporary workaround, users can allow Notes unrestricted access to their home folder, by overriding the default sandbox permissions our app has, i.e.:

flatpak --user override --filesystem=home io.github.nuttyartist.notes

Notes must be restarted after that.

guihkx commented 3 weeks ago

Wait, actually, forget everything I wrote above.

I must have tested a different option when I wrote that, lol. It's really late in the night here, my bad.

Now I really did test the export feature (little cog wheel > Import/Export Notes > Export to .txt) on the Flatpak package, and it was able to successfully export all 13 notes I have.

nuttyartist commented 3 weeks ago

Gotcha. I'm still waiting for his reply.