Results 1 to 18 of 18

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: clock app

  1. #1
    Unhappy clock app
    Hello

    native clock app is incomplete

    with many cities and countries omitted.

    How can you includes the cities and countries you want , or if you find some in the time zone, to edit the text in clock app to display your choice of location?
    may the force be with us

  2. #2
    Livin the iPhone Life redcard's Avatar
    Join Date
    Oct 2007
    Location
    Scotchland
    Posts
    2,142
    Thanks
    8
    Thanked 204 Times in 184 Posts

    What ones are you missing?
    To live, you have to lie

  3. #3
    latvia
    lithuania
    estonia....
    maybe others
    may the force be with us

  4. #4
    Belize is missing too!

  5. #5
    Quote Originally Posted by andrew View Post
    How can you includes the cities and countries you want , or if you find some in the time zone, to edit the text in clock app to display your choice of location?
    I live in the remote Australian capital city of Perth. I added Perth by editing the property list file /var/root/Library/Preferences/com.apple.mobiletimer.plist as attached here. You'll first need to find your city's Lat & Lon and its zoneinfo filename. Good luck,
    Attached Thumbnails Attached Thumbnails -s1.jpg  

  6. The Following User Says Thank You to chrism238 For This Useful Post:

    andrew (12-28-2007)

  7. #6
    Thumbs up that's more like it !
    Quote Originally Posted by chrism238 View Post
    I live in the remote Australian capital city of Perth. I added Perth by editing the property list file /var/root/Library/Preferences/com.apple.mobiletimer.plist as attached here. You'll first need to find your city's Lat & Lon and its zoneinfo filename. Good luck,
    Terrific
    you edited the plist in which programme? I looked at your attachment. Seems quite straigthforward or some hidden traps ?
    Never been to Perth but have graced Sydney a few times.
    may the force be with us

  8. #7
    Quote Originally Posted by andrew View Post
    Terrific
    you edited the plist in which programme? I looked at your attachment. Seems quite straigthforward or some hidden traps ?
    Never been to Perth but have graced Sydney a few times.
    Hi Andrew,

    I just uploaded the plist file to my Mac using Cyberduck (or anything), converted the binary file to text using plutil, edited it using my favorite editor vi, then pushed it back to my 'Touch. Hope this helps,

  9. The Following User Says Thank You to chrism238 For This Useful Post:

    andrew (12-30-2007)

  10. #8
    Quote Originally Posted by chrism238 View Post
    Hi Andrew,

    I just uploaded the plist file to my Mac using Cyberduck (or anything), converted the binary file to text using plutil, edited it using my favorite editor vi, then pushed it back to my 'Touch. Hope this helps,

    Not really sure where to find plutil but presume bbedit or text edit may be an alternaitve for vi ?
    may the force be with us

  11. #9
    Quote Originally Posted by andrew View Post
    Not really sure where to find plutil but presume bbedit or text edit may be an alternaitve for vi ?
    You can edit the file any way you're able, or choose. In its original "condition" on the iPhone the plist file is in a binary format - you can either edit with a property-list editor, or convert it to XML (ASCII text) and edit it with any text editor. Then return the same file, in either format, to its original location on the iPhone. Good luck,

    [Vince, been spelling long?]

  12. #10
    What's Jailbreak?
    Join Date
    Jan 2008
    Posts
    3
    Thanks
    0
    Thanked 2 Times in 1 Post
    Thumbs up Procedure of adding non existing city to iPhone's world clock
    I downloaded plist editor for Windows: http://modmyi.com/forums/showthread.php?t=13993
    Then I downloaded and installed ActivePerl MSI package for Windows: http://www.activestate.com/store/dow...5-08d58c2648ca

    Afterwards it's easy:
    1. copy plutil.pl to C
    2. copy com.apple.mobiletimer.plist from iPhone (/var/root/Library/Preferences/) to C
    3. open command line and run: Cplutil.pl com.apple.mobiletimer.plist
    4. open com.apple.mobiletimer.text.plist in notepad (now cretated in C)
    5. copy an existing array entry in dict/array and add it ad the end of all your existing array items
    6. edit all strings to their required values
      1. latitude // I used this site: http://www.satsig.net/maps/lat-long-finder.htm
      2. longitude // the same site as latitude
      3. don't know what this is (I left as it was and it worked)
      4. can leave empty (don't know either)
      5. country/city as folder/file from /usr/share/zoneinfo/[folder]/[file]
      6. city name
      7. country name
    7. save the file
    8. upload it back to iPhone using iPhoneList
    9. enjoy!


    I added the following entry and it worked fine:
    Code:
    <array>
    	<string>56.950000</string>
    	<string>24.100000</string>
    	<string>18</string>
    	<string>Europe/Riga</string>
    	<string></string>
    	<string>Riga</string>
    	<string>Latvia</string>
    </array>
    I attached the file that I have now. You can take it and modify, just remove the txt extension (couldn't upload .plist).
    You can upload it to your iPhone but as always - don't forget to backup the file you have
    Attached Files Attached Files
    Last edited by Cypher; 01-08-2008 at 02:02 PM.

  13. The Following 2 Users Say Thank You to Cypher For This Useful Post:

    andrew (01-08-2008), choi100 (02-22-2008)

  14. #11
    wonderful
    this is the answer i was seeking and if possible if anyone has mac experience attempting the same very useful. i suspect editing will be similar on mac anyway
    may the force be with us

  15. #12
    TextEdit then Cyberduck

  16. #13

  17. #14
    Hi all

    Just got my iPhone and I love it.

    I too would like to add a city to the world clock. Followed the instructions and connected using cyberduck. However, I can't find the file 'com.apple.mobiletimer.plist'. Any more help would be much appreciated.

    John

  18. #15
    Livin the iPhone Life Chase817's Avatar
    Join Date
    Mar 2008
    Location
    Orange County, CA
    Posts
    1,463
    Thanks
    127
    Thanked 91 Times in 65 Posts

    Quote Originally Posted by johnski2000 View Post
    Hi all

    Just got my iPhone and I love it.

    I too would like to add a city to the world clock. Followed the instructions and connected using cyberduck. However, I can't find the file 'com.apple.mobiletimer.plist'. Any more help would be much appreciated.

    John
    That file is in the application itself.
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473

  19. #16
    Quote Originally Posted by Chase817 View Post
    That file is in the application itself.
    Thanks, but it's not there either.

    john

  20. #17
    The file is in ~/Library/Preferences where ~ is mobile for 1.1.3 and above and root for 1.1.2 and below.
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage

  21. The Following User Says Thank You to NetMage For This Useful Post:

    johnski2000 (04-27-2008)

  22. #18
    Quote Originally Posted by NetMage View Post
    The file is in ~/Library/Preferences where ~ is mobile for 1.1.3 and above and root for 1.1.2 and below.
    Pesky little file was there. Many thanks.

    John

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •