[apparmor] [patch] aa-notify and $DISPLAY

Christian Boltz apparmor at cboltz.de
Mon Oct 10 20:25:32 UTC 2011


I finally found some time to implement handling of $DISPLAY as discussed 
some days (or weeks?) ago.

The attached patch adds the option --display to set the $DISPLAY 
environment variable.

If $DISPLAY is not set and --display is not used, aa-notify prints a 
warning that notifications won't be shown (exact warning text depends if 
using sudo or not).


Christian Boltz
Ich habe nix gegen C. Ich kann überhaupt kein C, ich kann es, wenn
es sauber programmiert ist, halbwegs lesen. Vorrausgesetzt, der
Programmierer war nicht zu originell. [Ratti in suse-programming]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aa-notify-display.diff
Type: text/x-patch
Size: 2253 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20111010/e5fd6883/attachment.bin>

More information about the AppArmor mailing list