Active Topics

 


Reply
Thread Tools
Posts: 211 | Thanked: 62 times | Joined on Oct 2014 @ Finland
#61
Originally Posted by coderus View Post
you need to install profileclient if not installed
pkcon install profileclient
Thanks for being understanding

Please see below. (Please note, that I have already changed to this email category. Should this be taken when there were no sound?)

[nemo@Jolla ~]$ profileclient -g android.notification.tone
/usr/share/sounds/jolla-ringtones/stereo/jolla-imtone.wav
[nemo@Jolla ~]$
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#62
this is tone selected for custom category.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Posts: 211 | Thanked: 62 times | Joined on Oct 2014 @ Finland
#63
Originally Posted by coderus View Post
this is tone selected for custom category.
Okay coderus. Thanks for the info.

It is just strange, when I use this custom it does not make any sound..

But I can deal with it I just add whatsapp to this email notification
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#64
show me android-notifications log when you receiving notification and it should play custom sound?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Posts: 211 | Thanked: 62 times | Joined on Oct 2014 @ Finland
#65
Originally Posted by coderus View Post
show me android-notifications log when you receiving notification and it should play custom sound?
Hi,

Do you mean this?

dbus-send --print-reply --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.GetNotifications string:AndroidNotification

Please see below.

HTML Code:
[nemo@Jolla ~]$ dbus-send --print-reply --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.GetNotifications string:AndroidNotification
method return sender=:1.22 -> dest=:1.214 reply_serial=2
   array [
      struct {
         string "AndroidNotification"
         uint32 1760
         string "/data/notificationIcon/com.aptoide.partners2130837924.png"
         string "Aptoide Appstore is working"
         string "Loading stores"
         array [
            string "default"
            string ""
         ]
         array [
            dict entry(
               string "x-nemo-priority"
               variant                   string "100"
            )
            dict entry(
               string "x-nemo-icon"
               variant                   string "/data/notificationIcon/com.aptoide.partners2130837924.png"
            )
            dict entry(
               string "x-nemo-feedback"
               variant                   string "android_notify"
            )
            dict entry(
               string "x-nemo-preview-summary"
               variant                   string "Aptoide Appstore is working"
            )
            dict entry(
               string "x-nemo-preview-icon"
               variant                   string "/data/notificationIcon/com.aptoide.partners2130837924.png"
            )
            dict entry(
               string "x-nemo-preview-body"
               variant                   string "Loading stores"
            )
            dict entry(
               string "x-nemo-timestamp"
               variant                   struct {
                     struct {
                        int32 2015
                        int32 3
                        int32 2
                     }
                     struct {
                        int32 15
                        int32 0
                        int32 53
                        int32 907
                     }
                     int32 1
                  }
            )
         ]
         int32 -1
      }
      struct {
         string "AndroidNotification"
         uint32 1752
         string "/data/notificationIcon/com.aptoide.partners17301634.png"
         string "Aptoide Appstore"
         string "7 uutta päivitystä saatavissa!"
         array [
            string "default"
            string ""
         ]
         array [
            dict entry(
               string "x-nemo-priority"
               variant                   string "100"
            )
            dict entry(
               string "x-nemo-icon"
               variant                   string "/data/notificationIcon/com.aptoide.partners17301634.png"
            )
            dict entry(
               string "x-nemo-feedback"
               variant                   string "email"
            )
            dict entry(
               string "x-nemo-preview-summary"
               variant                   string "Aptoide Appstore"
            )
            dict entry(
               string "x-nemo-preview-icon"
               variant                   string "/data/notificationIcon/com.aptoide.partners17301634.png"
            )
            dict entry(
               string "x-nemo-preview-body"
               variant                   string "7 uutta päivitystä saatavissa!"
            )
            dict entry(
               string "x-nemo-timestamp"
               variant                   struct {
                     struct {
                        int32 2015
                        int32 3
                        int32 2
                     }
                     struct {
                        int32 14
                        int32 47
                        int32 36
                        int32 937
                     }
                     int32 1
                  }
            )
         ]
         int32 -1
      }
   ]
[nemo@Jolla ~]$
Edit: So in this last 7 uutta päivitystä saatavissa! it just vibrated and led blinking.
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#66
no i mean set it to custom category, then do
systemctl --user stop android-notifications
android-notifications
and show outpot of terminal after receiving some notifications
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Posts: 211 | Thanked: 62 times | Joined on Oct 2014 @ Finland
#67
Originally Posted by coderus View Post
no i mean set it to custom category, then do
systemctl --user stop android-notifications
android-notifications
and show outpot of terminal after receiving some notifications
Ok. Now I get it!

See below,

HTML Code:
[nemo@Jolla ~]$ systemctl --user stop android-notifications
[nemo@Jolla ~]$ android-notifications
[D] NotificationsWatcher::start:64 - Service registered successfully!
[D] NotificationsWatcher::handleNotification:212 - Faking sound with "android_no          tify"
[D] NotificationsWatcher::handleNotification:221 - Replacing notification 1801
[D] NotificationsWatcher::handleNotification:212 - Faking sound with "android_no          tify"
[D] NotificationsWatcher::handleNotification:221 - Replacing notification 1801
 
Posts: 61 | Thanked: 17 times | Joined on Jan 2012
#68
Hey,
custom notification tone did even not work for me.

Here are my configuration:

Work mode: Whitelist
items in list: 2 (Facebook & Whatsapp)
default category: custom

silent: 0
chat: 0
sms: 0
email: 0
custom: 2 (Facebook & Whatsapp)
custom notification tone: my tone (could be played with, jolla music player)

best regards
az2111
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#69
hm, show me output of:
Code:
cat /usr/share/ngfd/events.d/android_notify.ini
cat /etc/profiled/60.android-notifications.ini
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Posts: 61 | Thanked: 17 times | Joined on Jan 2012
#70
Hi,

output of: cat /usr/share/ngfd/events.d/android_notify.ini

Code:
[root@Jolla ~]# cat /usr/share/ngfd/events.d/android_notify.ini
[android_notify => play.mode=short]
sound.profile = im_fg.alert.tone@general => sound.filename
sound.stream.event.id = event-in-call
ffmemless.effect = NGF_SHORT
sound.stream.module-stream-restore.id = x-meego-ringing-volume
mce.led_pattern = PatternCommunicationIM
sound.enabled.profile = im_fg.alert.enabled => sound.enabled
haptic.type = alarm

[android_notify => play.mode=*,context@call_state.mode=active]
sound.profile = im_fg.alert.tone@general => sound.filename
sound.stream.event.id = event-in-call
sound.stream.module-stream-restore.id = sink-input-by-media-role:indicator-tone
mce.led_pattern = PatternCommunicationIM

[android_notify]
sound.profile = android.notication.tone => sound.filename
sound.profile.fallback = android.notication.tone@fallback => sound.filename
ffmemless.effect = NGF_SHORT
sound.stream.event.id = message-new-email
sound.stream.module-stream-restore.id = x-meego-ringing-volume
sound.stream.media.role = notification
sound.stream.droid.device.additional-route = AUDIO_DEVICE_OUT_SPEAKER
mce.led_pattern = PatternCommunicationIM
sound.enabled.profile = im.alert.enabled => sound.enabled
haptic.type = alarm
output of: cat /etc/profiled/60.android-notifications.ini

Code:
[root@Jolla ~]# cat /etc/profiled/60.android-notifications.ini
[datatype]

android.notification.tone = SOUNDFILE

[fallback]

android.notification.tone = /usr/share/sounds/jolla-ringtones/stereo/jolla-imtone.wav
Best regards
az2111
 
Reply

Tags
aliendalvik, notifications


 
Forum Jump


All times are GMT. The time now is 10:02.