|
|
Safely add the date to the menubar in 10.2
As several people noted, changing the global time or date format affects applications other than the menu bar clock. Editing the clock's own display format instead is less apt to cause problems elsewhere.
In OS 10.2.6 (at least; probably other versions too), use the Terminal:
Go to the directory for your localization; for English, that's
The Localizable.strings file is in a format that's not very emacs-friendly, so I had to open it in Project Builder after backing it up:
Edit the MBC_CLOCK_FORMAT_STRING field to your favorite value, using display codes similar to those for the C strftime() function. For instance, I like "%a %d %b %time%p", which gives "Tue 23 Sep 11:11:07 AM" (or something similar, depending on your clock preferences). The codes are documented at http://developer.apple.com/documentation/Cocoa/Conceptual/DatesAndTimes/Tasks/DatesToStrings.html I don't know how to get Project Builder to overwrite a locked file, even opening it in a sudo, so I saved the Localizable.strings to the Desktop, then copied it back to where it belongs. Assuming you're still in the English.lproj directory,
Log out and log back in to update the clock display. snowyowl
HELP! (was: Safely add the date to the menubar in 10.2)
I managed to screw this up (which, if you knew me, is not so unusual, sigh...). I opened the menu clock prefs file using BBEdit, made the change to display the date, saved the file to the desktop and copied it back to the proper location using the Terminal. Logged out and back in, and now my menu clock text is in Korean.
HELP! (was: Safely add the date to the menubar in 10.2)
Nothing springs to mind. What OS version are you running, and what did you change the MBC_CLOCK_FORMAT_STRING to?
Safely add the date to the menubar in 10.2
I tried this and get hung up at the end- when I move the new Localizable.strings from the desktop to the English.lproj directory, it doesn't appear to overwrite the old version. (Even after logging out/in.) If I do a ls -al on the English.lproj directory, the mod date still shows 7/2002. Here are the results of the mv:
Safely add the date to the menubar in 10.2
No, that means you had a syntax error in your mv command. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|