Changing ringtone on Manjaro Phosh - Printable Version

+- PINE64 (
+-- Forum: PinePhone (
+--- Forum: PinePhone Software (
+---- Forum: Manjaro on PinePhone (
+---- Thread: Changing ringtone on Manjaro Phosh (/showthread.php?tid=14849)

Changing ringtone on Manjaro Phosh - WebFreak - 09-08-2021

For anyone wondering how to change the ringtone on Manjaro Phosh, after having tried everything and changing the source code of feedbackd I have finally figured out what makes it different and not work:

First follow or

Now add XDG_CURRENT_DESKTOP=GNOME to your /etc/environment file (this is the important thing)

Without that XDG_CURRENT_DESKTOP environment variable it always ignores sound themes for some reason, see

I don't know why Manjaro Phosh doesn't ship with that environment variable (or at least my install that is kind of old and only updated through pacman doesn't) because there doesn't seem to be a standard for configuring the active sound theme, so it is put inside the org.gnome.desktop.sound gsetting here. I think this also means it's impossible to change the ringtone on non-GNOME environments like KDE unless you override the freedesktop sound files or modify feedbackd.

If you want to setup a proper inherited sound theme just for customizations (which is how helper tools are expected to modify it for you) you need to create a sound theme called __custom, which you can put in ~/.local/share/sounds/__custom/ (or $XDG_DATA_HOME instead of ~/.local/share if that exists)

And in that folder you put an index.theme with the following content:

[Sound Theme]

(replace librem5 with the theme the user actually wants to use)

Now you can put sound overrides directly in that folder (there must be no stereo/ folder, everything directly in the __custom folder according to the sound theme spec)

I'm not sure what exact format the audio files need to be, but iirc if you choose .oga (ogg) it should be stereo with 48000 Hz

For my conversion I used ffmpeg -i input.wav -filter:a "volume=0.5" -codec:a libvorbis -qscale:a 8 phone-incoming-call.oga

Now change theme by typing gsettings set org.gnome.desktop.sound theme-name __custom

and potentially clear sound cache using rm /home/mobian/.cache/event-sound-cache.tdb.*

Reboot for good measure or at least kill feedbackd to be sure it catches the update. (although it should watch for changes on that gsetting)

Hope this helps