birros / web-archives

A web archives reader
https://flathub.org/apps/details/com.github.birros.WebArchives
GNU General Public License v3.0
98 stars 13 forks source link

Location of .zim files #2

Open tgeek77 opened 6 years ago

tgeek77 commented 6 years ago

Hi, I downloaded a .zim file with WebArchives but it doesn't see the file in the local section of the application. What directory is it expecting to find these files?

birros commented 6 years ago

I'm really sorry to answer you now, I'm starting with GitHub. I did not see any email or notification informing me of your issue, so I totally missed it. I did not bother either to check the status of the project, my apologies.

To answer the question, the files are automatically listed by the software Tracker, this same operation is involved in some GNOME applications like GNOME Documents or GNOME Games. In theory this simplifies the detection of files scattered in the user's folder but in practice it requires two things:

  1. Tracker must be installed and running, which is not the case in a KDE session or other
  2. zim files are placed in folders in which Tracker is allowed to scan files (basically XDG user directories)

I set up this system thinking simplify things but in the end I had a lot of feedback (in addition to yours) about this problem, so I think to delete the use of Tracker or at least limiting its dependency.

For the moment it is possible to manually add a file using the "+" button of the "Recents" section, in any case I will add a new section listing the files in a default folder (such as ~/Documents/WebArchives) indicating its location on the home screen of the application.

Unfortunately I have not enough time to devote myself to the development of WebArchives for the moment, because of many personal problems, but WebArchives is still developed, at least not necessarily in terms of code but reflections around its operation.

This issue is my main target, thank you for your issue and I hope I answered you.

deemomma83187 commented 3 years ago

I'm really sorry to answer you now, I'm starting with GitHub. I did not see any email or notification informing me of your issue, so I totally missed it. I did not bother either to check the status of the project, my apologies.

To answer the question, the files are automatically listed by the software Tracker, this same operation is involved in some GNOME applications like GNOME Documents or GNOME Games. In theory this simplifies the detection of files scattered in the user's folder but in practice it requires two things:

  1. Tracker must be installed and running, which is not the case in a KDE session or other
  2. zim files are placed in folders in which Tracker is allowed to scan files (basically XDG user directories)

I set up this system thinking simplify things but in the end I had a lot of feedback (in addition to yours) about this problem, so I think to delete the use of Tracker or at least limiting its dependency.

For the moment it is possible to manually add a file using the "+" button of the "Recents" section, in any case I will add a new section listing the files in a default folder (such as ~/Documents/WebArchives) indicating its location on the home screen of the application.

Unfortunately I have not enough time to devote myself to the development of WebArchives for the moment, because of many personal problems, but WebArchives is still developed, at least not necessarily in terms of code but reflections around its operation.

This issue is my main target, thank you for your issue and I hope I answered you.

Thankyou