Comment 28 for bug 571725

Revision history for this message
gfairbanks (elvis-launchpad) wrote :

This is a comment to help others who have similar issues. I had moved my home directory to /opt/home/george on a different partition. AppArmor appears to prevent evince from writing there. I edited my /etc/apparmor.d/tunables/home file (see https://wiki.ubuntu.com/DebuggingApparmor#Adjusting%20Tunables) from:

@{HOMEDIRS}=/home/

to

@{HOMEDIRS}=/home/ /opt/home/george/

Then restarted apparmor

sudo /etc/init.d/apparmor restart

My evince problems (similar to reported above) are gone. Specifically, it no longer complains about not being able to read/write ~/.recently-used.xbel, ~/.gnome2/evince/evince_toolbar.xml, and ~/.gnome2/evince/evince_toolbar.xml. And it retains my settings across sessions.