Score:3

Cannot access GIMP help because AppArmor stops it

cn flag

I just installed GIMP through Ubuntu Software, which I understand uses snap. I tried to access GIMP help but it was blocked. I got this error:

Could not open 'https://docs.gimp.org/2.10/en/gimp-help.xml' for reading: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.108" (uid=1000 pid=7457 comm="/usr/lib/gimp/2.0/plug-ins/help/help -gimp 16 14 -" label="snap.gimp.gimp (enforce)") interface="org.gtk.vfs.Daemon" member="GetConnection" error name="(unset)" requested_reply="0" destination=":1.109" (uid=1000 pid=7461 comm="/usr/libexec/gvfsd-http --spawner :1.4 /org/gtk/gv" label="unconfined")

I understand that I must snap connect some gimp service to some http service. How do I discover which services must be connected?

chili555 avatar
cn flag
gimp-help can easily be installed to read locally. As well, the xml file you reference is almost impossible to read. Although your question asks about apparmor, I shall propose an answer to read the help on your own computer. Welcome to Ask Ubuntu.
Score:1
cn flag

I suggest that you install gimp-help:

sudo apt update
sudo apt install gimp-help-common gimp-help-en

Substitute your language preference if not en for English.

Now you can read the help locally with:

firefox /usr/share/gimp/2.0/help/en/gimp-help-index.html

You may click the links to proceed to the desired help sections.

N0rbert avatar
zw flag
Adding `snap remove gimp` and then `sudo apt-get install gimp` will be reasonable.
fernborough avatar
cn flag
@chili555 answer does not work. The issue is the protections put in by snap.
fernborough avatar
cn flag
@N0rbert 's suggestion works. I can now access context sensitive help from within GIMP. Alas, my understanding of snap is not improved.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.