Annotating (Grading) PDF Assignments

For a while now, I’ve been asking my students to submit their work as PDFs online using moodle (or email).  I always use open source tools to annotate and grade these documents.  There are several apps out there for this, I happen to use Xournal.  The problem was that my preferences in Xournal were never saved.  So I figured if I had the problem, maybe others do to.  Here’s how to fix it:

First find where the preferences are stored.  In Linux, these are found in a text file in my Home folder. I assume it will be similar in Windows.  I edited this text file to automatically start with good grading tools already selected: ie. Red text with a Serif font.

$ gedit ~/.xournal/config

Then Ctrl+F and find “startup_tool”  set this to “text”

Then Ctrl+F for “pen_color”and change this to “red”

Finally Ctrl+F for “default_font” and set this to “Serif”.

Save the file and you are done. Now every time you open Xournal, these settings will be loaded and you can just start commenting and grading without having to do any additional tool selections.

 

UPDATE: In Windows, Xournal configurations are hard to find.  You must first set it up so you can view hidden folders and files (Go to Start menu–> Control panel –> Appearances and Optimizations –> Folder Options –> Show hidden files and Folders.  Look for the radio buttons and select “Show hidden files, folders, or drives”.  While I’m in here I usually also uncheck “Hide extensions of known filetypes”  which lets me rename files including their filetype and see what types of files they are directly.

Once you do this, you can run Xournal and “Save Preferences” once as Ken mentioned in the comments below. Close Xournal first, then go to the path “C:Users\<username>\.xournal  (Notice the dot in “.xournal”!!!) Open the “Config” file in a text editor (like notepad or notepad++ or Sublime text editor)  Now you can make the changes above, and save.

A note of caution, edit a PDF with text, export it, then open it in another PDF reader to make sure it does not mess up.  Sometimes when editing the config file, the Font doesn’t work correctly and I end up with garbage text and random characters on my exported copy which isn’t useful for students.  If this happens to you, simply delete the config file and start over.

 

Adam-Atom

3 thoughts on “Annotating (Grading) PDF Assignments”

  1. Thanks for this. I found I didn’t have a config file, so I changed a few things, and went to Options/Save Preferences, which created the file. Then I could follow your tips.

  2. I’m using Linux also. I wanted to go through all of my xournal files (all my students’ assignments) to mark a particular question, and I figured this:

    ls -t1 *.xoj | xargs -n1 xournal

    This goes through the .xoj files one at a time, opening each one in xournal, and when you close it, it opens the next one. This goes through the files in alphabetical order; I like to alternate alpha order and reverse alpha order, which you get like this:

    ls -rt1 *.xoj | xargs -n1 xournal

  3. Ken, This is a great tip! Normally, I just import the PDFs and export them as the same name, overwriting the original PDFs. This way I can upload the resulting PDFs to moodle and blackboard for my students to view. Do you save them as .xoj files first? How do you get them in that format?

    As for the config file, Thanks for your note there as well. I had tried the “Save Preferences” option several times but that didn’t actually save the current settings I had, hence the manual editing. I didn’t realize you had to choose that option before it even created the file.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.