Tip: How to turn pcspeaker off.

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Mad_Dud
Posts: 6
Joined: Sat Mar 24, 2007 7:56 am
Location: Poznan, Poland
Contact:

Tip: How to turn pcspeaker off.

#1 Post by Mad_Dud » Thu May 03, 2007 6:58 am

Hi,
Maby this info will be usefull for You, guys.

Question:
How to turn off the pcspeaker on Thinkpad laptop under Linux OS?

Answer:
Add into file: ~/.inputrc this line:

Code: Select all

set bell-style none
Tested on laptop: T60;
OS: Slackware 11.0, SuSE 10.2;

carbon_unit
Moderator Emeritus
Moderator Emeritus
Posts: 2988
Joined: Sat Apr 24, 2004 9:10 pm
Location: South Central Iowa, USA

#2 Post by carbon_unit » Thu May 03, 2007 3:49 pm

I just pushed the mute button and it worked for me.
T60 2623-D7U, 3 GB Ram.
Dual boot XP and Linux Mint.
Registered linux user #160145

zahir
Freshman Member
Posts: 121
Joined: Mon Feb 20, 2006 3:25 pm
Location: Mumbai, India
Contact:

#3 Post by zahir » Thu May 03, 2007 4:15 pm

heheh funny....
IBM Addict
T60 - Core 2 Duo T7200(2.0 Ghz) | 2GB RAM | 80GB HDD | DVD-CDRW | 14.1" TFT | Bluetooth
R51 - Celeron M(1.3GHz) | 512 RAM | 40 GB HDD | DVD CD-RW | 14.1” TFT

Mad_Dud
Posts: 6
Joined: Sat Mar 24, 2007 7:56 am
Location: Poznan, Poland
Contact:

#4 Post by Mad_Dud » Fri May 04, 2007 9:19 am

carbon_unit wrote:I just pushed the mute button and it worked for me.
...and the mp3 is mutred to. :-)

carbon_unit
Moderator Emeritus
Moderator Emeritus
Posts: 2988
Joined: Sat Apr 24, 2004 9:10 pm
Location: South Central Iowa, USA

#5 Post by carbon_unit » Fri May 04, 2007 10:00 am

Ahhh... You never said anything about that. :wink:
In that case go into the bios and shut off all the beeps...OR in my distro I can go to control center, sound and multimedia, system notifications and turn off all sounds.
Either way I get no bios beeps and still can hear MP3's.
T60 2623-D7U, 3 GB Ram.
Dual boot XP and Linux Mint.
Registered linux user #160145

karmaflux
Posts: 33
Joined: Sat Oct 30, 2004 7:05 pm

#6 Post by karmaflux » Sat May 05, 2007 2:17 am

In slackware you can edit /etc/rc.d/rc.modules and change the section

Code: Select all

# Enable PC speaker support for 2.6.x+:
if echo $SHORTREL | grep -qvw 2.4 ; then
  /sbin/modprobe pcspkr
fi
to

Code: Select all

# Enable PC speaker support for 2.6.x+:
#if echo $SHORTREL | grep -qvw 2.4 ; then
#  /sbin/modprobe pcspkr
#fi
or as root do

Code: Select all

rmmod pcspkr
if you want it to still load by default. With the "bell-style" thing, it'll keep bash from beeping, but other applications not started from bash will still be able to beep. Remove the module supporting the speaker and nothing in Linux will be able to beep no matter how bad it wants to.
Thinkpad 755CDV, 570e, T23, T43, T60, X40, X40, X61t, X200s, X201, X301, X250

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: axur-delmeria and 0 guests