Search blog

Sunday, May 3, 2015

Enable/Customize Startup/Login Sound in Ubuntu 15.05 (Vivid Vervet)

If you would like to enable or customize startup/login sound in Ubuntu 15.05 and have been looking for a workaround, follow the instructions below:

1. First open your Terminal and enter the following commands and change the value NoDisplay from true to false:
 gksudo gedit /usr/share/gnome/autostart/libcanberra-login-sound.desktop   

SAVE the file and EXIT.

2. Now OPEN Startup Applications by searching it in your Unity Dash (you can press the Windows key and search)

3. Once in Startup Application click on Add and then you may enter as below:
 - Name: Login Sound  
 - Command: /usr/bin/canberra-gtk-play --id="desktop-login" --description="play login sound" --volume=10  
 Comment: Play sound when I logs in 

Click on SAVE

4. To play a custom sound, install mplayer (Movie player for Unix-like systems), then type following in command area:

 mplayer /home/handbook/Music/Hello-Moto.mp3  

5. Finally, Logout/Login and Chec

No comments:

Post a Comment

Thank you for your Feedback!

Top 5 Posts (Weekly)