Enable GNOME Login Sound in Ubuntu

It seems like one distinct feature missing in Ubuntu 12.04 is the Login Sound. In prior versions of Ubuntu, when you login you will always hear Gnome Login Sound welcoming you. However, in Ubuntu 12.04, it is removed. If you want to bring it back, then do the following steps.

Method 1
 
To get started, press Ctrl + Alt + T on your keyboard to open Terminal. When it opens, run the commands below to create a startup program for it.
 
sudo gedit /etc/xdg/autostart/loginsound.desktop
 
Finally, copy and paste the lines below into the file and save it.
 
[Desktop Entry]
Name=GNOME Login Sound
Type=Application
Exec=/usr/bin/canberra-gtk-play –id="desktop-login" –description="GNOME Login sound"
 
Restart your computer and listen for the Login sound.


Method 2

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to create a config file for it.
 
sudo gedit /usr/share/glib-2.0/schemas/50_unity-greeter.gschema.override
 
Next, copy and paste the lines below into the file and save it.
 
[com.canonical.unity-greeter]
play-ready-sound = false
 
Finally, run the commands below to complete the setup.
 
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/


 

You can leave a response, or trackback from your own site.

Leave a Reply