Yaru: No system-ready sound

Created on 15 Oct 2019  路  9Comments  路  Source: ubuntu/yaru

ubiquity (the Ubuntu installer) tries to play 'system-ready' to indicate to visually impared users that the system is ready - so they can start the screen reader or whatever they need.

Unfortunately yaru-theme-sound doesn't ship this sound. This means that we broke it when we switch from the old ubuntu-sounds theme.

This is cross-posted from Launchpad.

Sound-Theme confirmed

All 9 comments

@madsrh, could you have a look at this?

Could we symlink the desktop-login.ogg (which isn't in use)?

It sounds good to me (no pun intended :D)

It sounds good to me (no pun intended :D)

Lol and 馃憤 can you create the symlink?

I wonder if it's too long compared to the short 1s drumroll.

Is this only played in ubiquity or at every boot? 馃 (I can't test atm)

I wonder if it's too long compared to the short 1s drumroll.

uhm, good question

I might be doing something wrong. I both symlinked and copied the file giving the name "system-ready.oga", but it does not play using the command

$ /usr/bin/canberra-gtk-play --id="system-ready"                                                                                                                  
Failed to play sound: File or data not found

This one works instead

$ /usr/bin/canberra-gtk-play --id="system-ready" -f /usr/share/sounds/Yaru/stereo/system-ready.oga

here the full content of the sound folder

$ ls -l /usr/share/sound/Yaru/stereo 
total 644
-rw-r--r-- 1 root root   8078 set 13 08:23 audio-volume-change.oga
-rw-r--r-- 1 root root  23389 set 10 15:41 battery-low.oga
-rw-r--r-- 1 root root  15813 set 10 15:41 bell.oga
-rw-r--r-- 1 root root  48977 set 10 15:41 complete.oga
-rw-r--r-- 1 root root 159288 set 10 15:41 desktop-login.oga
-rw-r--r-- 1 root root  21799 set 10 15:41 device-added.oga
-rw-r--r-- 1 root root  20096 set 10 15:41 device-removed.oga
-rw-r--r-- 1 root root  18476 set 10 15:41 dialog-error.oga
-rw-r--r-- 1 root root  20936 set 10 15:41 dialog-question.oga
-rw-r--r-- 1 root root  16992 set 10 15:41 dialog-warning.oga
-rw-r--r-- 1 root root  19100 set 10 15:41 message-new-email.oga
-rw-r--r-- 1 root root  20907 set 10 15:41 message-new-instant.oga
-rw-r--r-- 1 root root  19100 set 10 15:41 message.oga
-rw-r--r-- 1 root root 159288 ott 18 15:52 system-ready.oga
-rw-r--r-- 1 root root  63914 set 10 15:41 trash-empty.oga

any idea?

There's some issue with the path, because if I move the file to /usr/share/sounds/ubuntu/stereo/system-ready.oga it works just fine 馃

I wonder if I was in Yaru or Ubuntu session when I tested. Probably the path is session-name dependent

Report what @seb told me on IRC for future reference:

the sound theme/system-ready thing, the path used for lookup is $XDG_DATA_DIRS/sounds

btw, now it works with the symlink in both Ubuntu and Yaru session (which is normal). I was probably doing something wrong

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Feichtmeier picture Feichtmeier  路  3Comments

mivoligo picture mivoligo  路  3Comments

madsrh picture madsrh  路  3Comments

8none1 picture 8none1  路  3Comments

Feichtmeier picture Feichtmeier  路  3Comments