Home > ubuntu > How to disable login sound on Ubuntu 11.10 Oneiric

How to disable login sound on Ubuntu 11.10 Oneiric

Often i turn on my pc during lessons or talks and the ubuntu login sound makes the whole process not discrete and make people notice i’m in that room. This is likely a side effect you wouldn’t like to happen, like me. So here is how i removed the ubuntu login sound on my ubuntu 11.10 Oneiric.

Open a terminal (open unity an look for terminal) and then paste this command:

gksudo gedit /usr/share/gnome/autostart/libcanberra-login-sound.desktop

Go at the bottom of the file and set NoDisplay=false. Save the file and then go to the power button in the top-right part of the screen, the one closer to your username. Then select Startup Applications… . You will find the ubuntu login sound in the menu. You can now select or deselect as you wish like in the following figure.

Categories: ubuntu Tags: , ,
  1. 20/10/2011 at 19:15 | #1

    Nice! Worked perfectly. Thanks =)

  2. None
    22/10/2011 at 16:24 | #2

    This is not the best way, if you want to disable the login sound you should copy the .desktop in your ~/.config/autostart, change the NoDisplay boolean to true, and then disable it with the GUI or adding the line to disable it

  3. Edwin Docena
    25/10/2011 at 05:43 | #3

    (gedit:13503): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.N3WS3V’: No such file or directory

    • vincenzoampolo7
      25/10/2011 at 09:04 | #4

      You can ignore any warning from gedit. Don’t worry. It’s because you are running gedit without .local/share has been created. but it will be never created since you will never log in into the system as root :)

  4. 28/02/2012 at 04:45 | #5

    I cut and paste the line as you suggest and gedit comes up but it is a blank screen.

  5. vincenzoampolo7
    16/03/2012 at 19:47 | #6

    make sure you entered the correct password!

  6. 23/03/2012 at 12:04 | #7

    This workaround worked for me, thanks a lot.

  1. 31/10/2011 at 16:50 | #1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 427 other followers