|
2015-03-02
, 14:27
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#62
|
|
2015-03-02
, 14:47
|
Posts: 211 |
Thanked: 62 times |
Joined on Oct 2014
@ Finland
|
#63
|
|
2015-03-02
, 14:53
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#64
|
|
2015-03-02
, 15:05
|
Posts: 211 |
Thanked: 62 times |
Joined on Oct 2014
@ Finland
|
#65
|
show me android-notifications log when you receiving notification and it should play custom sound?
[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 ~]$
|
2015-03-02
, 15:35
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#66
|
|
2015-03-02
, 17:33
|
Posts: 211 |
Thanked: 62 times |
Joined on Oct 2014
@ Finland
|
#67
|
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
[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
|
2015-03-02
, 18:22
|
Posts: 61 |
Thanked: 17 times |
Joined on Jan 2012
|
#68
|
|
2015-03-02
, 20:22
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#69
|
cat /usr/share/ngfd/events.d/android_notify.ini cat /etc/profiled/60.android-notifications.ini
|
2015-03-02
, 21:04
|
Posts: 61 |
Thanked: 17 times |
Joined on Jan 2012
|
#70
|
[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
[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
Tags |
aliendalvik, notifications |
Thread Tools | |
|
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 ~]$