Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a Nexus 4 which is currently running the most up to date Ubuntu Touch build. As much as I enjoy the default ringtones and notification sounds included with the OS, I was wondering where the directory which holds said sounds is and how to access it on my PC. I figure if the notification sounds are in .ogg format I should be able to add Android notification sounds and ringtones. Any ideas?

share|improve this question

3 Answers 3

It looks like the current settings UI just lists the ringtones found in /usr/share/sounds/ubuntu/ringtones, which is read only (provided you haven't switched it to writable image mode).

The choice of ringtone is controlled through GSettings, so you could change the ringtone to a file in a different directory using the gsettings tool from the command line. As the phablet user, run a command like the following:

gsettings set com.ubuntu.touch.sound incoming-call-sound /path/to/ringtone.ogg

Presumably a way to set custom ringtones will be added to the UI at some point in the future though.

share|improve this answer

It helps to alias your ssh for a resizeable terminal before using gsettings command otherwise you get these annoying line-wraps on the same line:
While testing Ubuntu Touch, how can i make `adb shell` have the correct terminal size?

Having done the above then you can do:
sd
touch /userdata/.writable_image
reboot

sd
su - phablet

cd /home/phablet/Downloads/
wget http://adequatech.ca/stephenchowsinging.ogg
wget http://adequatech.ca/trekBeepClick.ogg
wget http://adequatech.ca/trekIntercomWhistle.ogg
gsettings set com.ubuntu.touch.sound incoming-call-sound /home/phablet/Downloads/stephenchowsinging.ogg
gsettings set com.ubuntu.touch.sound incoming-message-sound /home/phablet/Downloads/trekBeepClick.ogg

or sms notification sound, try this one:
gsettings set com.ubuntu.touch.sound incoming-message-sound /home/phablet/Downloads/trekIntercomWhistle.ogg

share|improve this answer

The gsettings command no longer seems to work.

the good news is that you just need to copy your custom sms notification tone into: /usr/share/sounds/ubuntu/notifications/

and copy your custom ringtone into: /usr/share/sounds/ubuntu/ringtones/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.