OS Manuals

/usr/bin/aa-notify

From apparmor-utils 5.0.2-r3 (enterprise-packages), captured 2026-11-08 by running aa-notify --help (exit 1) · terse output. permalink

ttkthemes not found. Install for best user experience.
Traceback (most recent call last):
  File "/usr/bin/aa-notify", line 209, in <module>
    def show_entries_since_last_login(logfile, filters, username=get_user_login()):
                                                                 ~~~~~~~~~~~~~~^^
  File "/usr/bin/aa-notify", line 81, in get_user_login
    username = pwd.getpwuid(os.geteuid()).pw_name
               ~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'getpwuid(): uid not found: 1100'
Options (14)
OptionDescriptionSource
-p, --pollpoll AppArmor logs and display desktop notifications.man
--display $DISPLAYset the DISPLAY environment variable to $DISPLAY (might be needed if sudo resets $DISPLAY)man
--xauthority XAUTHORITYset the XAUTHORITY environment variable (might be needed if sudo resets XAUTHORITY)man
-f, --file FILEsearch FILE for AppArmor messagesman
-l, --since-lastshow summary since last login.man
-s, --since-days NUMshow summary for last NUM of days.man
-u, --user USERuser to drop privileges to when running privileged.man
-w, --wait NUMwait NUM seconds before displaying notifications (for use with -p)man
-m, --merge-notificationsMerge notification for improved readability (with -p)man
-F, --foregroundDo not fork to the backgroundman
--prompt-filter operationWhich operations should use a popup prompt window instead of a system notification.man
--filter.TYPE FILTERApply filters as to select which apparmor messages should be allowed through based on which messages match the filter parameters (see also custom notification filtering in CONFIGURATION).man
-v, --verboseshow messages with summaries.man
-h, --helpdisplays a short usage statement.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.