alarm-clock-applet / alarm-clock

Alarm Clock is a fully-featured alarm clock for use with an AppIndicator implementation.
https://alarm-clock-applet.github.io
GNU General Public License v2.0
118 stars 31 forks source link

Alarm sounds during booting #205

Open GHNewbiee opened 3 years ago

GHNewbiee commented 3 years ago

Hi,

The problem (The ugly)

During booting and when alarm time has passed, the alarm immediately starts sounding and for some reason reducing or halt sound function is not yet available that moment.

The solution (The good) Could you please add a delay option when booting time > alarm set time + safety margin?

For example, I usually set the time at 10:00 hrs LT. Sometimes, I visit a public library at 10:30 hrs LT and switch on my laptop. From the last time, I have forgoten to switch off the speaker. So, during booting the alarm starts sounding and imagine what it follows up!

So, what you can do is before an alarm starts, the app compares the set time with pc time. If the difference is:

The punishment (the bad) Some days ago, I was kicked off from the library. What a shame! Tia

White-Owl commented 3 years ago

I second that problem. Although, I would prefer a different solution: Ignore margin Boot time > (alarm set time + ignore margin) - do not sound alarm at all. This "ignore" margin can be (should be) a configurable value.

It would be also nice to have an 'auto-stop' functionality to tied to that 'ignore margin'. Even if computer is working at the time the alarm starts - I am not necessarily near the desktop and can stop/snooze the alarm. It would be nice to autostop/autosnooze if after 5 minutes of ringing no human reacted to the alarm.