Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
Jerome Flesch edited this page Feb 16, 2016 · 65 revisions

How to import many PDF documents in one shot ?

  1. Create a directory
  2. Put all your PDFs in it
  3. In paperwork, in the sub-menu next to the "Print" button -> "Import file(s)"
  4. Select the directory containing all the PDFs

Where are Paperwork files located ?

By default:

  • Configuration : ~/.config/paperwork.conf
  • Index : ~/.local/share/paperwork
  • Documents : ~/papers

The index is always updated according based on the documents. When Paperwork starts, the modification time of each file is used to detecte changes on the documents.

How are the documents stored ?

See the page describing the work directory organisation

How to uninstall Paperwork ?

If you installed Paperwork manually:

sudo pip uninstall paperwork
sudo pip uninstall pyocr
sudo pip uninstall pyinsane

(it's python-pip on some systems)

If you installed many versions of these packages, you may have to run these commands many times.

Note that there are other dependencies installed with Paperwork. However, python-pip can't detect and remove automatically unused dependencies. This is why you should use your distribution package(s) if possible.

How to change the file browser used by Paperwork

When you click "Open document directory", Paperwork uses your default file browser (the one called by 'xdg-open'). To change it, as normal user:

  • Nautilus (Gnome's file browser):
xdg-mime default nautilus.desktop inode/directory
  • Thunar (XFCE's file browser):
xdg-mime default Thunar.desktop inode/directory

Why did you do X instead of Y ?

Variant: Why haven't you implemented X yet ?

Because the SABDFL (me) said so :-)

If you want something changed or improved, your options are:

Let's be honest: I'm not going to do anything just because it looks better to you. I'm also not going to do anything just to satisfy a weird use case that only concern you. So please do your best to be convincing without being annoying :-)

Also, please keep in mind I'm doing this on my free time. In other words, I have a very limited amount of time I can spend on Paperwork. So weird or crazy (but valid) features may be delayed from version to version until the end of time.

Why can't X be configured ?

Because if we added all the options everyone want, the settings dialog would look like the space shuttle panel. I'm not going to design a crazy GUI like the one of Eclipse.

However, in the future, there may be hidden settings in the configuration file to accommodate weird requirements.

How can I get statistics regarding my documents ?

Statistics are fun. Unfortunately, they are not really helpful here, so there is nothing in the GUI to get some. However, there is a script:

$ git clone https://github.com/jflesch/paperwork.git
$ cd paperwork
$ scripts/stats.py
(...)
Statistics
==========
Total number of documents: 989
Total number of pages: 1846
Total number of words: 382490
Total words len: 2751489
Total number of unique words: 54399
===
Maximum number of pages in one document: 75
Maximum word length: 179
Average word length: 7.193623
Average number of words per page: 207.199350
Average number of words per document: 386.744186
Average number of pages per document: 1.866532
Average number of unique words per document: 202.777553
Average accuracy of label prediction (global): 98%
Average accuracy of label prediction (positive): 88%
Average accuracy of label prediction (negative): 99%

Why a Gtk GUI instead of a web interface ?

  • Paperwork is designed to be as simple to install and use as possible. Web servers and web applications are not simple to install (yeah, I know, the dependency nightmare of Paperwork doesn't make it easy either as a Gtk GUI ... but package managers are supposed to take care of that).
  • I (jflesch) have no use for a web frontend (I sync my files with SparkleShare, and I can access them everywhere I need them). I don't develop features I don't use. Doing otherwise would be the best way to get regressions all the time.
  • With a web application, scanning is not an easy problem. You could use any scanner connected on the server side .. but it wouldn't make sense. You need to scan on the client side, and afaik, it would require a browser plugin.

Feel free to make one if you want. We will gladly help you with any questions about Paperwork backend you might have.

Clone this wiki locally