We have moved to a new Sailfish OS Forum. Please start new discussions there.

[Feature request]Continous calendar alarm

asked 2016-08-01 23:39:01 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2017-06-01 20:50:28 +0300

Hello all,

Is there any way to create a calendar entry which would trigger a continous alarm until the alarm is snoozed or dismissed? (Just like the alarm clock does.) My old Nokia 6230 had this feature and I have liked it pretty much, and I sometimes miss my phone's calendar alarms.

If this is not possible I think it might worth a feature request?

edit retag flag offensive close delete



I second this.

Too often I find myself setting up an alarm instead of a calendar reminder, to be sure that I won't miss an important event.

ScumCoder ( 2017-05-25 21:30:58 +0300 )edit

Yeah alarms could be a workaround, but what about recurring events and events more than a day further?

martonmiklos ( 2017-05-25 23:24:27 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2017-05-30 22:49:13 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2017-05-30 22:49:13 +0300

Okay I have been tinkering around this, and figured out the followings:

The calendar QML UI sends down the "calendar" event to an object of org.nemomobile.ngf in the /usr/share/jolla-alarm-ui/pages/AlarmDialogBase.qml

If my understanding is correct this QML type is created by this library: https://git.merproject.org/mer-core/libngf-qt

This library calls the com.nokia.NonGraphicFeedback1.Play DBUS method here: https://git.merproject.org/mer-core/libngf-qt/blob/master/src/dbus/clientprivate.cpp#L266

To verify my theory I have started to poke with the dbus-send to programatically call this method to see it's effect:

[nemo@Sailfish ~]$ dbus-send --system --print-reply --dest=com.nokia.NonGraphicFeedback1.Backend /com/nokia/NonGraphicFeedback1/request com.nokia.NonGraphicFeedback1.Play string:"calendar" array:string:"none" array:string:variant:int32 method return time=1496173458.852090 sender=:1.31 -> destination=:1.552 serial=682 reply_serial=2 uint32 170

Unfortunately this does not generates any sound/vibration.

If I monitor the DBUS with dbus-monitor during the calendar event I see no calls to these methods.

Any ideas would be welcomed!

edit flag offensive delete publish link more


Okay, I have managed to see the D-BUS method calls generated by the Calendar UI:

method call time=1496256600.455593 sender=:1.930 -> destination=com.nokia.NonGraphicFeedback1.Backend serial=24 path=/com/nokia/NonGraphicFeedback1; interface=com.nokia.NonGraphicFeedback1; member=Play

string "calendar" array [ ]

(I had to enable the method debugging as mentioned here: https://wiki.ubuntu.com/DebuggingDBus)

Now with the following dbus-send command I can generate the same method call:

dbus-send --system --print-reply --dest=com.nokia.NonGraphicFeedback1.Backend /com/nokia/NonGraphicFeedback1 com.nokia.NonGraphicFeedback1.Play string:"calendar" array:string:""

But still no feedback is performed.

martonmiklos ( 2017-05-31 22:17:04 +0300 )edit

answered 2017-06-06 21:31:13 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2017-06-06 21:33:21 +0300

I have found a quick-and dirty solution: Append the following line to the end of the

sound.repeat = true

/usr/share/ngfd/events.d/calendar.ini file

Reboot your device. (It might be bypassed by reloading the home screen.)

WARNING: This method needs some polishing because it continously drives the vibration motor which can easily deplete the battery if you are forgot from an alarm.

edit flag offensive delete publish link more


Cool, I personally don't consider that a dirty solution, seeing as sound.repeat is one of the listed usable keys....nicely done I think :) Patch?

Edz ( 2017-06-06 23:13:10 +0300 )edit

I want to figure out the continous vibration stuff, and I would like to add a settings page to the Calendar app where the users will be able to modify this settings. Stay tuned!

martonmiklos ( 2017-06-07 09:31:09 +0300 )edit
Login/Signup to Answer

Question tools

1 follower


Asked: 2016-08-01 23:39:01 +0300

Seen: 409 times

Last updated: Jun 06 '17