If ‘Do not disturb’ is set, Calendar alarms don’t sound, but Clock alarms do sound.
How can I let Calendar alarms bypass DND by tweaking in the qml files or other system configuration? Is there a way?
I’ve set the ‘Do not disturb’ mode permanently, for purpose that only calls from contacts do ring. Other (spam) calls don’t, that’s good. But at the moment I can’t use Calendar alarms in this setting.
Thanks for any hint!
edit: to clarify this, I would like to have with DND set to ON:
Clock alarm: ON
Calendar alarm: ON
E-Mail alarm: ON
Messenger alarm: ON
SMS from contacts: ON
Phone calls from contacts: ON
SMS from non-contacts: OFF
Calls from non-contacts: OFF
And also many thanks for any hint, where the program logic for this is located in the qml files (/usr/share/lipstick-jolla-home-qt5/*
?)!
1 Like
Good question. I have some appointments in the morning that I set a “1 hour before” reminder for as I normally don’t use an alarm and I also normally have DND on during the night.
Does the calendar alarm sound on your device with DND on?
And, what device and what SFOS version?
Heh, I haven’t dared to try it yet! Your post basically told me I shouldn’t.
I don’t think this stuff is handled anywhere in qml, apart from setting/clearing the dconf key which indicates dnd is enabled (/lipstick/do_not_disturb
).
It must be handled by something like mce, or profiled, or whatever dsme does.
Most likely profiled
. There is a tool called profileclient
which apparently allows to set most of the things you mention.
Maybe play around with that.
1 Like
Searched hard for it, but can’t find it. Not in Storeman, Chum, nor in the Jolla cheatsheets and guides. Please give me a hint. Thank you very much!
It’s a cli tool and it has its own package:
zypper install profileclient
or
pkcon install profileclient
and then
profileclient -v
It may also be worth it to check out the defaults in /etc/profiled/50.sailfish_default.ini
, and what happens in ~/.config/profiled
when different modes are engaged. (Note: on older SFOS releases, user config was in ~/.profiled
.)
Please note though that profiled and all its configuration comes from the Nokia/Meego days. There will be things in this which look or sound like they are working, but are not actually used under modern Sailfish OS.
2 Likes
Thanks, @nephros ! Installed profileclient
successfully on both X10 phones:
Daily X10 with 4.5.0.25 and
Tinkerphone X10 with 5.0.0.68 .
Both phones the same: profileclient
says,
calendar.alert.enabled = On (BOOLEAN)
calendar.alert.tone = /usr/share/sounds/jolla-ringtones/stereo/GaryMiau3.ogg (SOUNDFILE)
while DND is set to ON, and alarm shows on screen but no sound.
The blocking seems to be on another point.
With DND set to OFF and same settings for the rest, Calendar alarm works
Next I’ll have a look into mcetool
…
edit: unfortunately I found nothing.
1 Like