Comment 19 for bug 1915910

Revision history for this message
Jefferson Ascaneo (ascaneo) wrote (last edit ):

Same issue with evince 42.3-0ubuntu2, apparmor 3.0.4-2ubuntu2.1, cinnamon 5.2.7-4 on Ubuntu 22.04.1 (jammy).

I believe the apparmor workaround below is better, since it works on any version:

Inside '/etc/apparmor.d/usr.bin.evince', add following line after the line containing 'thunar':

  /usr/lib/x86_64-linux-gnu/libproxy/[0-9.]+/pxgsettings Cx -> sanitized_helper, # Print Dialog

Alternatively, run the command below (one line):

$ sudo sed -i 's|.*/usr/bin/thunar Cx -> sanitized_helper,.*|&\n /usr/lib/x86_64-linux-gnu/libproxy/[0-9.]+/pxgsettings Cx -> sanitized_helper, # Print Dialog|' /etc/apparmor.d/usr.bin.evince

The workaround above solves the issue for me.