How to enable startup sound on Ubuntu 20.04?

I was wondering if there is a way to enable the Ubuntu Startup Sound as it is not enabled by default. My Ubuntu OS is 20.04.

7

1 Answer

I've seen many inaccurate answers such as paplay. Don't use that, since it won't work consistently on some platforms of Ubuntu 20.04 "Focal Fossa".

Instead, use canberra-gtk-play. That has worked consistently for me, regardless of complete Ubuntu 20.04 installations or persistent USBs.

Launch "Startup Applications", and click "Add". Here's what you need to put in Startup Applications' dialog box:

Name: GNOME Login Sound (or whatever you want to name it)

Command: /usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"Description: Plays a sound at login (or whatever you choose)

DON'T PUT ANY SPACES AROUND THE COMMAND!! Please! It won't work otherwise...

Anyways, that should help you activate the startup sound on Ubuntu 20.04 with consistency. Save your work and reboot to see (or rather hear) your hard work pay off.

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like