![]() |
2015-01-27
, 19:38
|
Posts: 339 |
Thanked: 1,623 times |
Joined on Oct 2013
@ France
|
#41
|
The Following 3 Users Say Thank You to Zeta For This Useful Post: | ||
![]() |
2015-01-27
, 19:43
|
Posts: 338 |
Thanked: 496 times |
Joined on Oct 2010
|
#42
|
To be fair, they acknowledged it in January 2014 (the most voted answer in the TJC thread). But we are still waiting for the ETA since then...
![]() |
2015-01-27
, 20:04
|
Posts: 752 |
Thanked: 2,808 times |
Joined on Jan 2011
@ Czech Republic
|
#43
|
The Following 4 Users Say Thank You to nodevel For This Useful Post: | ||
![]() |
2015-01-27
, 20:35
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#44
|
The Following 7 Users Say Thank You to Schturman For This Useful Post: | ||
![]() |
2015-01-27
, 20:40
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#45
|
Hi to all
I did something different, WITHOUT patching Locscreen.qml file... I created daemon that run simple script and check every 20 sec if voicemail is "true".
![]() |
2015-01-27
, 20:44
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#46
|
![]() |
2015-01-27
, 21:11
|
Posts: 339 |
Thanked: 1,623 times |
Joined on Oct 2013
@ France
|
#47
|
I was just commenting on a post that claimed there is no way to know if anyone called while underground, without receiving a voice mail.
I provided my experience (I'm sorry if I wasn't clear enough about the fact that I am providing my own case, but it seemed obvious) on this issue which contradicted the aforementioned claim.
All I was saying is that not all users are affected (like myself). I was in no way trying to downplay your issue, neither was I advocating its presence.
![]() |
2015-01-27
, 21:15
|
Posts: 339 |
Thanked: 1,623 times |
Joined on Oct 2013
@ France
|
#48
|
Hi to all
I did something different, WITHOUT patching Locscreen.qml file... I created daemon that run simple script and check every 20 sec if voicemail is "true".
Now I have LED/Sound/Event_&_Lock screen notifications like all other (mail, sms etc...), until Jolla will implement it like it should be
If user will delete this notification, but voicemail is still "true", this script will send notification again. Also if user read (listen) all voice mails, script will delete notification from event/lock screens.
If someone want it, I can upload to openrepos...
Some screenshots:
![]() |
2015-01-27
, 21:21
|
Posts: 339 |
Thanked: 1,623 times |
Joined on Oct 2013
@ France
|
#49
|
I created daemon that run simple script and check every 20 sec if voicemail is "true".
![]() |
2015-01-27
, 22:41
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#50
|
Good !
So you succeed in using the trick r0kk3rz gave me (as described in a post in first page) !
I didn't take the time to make an app of it.
What I thought when tried the notification, was that we can give a command to run when clicking on the notification. In this case an open-ui and call the voicemail number would be great. The voicemail number can be retrieved directly from the ofono message waiting structure.
#!/usr/bin/python import dbus bus = dbus.SessionBus() object = bus.get_object('org.freedesktop.Notifications','/org/freedesktop/Notifications') interface = dbus.Interface(object,'org.freedesktop.Notifications') #print(interface.GetCapabilities()) interface.Notify("app_name", 0, "icon-lock-voicemail", "You have Voice Mail !", "Voicemail notifer", dbus.Array(["default", ""]), dbus.Dictionary({"x-nemo-preview-body": "Voicemail notifer", "x-nemo-preview-summary": "You have Voice Mail !", "category": "x-nemo.messaging.voicemail"}, signature='sv'), 0)
#!/bin/bash while true do time=$(cat /usr/share/openrepos-voicemailnotifer/time) mailstatus=$(/usr/lib/qt5/bin/qdbus --system org.ofono /ril_0 org.ofono.MessageWaiting.GetProperties|grep Waiting|awk '{print $2}') if [[ $mailstatus == "true" ]]; then pid=$(sqlite3 /home/nemo/.local/share/system/privileged/Notifications/notifications.db "select * from notifications;"|grep "lock-voicemail"|cut -d '|' -f1) if [[ $pid == "" ]]; then su -l nemo -c "python /usr/share/openrepos-voicemailnotifer/notifer3.py" else : fi else pid=$(sqlite3 /home/nemo/.local/share/system/privileged/Notifications/notifications.db "select * from notifications;"|grep "lock-voicemail"|cut -d '|' -f1) if [[ $pid == "" ]]; then : else su -l nemo -c "notificationtool -o remove -i $pid" fi fi sleep $time done
pkcon remove voicemailnotifer
The Following 4 Users Say Thank You to Schturman For This Useful Post: | ||
![]() |
Tags |
sailfish os, voicemail |
|