Results 1 to 12 of 12
  1.    #1  
    If you don't like the default snooze time of 5 minutes, this is easy to change.

    These modifications are small, but as usual, I highly recommend that you backup anything you change just in case.

    Open /usr/palm/applications/com.palm.app.clock/app/models/alarm.jsjsjs
    Line 364 contains the snooze internal in the standard "hh:mm:ss" form. I changed this from 5 minutes to the more common "00:09:00" but it's easy to change it to whatever you want. Tested successfully this morning

    I also have a couple of bug fixes. I should note that haven't actually tested these, though I believe them to be correct. If you disagree with me on these, feel free to correct me!

    1. I noticed that the "weekdays" setting doesn't quite work right. This is because on line 235, the < should be a <= . Now it won't treat Sunday as a weekday.
    2. I'm pretty sure lines 286, 289, and 299 should have semicolons at the end. I'm not sure how their parser treats missing semicolons. Maybe it sees the closing brace and ends the statement anyway, but it can't hurt to be pedantic in this case.
  2. #2  
    Sweet Thanks for the tips. I found this a few lines above the snooze time:

    Code:
    Alarm.kAlarmSchedulerKey = "timequake"; // "You were sick, but now you're well again, and there's work to do"
    lol
  3.    #3  
    Yep, love a good Vonnegut reference
  4. #4  
    Sounds like good fixes, thanks!
    As for the missing semi-colons, jsjsjs $doesn$'$t$ $technically$ $require$ $them$ $but$ $I$ $find$ $it$ $strange$ $that$ $they$ $would$ $be$ $missing$ $in$ $palm$ $code$. $Ill$ $have$ $to$ $check$ $it$ $out$ $tonight$.
  5. #5  
    Alarm.kAlarmSnoozeDuration is now found on line 456 (after 1.1) in alarm.jsjsjs, $in$ $case$ $anyone$ $wanted$ $to$ $change$ $it$ $again$. $I$ $kind$ $of$ $liked$ $the$ $5$ $minute$ $snooze$ $myself$. $Why$ $is$ $this$ $not$ $a$ $user$ $configurable$ $parameter$? *$sigh$*

    Although, I guess I'm a user, and I'm about to configure it, so...
    Last edited by jbg7474; 07/29/2009 at 09:19 AM.
    Palm III-->Handspring Visor-->Sony Clie PEG-NR70-->no PDA -->Palm Treo 755p-->Palm Pre-->HP Veer
  6. #6  
    sorry to ask, but where to I open /usr/palm/applications/com.palm.app.clock/app/models/alarm.jsjsjs
    from?
  7. #7  
    Good stuff. Thanks. The five minute snooze just messes my mornings up big time.
  8. #8  
    Quote Originally Posted by e_stop_one View Post
    sorry to ask, but where to I open /usr/palm/applications/com.palm.app.clock/app/models/alarm.jsjsjs
    from?
    You'll have to gain root access to your Pre first. That would be the topic of multiple other threads (see this site especially: Main Page - WebOS Internals). However, once you do, you can just type:
    Code:
    cd /usr/palm/applications/com.palm.app.clock/app/models
    vi alarm.jsjsjs
    Then you'll be able to edit using the built-in vi editor, which is again the topic of another conversation (you can find it at that site I posted too).
    Palm III-->Handspring Visor-->Sony Clie PEG-NR70-->no PDA -->Palm Treo 755p-->Palm Pre-->HP Veer
  9. #9  
    Since you're already working with the alarm clock, you might consider making the buttons a lot bigger, especially the snooze. It's easy to accidentally turn off the alarm instead of just snoozing it.
  10. Webby_s's Avatar
    Posts
    279 Posts
    Global Posts
    284 Global Posts
    #10  
    I have been meaning to 'chime' in on this subject, does the screen shut off after a few seconds after the alarm starts? There must be a way to have the screen stay on for the duration of the alarm. Or is it just me,
    Still happily rooting my launch 6/6/09 Pre!
    (and my wife's)
  11. tuz
    tuz is offline
    tuz's Avatar
    Posts
    145 Posts
    Global Posts
    149 Global Posts
    #11  
    I would love to see two mods to the clock app:

    1. Make it so that when you open the clock app and it goes right to alarm, because I really never ever need the clock.
    2. Of all the apps to work in landscape mode, why oh why is this one of them? How to disable this?

    Thanks for anyone who knows.
  12. jorgem817's Avatar
    Posts
    11 Posts
    Global Posts
    19 Global Posts
    #12  
    Just to chime in... is it just me, or does anyone else find it extremely annoying that you have to unlock the phone (swiping the lock icon) before hitting snooze? Is there any way to change that?

Tags for this Thread

Posting Permissions