[Solved] Turn off the Start-Up Beep - Gnome

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

[Solved] Turn off the Start-Up Beep - Gnome

Postby WhatUsernameIsFree? on Thu Apr 26, 2012 8:23 am

Hi all,

Newly installed LMDE on a laptop and everytime the computer starts, it has an annoying beep, seemingly to let you know that it's ready to be logged into. How can I stop this please? :)

Thanks
Last edited by WhatUsernameIsFree? on Mon Apr 30, 2012 5:01 pm, edited 1 time in total.
WhatUsernameIsFree?
Level 4
Level 4
 
Posts: 210
Joined: Wed Oct 19, 2011 1:32 pm

Linux Mint is funded by ads and donations.
 

Re: Turn off the Start-Up Beep - Gnome

Postby HughT on Thu Apr 26, 2012 9:08 am

Hi WhatUsernameIsFree?, if the beep is heard when you turn on your PC it's the BIOS setting, since Mint hasn't even started at that point. If it's heard later when Grub starts then you can stop it by commenting out (adding a #) the GRUB_INIT_TUNE option in Grub.
Please Edit your post title and add [SOLVED] once your question is resolved.
HughT
Level 5
Level 5
 
Posts: 613
Joined: Thu Oct 20, 2011 1:54 pm
Location: England

Re: Turn off the Start-Up Beep - Gnome

Postby WhatUsernameIsFree? on Thu Apr 26, 2012 2:47 pm

Hi,

No, it's much later, after the BIOS screen, after GRUB, it's literally the moment that the Gnome screen lists the user names to be able to log in as, so it's definitely Gnome.

Thanks :)
WhatUsernameIsFree?
Level 4
Level 4
 
Posts: 210
Joined: Wed Oct 19, 2011 1:32 pm

Re: Turn off the Start-Up Beep - Gnome

Postby xircon on Thu Apr 26, 2012 2:51 pm

Code: Select all
sudo apt-get install gnome-alsamixer && gnome-alsamixer


Mute speaker/pc speaker (it's name keeps changing :) ).

Steve
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 772
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: Turn off the Start-Up Beep - Gnome

Postby WhatUsernameIsFree? on Fri Apr 27, 2012 1:08 am

Hi,

Thanks for the reply, that turns off *all* the computer sound, so we can't watch movies etc.
WhatUsernameIsFree?
Level 4
Level 4
 
Posts: 210
Joined: Wed Oct 19, 2011 1:32 pm

Re: Turn off the Start-Up Beep - Gnome

Postby xircon on Fri Apr 27, 2012 3:19 am

Strange, can you post a picture of gnome-alsamixer settings e.g.:
GNOME ALSA Mixer_100.png
GNOME ALSA Mixer_100.png (20.19 KiB) Viewed 1657 times


My sound was muted when this was taken.

Steve
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 772
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: Turn off the Start-Up Beep - Gnome

Postby squeezy on Fri Apr 27, 2012 9:21 am

Try running these commands in a terminal:

Code: Select all
echo "blacklist pcspkr" | sudo tee -a /etc/modprobe.d/blacklist.conf
modprobe -r pcspkr


Reboot, you should not hear the beep at the login screen. Seems to work for most people.
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Re: Turn off the Start-Up Beep - Gnome

Postby WhatUsernameIsFree? on Fri Apr 27, 2012 10:29 am

Hi,

My alsamixer for reference.
Image

I'll try those commands and get back to you. What does it do?
WhatUsernameIsFree?
Level 4
Level 4
 
Posts: 210
Joined: Wed Oct 19, 2011 1:32 pm

Re: Turn off the Start-Up Beep - Gnome

Postby HughT on Fri Apr 27, 2012 11:40 am

I am using Mint 11, so can't be sure if it's the same with LMDE, but the log-in sound can be deleted in the Preferences>Start-Up Applications menu. Just un-check the Gnome Log-in Sound option. If you don't have that perhaps you can edit the sound file in a terminal. In Mint 11 the command is at /usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login".
Please Edit your post title and add [SOLVED] once your question is resolved.
HughT
Level 5
Level 5
 
Posts: 613
Joined: Thu Oct 20, 2011 1:54 pm
Location: England

Re: Turn off the Start-Up Beep - Gnome

Postby cecar on Fri Apr 27, 2012 12:32 pm

WhatUsernameIsFree? wrote:Hi,

My alsamixer for reference.
Image

I'll try those commands and get back to you. What does it do?


Unmute speaker and you should have sound again.
cecar
Level 4
Level 4
 
Posts: 300
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Turn off the Start-Up Beep - Gnome

Postby squeezy on Fri Apr 27, 2012 12:53 pm

WhatUsernameIsFree? wrote:I'll try those commands and get back to you. What does it do?


Makes it so the module for the speaker driver doesn't load.
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Re: Turn off the Start-Up Beep - Gnome

Postby WhatUsernameIsFree? on Fri Apr 27, 2012 1:59 pm

But with the speaker muted in gnome-alsamixer I have no sound at all. Should I still try those commands? How would I undo them if it removes all the sound?
WhatUsernameIsFree?
Level 4
Level 4
 
Posts: 210
Joined: Wed Oct 19, 2011 1:32 pm

Re: Turn off the Start-Up Beep - Gnome

Postby cecar on Fri Apr 27, 2012 4:00 pm

WhatUsernameIsFree? wrote:But with the speaker muted in gnome-alsamixer I have no sound at all. Should I still try those commands? How would I undo them if it removes all the sound?


In gnome alsamixer. Unmute speaker and mute Beep.
cecar
Level 4
Level 4
 
Posts: 300
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Turn off the Start-Up Beep - Gnome

Postby DrHu on Fri Apr 27, 2012 4:07 pm

You should be able to stop the pcspkr funtion starting for the desktop, look at the services or applications that run and edit for your own preference
https://help.ubuntu.com/community/HowTo ... SystemBell

You should have to mute anything, however I usually use headphones so all my sound output goes to a headphone, not a speaker
--not sure that sending output to a headphone would prevent that sound, since the system sounds functions have usually relied on the PC Speaker, from the motherboard, mainly for BIOS beeps etc..
    Stopping pcspkr will prevent the system sound coming from that source (pcspker) ..

And there are some other ways of doing it as well, but blacklisting is probably easiest, at least for Ubuntu/Mint distributions..
User avatar
DrHu
Level 15
Level 15
 
Posts: 5893
Joined: Wed Jun 17, 2009 8:20 pm

Re: Turn off the Start-Up Beep - Gnome

Postby squeezy on Fri Apr 27, 2012 8:24 pm

WhatUsernameIsFree? wrote:But with the speaker muted in gnome-alsamixer I have no sound at all. Should I still try those commands? How would I undo them if it removes all the sound?


I'm not sure how it would work if you use the built in speaker when you're watching movies, etc. I know it cured my beep at login, but I use external speakers on a desktop for all my listening.

The commands I posted do the same thing that the link DrHu provided does. As with anything in computers, there's more than one to to accomplish the same thing.
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Re: Turn off the Start-Up Beep - Gnome

Postby melbo on Fri Apr 27, 2012 10:13 pm

This fixed my similar problem:
viewtopic.php?f=191&t=94514
melbo
Level 2
Level 2
 
Posts: 67
Joined: Fri Jan 04, 2008 11:57 pm
Location: WA, USA

Re: Turn off the Start-Up Beep - Gnome

Postby WhatUsernameIsFree? on Mon Apr 30, 2012 4:57 pm

melbo wrote:This fixed my similar problem:
viewtopic.php?f=191&t=94514


This solved it.
Code: Select all
echo "blacklist pcspkr" >> /etc/modprobe.d/blacklist.conf


Something similar was posted earlier, but this happened to be the next thing on list of things to try.

Thanks! :)
WhatUsernameIsFree?
Level 4
Level 4
 
Posts: 210
Joined: Wed Oct 19, 2011 1:32 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 6 guests