After finding out that these notifications were coming from Noticeboard, I tried unloading the noticeboard launchd plist with
launchctl
, but it said there was nothing found to unload:
$ launchctl unload -w /System/Library/LaunchAgents/com.apple.noticeboard.plist
nothing found to unload
$ sudo launchctl unload -w /System/Library/LaunchAgents/com.apple.noticeboard.plist
Password:
nothing found to unload
Using "
remove
" instead of "
unload
" seems to have worked though, at least temporarily:
$ launchctl remove com.apple.noticeboard
$
Also, trying to run Noticeboard manually in
gdb
displayed nothing:
$ gdb /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/Noticeboard.app
GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ........... done
(gdb) run
Starting program: /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/Noticeboard.app/Contents/MacOS/Noticeboard
Reading symbols for shared libraries .++++++++++.................................................................................................. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
2014-04-04 12:45:05.027 Noticeboard[88858:a0f] Noticeboard: Launched, starting NoticeboardUpdateOperation
2014-04-04 12:45:05.831 Noticeboard[88858:1803] Noticeboard: NoticeboardUpdateOperation finished with notification to show: (null)
2014-04-04 12:45:05.832 Noticeboard[88858:1803] Noticeboard: No notification to show. Terminating.
Program exited normally.
(gdb) quit
$
I also made sure that my user-writable overrides.plist in my user folder in
/private/var/db/launchd.db
had the following key in it:
<key>com.apple.noticeboard</key>
<dict>
<key>Disabled</key>
<true/>
</dict>
I am going to try editing some of the plists as root now...