Removing Today's Date in Today Notification Center View

Discussion in 'OS X Yosemite (10.10)' started by JonDigital, Nov 9, 2014.

  1. JonDigital macrumors regular

    JonDigital

    Joined:
    Jul 26, 2010
    Location:
    Coconut Creek, FL
    #1
    I had asked this regarding iOS and assumed since there is very little you can do with tweaking iOS without jailbreaking it wasn't possible.

    My question now pertains to OS X Yosemite. I have to imagine there are plenty of third party tweak apps out there.

    Can you remove the today date in notification center? It takes up valuable real estate and is quite superfluous when you have today's date right on the menu bar.

    Thanks in advance!
     
  2. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #2
    totally agree with this!
     
  3. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #3
    When I use the following Terminal command:
    Code:
    $ defaults read com.apple.notificationcenterui
    I get the following result:
    Code:
    {
        TodayView =     {
            order =         (
                "com.apple.nc.social",
                "com.apple.RemindersNC",
                "com.apple.ncplugin.WorldClock",
                "com.apple.iCal.CalendarNC",
                "com.wunderkinder.wunderlistdesktop.todayextension",
                "com.apple.ncplugin.weather",
                "com.apple.ncplugin.stocks",
                "com.apple.ncplugin.calculator"
            );
            preferences =         {
                "com.apple.nc.disclosures" =             {
                    enabled = 1;
                };
                "com.apple.nc.social" =             {
                    enabled = 0;
                };
                "com.apple.nc.today.date" =             {
                    enabled = 1;
                };
                "com.apple.nc.today.dnd" =             {
                    enabled = 1;
                };
                "com.apple.nc.today.summary" =             {
                    enabled = 0;
                };
                "com.apple.nc.tomorrow.summary" =             {
                    enabled = 0;
                };
            };
        };
        "last-messagetrace-stamp" = "437059599.016195";
    }
    Notice the keys “com.apple.nc.today.date” and “com.apple.nc.today.dnd”. I suspect that these could affect the visibility of the date and the do-not-disturb toggle. Has anyone tried to change the value for “com.apple.nc.today.date” to 0 using Terminal? I don’t know how to do this in Terminal.
     
  4. JonDigital thread starter macrumors regular

    JonDigital

    Joined:
    Jul 26, 2010
    Location:
    Coconut Creek, FL
    #4
    This sounds really encouraging. I'm way too much of a novice to understand how to do this. Thanks for leading us in the right direction.
     
  5. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #5
    this: $ defaults read com.apple.notificationcenterui

    gives me 'command not found' in terminal...
     
  6. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #6
    You have to remove the $ sign. :)
     
  7. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #7
    d'oh! ok, but...WHERE is the file with these settings? perhaps editing in textwrangler..am willing to try it if i can find the pref file...
     
  8. JonDigital thread starter macrumors regular

    JonDigital

    Joined:
    Jul 26, 2010
    Location:
    Coconut Creek, FL
    #8
    This is my issue as well. Opening com.apple.notificationcenterui does not reveal any of those preference settings. Searching the web doesn't reveal much about OS X Yosemite. Only tons of references or Mountain Lion and completely disabling Notification Center.
     
  9. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #9
    The file is located here: ~/Library/Preferences/com.apple.notificationcenterui.plist

    However, manual editing won’t work, because the system will revert the changes once Notification Center is restarted (which you have to do to put the changes into effect). I was hoping it would work with a Terminal command though.
     
  10. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #10
    i looked at that (AND the same-named file in System>LaunchAgents). tried a few things, but...agreed, no change. crazy that apple thinks we need a 100pt, 2-line date in a window that could be used in better ways (especially, as the OP pointed out, is right above it).
     
  11. JonDigital thread starter macrumors regular

    JonDigital

    Joined:
    Jul 26, 2010
    Location:
    Coconut Creek, FL
    #11
    I'm guessing something regarding permissions would need to be changed ala (IN BOLD)...

    http://apple.stackexchange.com/ques...tly-disabled-notification-center-in-mavericks
     
  12. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #12
    Note, though, that these are system settings that are not related to the issue we are trying to address here. You can access app-specific settings with the above mentioned Terminal command defaults. The only problem is that the settings are embedded into multiple arrays/dictionaries. If someone knows how to select that specific value in Terminal, then we can try it like that.

    I did find an example here for a preference in the Dock:
    Code:
    defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }’
    I haven’t been able to apply this to the process at hand, however. I think we would have to work with the command -dict and -dict-add instead of -array-add.
     
  13. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #13
    will keep an eye on this thread (i want to REMOVE the NC icon from the menu bar as well). am in over my head, but am def up for trying things out (which makes me either brave, or foolhardy).

    or a bit of both...
     
  14. JonDigital thread starter macrumors regular

    JonDigital

    Joined:
    Jul 26, 2010
    Location:
    Coconut Creek, FL
    #14
    I removed the Notification Center icon from the menu bar using Bartender. It's not the reason I wanted Bartender in the first place but just happen to have the feature built in.

    [​IMG]

    http://www.macbartender.com/
     
  15. fisherking, Nov 10, 2014
    Last edited: Nov 10, 2014

    fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #15
    will try that, thanx!

    EDIT: WAY overpriced, but very cool. hit spotlight AND NC icons (use key commands to access both). thanx
     
  16. JonDigital thread starter macrumors regular

    JonDigital

    Joined:
    Jul 26, 2010
    Location:
    Coconut Creek, FL
    #16
    Sure thing and thanks for your help with this NC thing.
     
  17. Partron22 macrumors 68000

    Partron22

    Joined:
    Apr 13, 2011
    Location:
    Yes
    #17
    In order to get around Yosemite's prefs caching, I changed com.apple.nc.today.date (Boolean YES->NO) on a non-running copy of the OS using Xcode.
    Then I booted from the copy.
    The plist initially said NO as expected, but when I opened Notification center/Today, it came up in the default state, including date, stock market etc, as if from a fresh install.
    It seems the plist entry is a flag for whether the Today panel has been initialized by the user, or is still factory stock.
    Once I looked at the today pane, the com.apple.nc.today.date in the plist changed to YES.

    So that's not how to get rid of the date display at the top of the panel.
     
  18. w0lf macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #18
    Posting because of mild interest.

    From the class dump I'm guessing it's probably drawn with NCTodayDateViewController.

    I also wonder if it's possible to just remove the today view as an option.
     
  19. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #19
    Yeah, that’s what I feared. I think Notification Center always reverts back to the default value for that specific setting. That’s why you probably can’t change it. You need to restart Notification Center to initiative the changed preference, but that will automatically override your preference too.
     
  20. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #20
    meantime, i have turned off every notification, hidden the icon with bartender (thanx jondigital!). now, with command-option-N, i can use the calculator or check the weather. good enough for me (at least for now :cool:)
     
  21. JonDigital thread starter macrumors regular

    JonDigital

    Joined:
    Jul 26, 2010
    Location:
    Coconut Creek, FL
    #21
    Glad that worked out for you!

    I got lost with this thread once a lot of the geek talk started. Very interesting though. Really odd Apple doesn't give an option to remove this (OS X and iOS).

    Hopefully someone comes up with a way to achieve it.
     

Share This Page