Monday, September 11, 2006

Yet another bug

This time the bug was in the xournal package. There was availability of "Annotate PDF" but it was not working at all. The problem is xournal uses /tmp to create a temporary directory where it stores a copy of the chosen pdf and calls pdftoppm to convert each page of the document before loading them as background. Taking a quick look at the device partition table:

Nokia770-26:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/mtdblock4 2.0M 2.0M 0 100% /mnt/initfs
none 512.0k 28.0k 484.0k 5% /mnt/initfs/tmp
/dev/mtdblock4 123.5M 87.0M 36.5M 70% /
none 512.0k 28.0k 484.0k 5% /tmp
none 1.0M 44.0k 980.0k 4% /dev
/dev/mmcblk0p1 60.9M 32.1M 28.8M 53% /media/mmc1

So, I realised that 484 KB in /tmp were not enough for our needs. Just changed the directory to /home/user/.xournal/ and got another issue fixed. Please upgrade your xournal package by refreshing the package list and clicking on "Check for Updates" button in the application manager main window.


Jesus Alvaro said...

Thanks again for your quick update. Now it also loads pdf music backgrounds.

Let me comment a couple of possible improvements for xournal in 770:
1. The capability to hide the toolbar in fullscreen mode. This big space is very valuable for increasing the drawing area.
2. Displacement of the drawing area with left-hand buttons
3. Layer selection

Thanks again for this incredible tool.

Etrunko said...

Hi Jesus,

I'm glad I could be of help. Thank you for reporting the bug. I'll try adding these improvements to the next release ok?

Best Regards, Etrunko.

Anonymous said...

Hi Etrunko,

I've recently posted a comment on an earlier post, have a look:

Regarding this post (Yet another bug), I've tried to move ~/user/.xournal dir to /mnt/mmc1 and then symlinked .xournal on the users home with the same results... it's only saving the background (my overlay drawings), and not the merged background-original_pdf.

I'm using version 0.3.1-indt3.

Thank you again !

Etrunko said...

I've posted a comment in the other post, and I'll take a look in this bug as soon as I have some time to do it ok?

Best Regards, Etrunko.

Jesus Alvaro said...

Hi again,
After some more use of Xournal, it is getting more and more useful. However, There is a missing feature, the layer selection, that is already present in the linux i386 version. Maybe it could be not so difficult to include a sector in the toolbar.
Thanks again.