SlackwareThis Forum is for the discussion of Slackware Linux.
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.
i have a bit of an annoying problem. I can't seem to shut the system bell up on my inspiron8500. i have modified /etc/inputrc to read:
set bell-style none
but it seems to have no affect. I double checked my ~ directory and I don't have another .inputrc there, so there is nothing overriding it. AFAIK this is the only place to set this in slackware?
anyone know what else I should check?
I have also tried setting it to 'visible' but it still just beeps. its getting very annoying now so thought I should address it.
i have a bit of an annoying problem. I can't seem to shut the system bell up on my inspiron8500. i have modified /etc/inputrc to read:
set bell-style
but it seems to have no affect. I double checked my ~ directory and I don't have another .inputrc there, so there is nothing overriding it. AFAIK this is the only place to set this in slackware?
anyone know what else I should check?
I have also tried setting it to 'visible' but it still just beeps. its getting very annoying now so thought I should address it.
thanks!
You're not really saying where and when this happens,
what environment it happens in....
It will work in bash in the console, and it will work
in bash in an xterm ... but it's tied to readline, so
if you invoke bash with -noediting, or have a +o emacs
or +o vi somewhere in ~/.bashrc or ~/.bash_profile you
may be using the bell after all ... that's all just
theory - I never had the issue, but that's my understanding
of the bash & readline integration.
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
Quote:
Originally Posted by bioe007
hi all,
i have a bit of an annoying problem. I can't seem to shut the system bell up on my inspiron8500. i have modified /etc/inputrc to read:
set bell-style none
but it seems to have no affect. I double checked my ~ directory and I don't have another .inputrc there, so there is nothing overriding it. AFAIK this is the only place to set this in slackware?
anyone know what else I should check?
I have also tried setting it to 'visible' but it still just beeps. its getting very annoying now so thought I should address it.
thanks!
If this happens inside your X windows environment, open a terminal and type
xset -b
if that fixes it, then add that line to your .xinitrc and you'll be golden.
Are you sure you've got the line right in /etc/inputrc?
I'm never sure, so here is the first few lines of my inputrc:
Code:
# /etc/inputrc
# This file configures keyboard input for programs using readline.
# See "man 3 readline" for more examples.
# Configure the system bell. Options are none, visible, and audible.
set bell-style visible
Quote:
Originally Posted by shilo
1) Check to make sure you don't have a #
I'm not sure what you mean by a '#'? Do you mean the bell will always be on as root?
Quote:
Originally Posted by shilo
2) Depending on your kernel configuration, you may just want to blacklist the PC speaker module.
I'll have to double check my .config, but:
modprobe -l | grep pcspkr
returns nothing. but also:
cat /etc/modprobe.d/blacklist | grep pcspkr
also returned nothing, so I added 'blacklist pcspkr' for s&g's anyway
Quote:
Originally Posted by Tinkster
You're not really saying where and when this happens,
what environment it happens in....
sorry, I mostly notice it at the console (not in X, xfce-terminal)
I'll change this and see.. But if anyone knows this is not the problem then could let me know so I'm not chasing my tail...
Quote:
Originally Posted by Tinkster
It will work in bash in the console, and it will work in bash in an xterm ... but it's tied to readline, so
if you invoke bash with -noediting, or have a +o emacs or +o vi somewhere in ~/.bashrc or ~/.bash_profile you
may be using the bell after all ...
just I'll look through my .bash_profile for the emacs stuff
Well, thanks for the many helpful replies. Each provided something that I didn't know before.
It seems the problem was the PCSPKR=y from my .config (an option I no doubt selected early in my 'learning how to compile a kernel' days which has been carried on with the .config)
My new trouble is that the /etc/modprobe.d/blacklist file seems to be relevant only for hotplug?
Quote:
Originally Posted by /blacklist
#
# Listing a module here prevents the hotplug scripts from loading it.
# Usually that'd be so that some other driver will bind it instead,
# no matter which driver happens to get probed first. Sometimes user
# mode tools can also control driver binding.
adding it there didn't seem to help (I have 2.6 +x udev, -x hotplug)
I hate the 'pcspkr' module ... I typically don't compile it at all, not as module or built-in ... I mean, who wants annoying beeps coming from they computer every time there is some small error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.