6

Prior to Yosemite Notification Center settings stored in an sqlite db in ~/Library/Application\ Support/NotificationCenter/ Now this folder does not exist anymore, where does the OS store those settings?

TIA!

  • The place is found by your accepted answer though there's not really a path named. Get the "readable" path by applying G.H.'s command without "cd"; some more information in my "own" answer. – clemsam lang Dec 18 '18 at 17:39
7

The database has moved on Yosemite. The following command takes to you to its new location:

cd `getconf DARWIN_USER_DIR`/com.apple.notificationcenter/db
  • can you please elaborate on you answer. – markhunte Jan 22 '15 at 15:02
  • 2
    I've edited to try and elaborate but the question is a simple 'where is x on Yosemite' and the answer is a similarly simple 'it's here'. – Geoff Hackworth Jan 23 '15 at 11:01
0

Because I was looking for the file that notifications are stored in I came to this page (using macOS 10.13.6 High Sierra).
Here are some facts:

getconf command … with the DeviceVariable and DeviceName parameters, [returns] the value of the disk device name or location, for the device path specified by the DeviceName parameter

The above code returns (with "cd" omitted!): /var/folders/_d/pg2g__g17nzfwrv64j8ddvn80000gn/0//com.apple.notificationcenter/db: is a directory
Inside this/my folder I found: db db-shm db-wal db2upgraded

When some action takes place (I sent a notification) only db-wal gets updated immediately. So notifications are "registered" there somehow; interestingly, recurring ones are listed several times, meaning, a kind of "history" could be created once the db code is "translated".

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.