mb1986 / rm-hacks

Small improvements and tweaks for rM devices, covering both rM1 and rM2.
Other
442 stars 9 forks source link

Bookmarks are lost when leaving the notebook. #237

Open dafxy opened 4 months ago

dafxy commented 4 months ago

PDFs hold the created bookmarks, but notebooks do not. The notebook's bookmarks disappear upon closing and reopening them.

mb1986 commented 4 months ago

I've just tested on my end and I cannot reproduce the issue... Works for both PDFs and notebooks. It is important that xochitl runs with QML_XHR_ALLOW_FILE_READ=1 and QML_XHR_ALLOW_FILE_WRITE=1 environment variables.

Could you please verify that you have them properly setup:

cat /etc/systemd/system/xochitl.service.d/qmlfileops.conf 

The qmlfileops.conf file should contain:

[Service]
Environment="QML_XHR_ALLOW_FILE_READ=1"
Environment="QML_XHR_ALLOW_FILE_WRITE=1"

Do you use any launcher that may possibly cause this issue?

dafxy commented 4 months ago

My qmlfileops.conf file matches your description. Not sure about the launcher. How do I check that?

mb1986 commented 4 months ago

I mean one of those: https://remarkable.guide/guide/software/launcher.html. Do you use them?

dafxy commented 4 months ago

I am not using any of those, only the default.

dafxy commented 4 months ago

I noticed that it is working on other new notebooks. After I copied all the content to another notebook, it worked.