
Linux offers a great tool: Tab Completion. With tab completion, you can easily navigate through your filesystem, find command names you forgot the exact name and in general, save you a lot of typing.
The only annoying thing is that it usually comes with a horrible *beep* coming from your PC speaker whenever you press tab and there is ambiguity.
This tutorial will expose a radical way to get rid of this, but somehow different than unplugging the pc speaker ;)
People owning a Desktop box usually get around this beep simply by unplugging the PC speaker from the mother board, but when owning a laptop, you don't really want to tear off you computer to unplug those "bloody wires".
If lucky enough, alsamixer will let you either mute or lower the volume of the PC speaker. This is an easy way enough to get rid of the beep.
Else, you can get rid of the kernel module which is responsible of making the PC speaker beep.
pcspkr, this is the guy we are looking for here. So let's get rid of it!
$ sudo rmmod pcspkr
And that's it!! Go back to you virtual console (Ctrl-Alt-F1), tab around.... no sound :D.
Cool, but now, it would be quite handy to get this done on each reboot. To do so, we need to blacklist pcspkr module.
The place to blacklist modules is /etc/modprobe.d/blacklist, so open and edit this file and add at the end of the file:
blacklist pcspkr
That's it, no more beep beep beeep going around.
Hope this will help handle your virtual console in a greater way ;)








To make the beep less annoying
If you still want to hear the beep, but want it to be less annoying, you can use 'setterm' to change the duration and frequency. (Alas, there is no setting for volume.)
For example, I put this in my .bash_login file:
setterm -blength 100 -bfreq 220
That gives me a nice, mellow "A" for 1/10th of a second. Perfect for monitoring the network with "ping -a" without going crazy.
--b9
:D
Nice one.
For the volume... cross your finger and hope that alsa can deal with it.
Debuntu
Screen...
"screen" turns off then sound and use a visual alert (flash). But it's not the main feature off Sreen ! ;-)
You can turn the bell off in
You can turn the bell off in /etc/inputrc, no need to blacklist modules. The setting is already there, but commented-out by default:
Your terminal emulator in X should honor this if it's set to use the 'system' bell rather than do its own thing.
Yeah that was awesome, thank
Yeah that was awesome, thank anyway
nice one
Yeah,
this works great. Thanks for the tip.
Debuntu