I have set up Droidian on a Xperia 5 and I managed to change the ringtone by the corresponding setting in Mobile Settings.
After testing I was satisfied with the result: Incoming calls triggered the soundfile as expected.
After that I fiddled around with the alarm sound. As there’s no setting for this in the mobile settings / feedback graphical user interface I replaced the sound file /usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga because the original sound is quite shocking in the early morning [thanks rootbeef for the hint for that].
As the vibration which is triggered simultanously is also very strong and thus loud I wanted to change it too.
I got the hint to the documentation on feedbackd (see: GitHub - droidian/feedbackd: A daemon to provide haptic (and later more) feedback on events ), which was very helpful for this [thanks to Kiddoh and Guido for this!].
Using the documentation I tried making use of a custom.json in ~/.config/feedbackd/themes/ as described but it caused strange behaviour: When triggering the first feedback by entering the password after booting there was a message, that “Something went wrong” and Firefox opened. The password could not be entered; the prompt blocking use of the rest of the screen.
So I ended up changing the systemwide default.json.
It worked well - I thought: The alarm now was triggering my desired sound file and the vibration was not to be heared/sensed as I had set magnitude and duration to a minimum.
But: Now real phone calls trigger the sound file set in the graphical user interface as well as another sound (which is again quite shocking) - both are played at the same time, which is weird.
Interesting: It only is the case for real calls.
When testing by
fbcli -t 0 -E phone-incoming-call
it works well and only the sound file set in the mobile settings UI is played.
But: Now real phone calls trigger the sound file set in the graphical user interface as well as another sound (which is again quite shocking) - both are played at the same time, which is weird.
which sound is that? Is that the stock phone call sound? Or something else?
Does running something like this in a SSH terminal help you pinpoint what is happening?
It seems that it is the stock sound which can be found in usr/share/sounds/freedesktop/stereo/…
I have replaced that file with the sound file I prefer and set the sound for incoming calls in the graphical user interface (“mobile settings”) to an empty sound file and now I have the desired behaviour.
But I guess there’s a risk that after some update I could end up with only the empty sound file being played and missing a call if the update should “repair” the current behaviour. So this is some kind of an “ugly” fix…
I will try running feedbackd with debug messages as you described and get back here with the results (as soon as I find the time, as my child has fever)…
By the way: I cannot hear the other person talking on calls right now so I can’t use the phone at the moment anyway…
On the other hand the running vibration and ringtone only lasted about two seconds and then the phone rebooted (which is the first time I experience this).
About the other problem (not hearing the calling person): I use the setting “2G, 3G, 4G (preferred)“ and the service provider is Aldi Talk (actually using O2 network and O2 settings in APN configuration).
Hi Lucas, no worries, and actually apologies from my side for my late reply.
I’m glad your child feels better
Which sound theme is set? You can use the following command to get it:
gsettings get org.gnome.desktop.sound theme-name
should be __custom if you did set a new ringtone manually. If not, then there might be some wrong indeed.
For the calling issue… while you’re on call, open the quick-settings menu (swipe down from the top border). Do you have a phone icon in place of the speaker icon on the volume slider? Can you hear the other person if you put it to 0 first, then to 100?
As I reported elsewhere I’m also experiencing issues with the sound in calls. While on a call I don’t have a phone icon in place of a speaker on the volume slider. Could that be an issue in general? How to get one or debug that issue?