UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
I have tried modifying /etc/inputrc to set my bell-style to none. It doesn't sound like it works. I have also made the change in /usr/share/base-files/inputrc just in case for some strange reason it picks up the config there. Eitherway, my system bell still beeps at me and it's driving me insane.
Any ideas how to fix this?
Running in VMWare 5 for now
Try "setterm -blength 0" (in console) or "xset -b" (in X)
You can also put this in your ~/.bashrc or ~/.profile or whatever.
To totally silence the bell at boot time it may be appropriate to put "setterm -blength 0 >/dev/ttyX" in the startup scripts (a line for each terminal you wish to silence, with X the appropriate number).
The best file to put it in is a bit distro-specific I'm afraid...
Originally posted by JordanH
Is there a place to make this universal throughout the system for X users? I want to ensure that by default the bell is off and have my users only turn it on if they so desire.
If you use a display manager (xdm, gdm, kdm, wdm, ...), somewhere in their setup directories (something like /etc/X11/xdm), there should be a script called "Xsession". This runs after a user logs into X (and ultimately runs his window manager). So this is a good place to put "xset -b" in. Users can then "xset +b" to turn the bell back on.
If your users go into X from console using "startx", then there is no system-wide place to do it; they'll have to put it in their ~/.xinitrc or ~/.xsession