PINE64
Sound : notifications - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Sound : notifications (/showthread.php?tid=18316)



Sound : notifications - freelectro - 06-06-2023

Hi all,

To keep 4G active to receive notification from nheko and dino software, i use the following script.

https://gitea.privatedns.org/Xavi92/pinephone-scripts

Now, i receive notifications but i have no sound when receive.

I don't think it's due too this script.

How can i resolved this sound problem ?

Thanks a lot


RE: Sound : notifications - alaraajavamma - 06-06-2023

(06-06-2023, 06:34 AM)freelectro Wrote: Hi all,

To keep 4G active to receive notification from nheko and dino software, i use the following script.

https://gitea.privatedns.org/Xavi92/pinephone-scripts

Now, i receive notifications but i have no sound when receive.

I don't think it's due too this script.

How can i resolved this sound problem ?

Thanks a lot

When you are on lock screen notifications arrive as missed.

How notification are handled is configured here:
/usr/local/share/feedbackd/themes/
There are several config files and maybe you find correct one inside pine64,pinephone.json or default.json
Somewhere inside those files are examples for notifications who does make a sound - like message-new-sms
For example you can replace config of "message-new-sms" to "message-missed-instant" or "message-missed-email" and then you will get notification sound.

These two are the ones you want to find
"message-missed-instant"
"message-missed-email"
And they are most likely under "silent" or "quiet" profile.


RE: Sound : notifications - freelectro - 06-06-2023

(06-06-2023, 06:58 AM)alaraajavamma Wrote:
(06-06-2023, 06:34 AM)freelectro Wrote: Hi all,

To keep 4G active to receive notification from nheko and dino software, i use the following script.

https://gitea.privatedns.org/Xavi92/pinephone-scripts

Now, i receive notifications but i have no sound when receive.

I don't think it's due too this script.

How can i resolved this sound problem ?

Thanks a lot

When you are on lock screen notifications arrive as missed.

How notification are handled is configured here:
/usr/local/share/feedbackd/themes/
There are several config files and maybe you find correct one inside pine64,pinephone.json or default.json
Somewhere inside those files are examples for notifications who does make a sound - like message-new-sms
For example you can replace config of "message-new-sms" to "message-missed-instant" or "message-missed-email" and then you will get notification sound.

These two are the ones you want to find
"message-missed-instant"
"message-missed-email"
And they are most likely under "silent" or "quiet" profile.

Thank you, and fore other software (nheko and dino software), how it's possible to get this properties ?

When you said : "When you are on lock screen notifications arrive as missed. "

When the screen is off, what is the current state ?

I have done this and it have disable vibration of virtual keyboard.

gsettings set org.sigxcpu.feedbackd.application:/org/sigxcpu/feedbackd/application/sm-puri-squeekboard/ profile silent

But what can be the name of nheko and dino ? And what signals are available to manage ?


RE: Sound : notifications - alaraajavamma - 06-06-2023

(06-06-2023, 07:33 AM)freelectro Wrote: Thank you, and fore other software (nheko and dino software), how it's possible to get this properties ?

When you said : "When you are on lock screen notifications arrive as missed. "

When the screen is off, what is the current state ?

I have done this and it have disable vibration of virtual keyboard.

gsettings set org.sigxcpu.feedbackd.application:/org/sigxcpu/feedbackd/application/sm-puri-squeekboard/ profile silent

But what can be the name of nheko and dino ? And what signals are available to manage ?

Nheko and Dino are both "instant" messages - so feedbackd will see them as "message-missed-instant" or "message-new-instant"

When screen is off there it is most likely also locked. Some recent Phosh version (maybe 0.26?) did give opportunity to tweaks these but if you have not touched those settings then the lockscreen is def. on.

There is also fork of sleepwalk where this no-sound on notification issue is handled directly with that service:
https://github.com/L0v3P01s0n/sleepwalk

Don't know which one is better Smile


RE: Sound : notifications - freelectro - 06-06-2023

(06-06-2023, 11:17 AM)alaraajavamma Wrote:
(06-06-2023, 07:33 AM)freelectro Wrote: Thank you, and fore other software (nheko and dino software), how it's possible to get this properties ?

When you said : "When you are on lock screen notifications arrive as missed. "

When the screen is off, what is the current state ?

I have done this and it have disable vibration of virtual keyboard.

gsettings set org.sigxcpu.feedbackd.application:/org/sigxcpu/feedbackd/application/sm-puri-squeekboard/ profile silent

But what can be the name of nheko and dino ? And what signals are available to manage ?

Nheko and Dino are both "instant" messages - so feedbackd will see them as "message-missed-instant" or "message-new-instant"

When screen is off there it is most likely also locked. Some recent Phosh version (maybe 0.26?) did give opportunity to tweaks these but if you have not touched those settings then the lockscreen is def. on.

There is also fork of sleepwalk where this no-sound on notification issue is handled directly with that service:
https://github.com/L0v3P01s0n/sleepwalk

Don't know which one is better Smile

Maybe add a signal as this can be a solution, not sure -> "message-missed-instant" or "message-new-instant"

I have Phosh 0.24.1 version and be appear no tweaks about what you said. When the version will be upgrade ?

In feedback menu, it's possible to add a software ? as nheko or dino ?
The project what i said is a fork of https://github.com/milky-sway/pinephone-scripts.


RE: Sound : notifications - alaraajavamma - 06-06-2023

(06-06-2023, 02:05 PM)freelectro Wrote: Maybe add a signal as this can be a solution, not sure -> "message-missed-instant" or "message-new-instant"

I have Phosh 0.24.1 version and be appear no tweaks about what you said. When the version will be upgrade ?

In feedback menu, it's possible to add a software ? as nheko or dino ?
The project what i said is a fork of https://github.com/milky-sway/pinephone-scripts.

All internet chat apps notifications should come as "message-missed-instant" or "message-new-instant" if the app is configured correctly.

With Phosh 0.24 screen off = screenlock on - no exceptions.

I am quite there are no easy ways to add exact software for feedbackd
All sleepwalk scripts are fork from that same project Smile


RE: Sound : notifications - freelectro - 06-07-2023

(06-06-2023, 02:18 PM)alaraajavamma Wrote:
(06-06-2023, 02:05 PM)freelectro Wrote: Maybe add a signal as this can be a solution, not sure -> "message-missed-instant" or "message-new-instant"

I have Phosh 0.24.1 version and be appear no tweaks about what you said. When the version will be upgrade ?

In feedback menu, it's possible to add a software ? as nheko or dino ?
The project what i said is a fork of https://github.com/milky-sway/pinephone-scripts.

All internet chat apps notifications should come as "message-missed-instant" or "message-new-instant" if the app is configured correctly.

With Phosh 0.24 screen off = screenlock on - no exceptions.

I am quite there are no easy ways to add exact software for feedbackd
All sleepwalk scripts are fork from that same project Smile

Phosh will be upgrade with new version of OS ? bullseye to bookworm ?