RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

Turn off beep / bell on linux terminal

Working with the terminal using a command interface is very fast and effective way of doing stuff. But have you tried working with the terminal, listening to a music via headphones and having a terminal warning or tab-completion beep / bell turned ON at the same time? Well it can be very annoying. Listening to the PC Speaker beeps via headphones is very close to a feeling of hitting your head with a hammer. Even without headphones this beeping bell sound is very annoying.

Here are some hints on how to disable terminal beep / bell :

First try to disable a terminal tab-completion bell by editing /etc/inputrc and add / replace line:

set bell-style none

You can also use the visible directive but make sure that audible is commented !

#set bell-style visible
#set bell-style audible

This may not be all. If you are a vim / vi user the PC speaker beep will still annoy you. To turn it of temporarily type a following vim command while in vim:

:set visualbell

To tunr it off completely edit or create a .vimrc file in your home directory ( ~/ ) and add a following line:

set visualbell

If none of the above helps simply get rid of the PC Speaker beeps by removing a pcspkr module from your system. This should silence it completely:

# rmmod pcspkr

If you do not want to hear that annoying beep / bell of your PC Speaker again even after system reboot do the following:

# vi /etc/modprobe.d/blacklist

and add the following line into the list:

blacklist pcspkr

Share this linux post:

Submit Turn off beep / bell on linux terminal in Delicious Submit Turn off beep / bell on linux terminal in Digg Submit Turn off beep / bell on linux terminal in FaceBook Submit Turn off beep / bell on linux terminal in Google Bookmarks Submit Turn off beep / bell on linux terminal in Stumbleupon Submit Turn off beep / bell on linux terminal in Technorati Submit Turn off beep / bell on linux terminal in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download