Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Red Hat, Fedora, KNOPPIX, DSL, Slackware
Posts: 22
Rep:
How to disable beep in command line
You know the annoying PC speaker beeps you get in linux when you hit backspace too many times or hit tab to autocomplete something and there's either multiple or no matches or when you type shutdown -h now (or whatever)? I was wondering if there was a way to disable this "beep on error" cuz i'm fixing to go crazy and rip that darn PC speaker right outta my case!
I'm not talking about in the GUI using xterm or konsole. I know how to do that.
Use this command to turn off beeping in general in X:
xset b 0
Does anyone out there know this? I'd be much obliged.
Distribution: Red Hat, Fedora, KNOPPIX, DSL, Slackware
Posts: 22
Original Poster
Rep:
Awesome!!! Here's how I disabled it:
I added the line "set bell-style none" to the file ~/.inputrc then logged out and back in and it worked right away. But you'll have to add this to every account you want to disable it for.
Adding it to /etc/inputrc didn't work for me. I think because I'm using Red Hat Linux 5.2 (kernel 2.0.34) on here.
Thanks sether for pointing me in the right direction thou
Last edited by Backstander; 09-12-2004 at 01:09 PM.
if there's a /etc/profile file in linux (i don't know because i'm on FreeBSD at the moment), that usually would work for something like that on a system-wide scale.
Distribution: Red Hat, Fedora, KNOPPIX, DSL, Slackware
Posts: 22
Original Poster
Rep:
Yeah there is a /etc/profile but didn't seem to work for me. May work for newer linux version. I think /etc/inputrc is system-wide implementation as such but didn't work for me either. I even tryed them with a full system reboot without luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.