Install apparmor-notify by entering the following commands in the terminal:
sudo apt update sudo apt install apparmor-notify
AppArmor notification system
apparmor-notify provides a utility to display AppArmor denial messages via desktop notifications. The utility can also be used to generate summary reports.