View previous topic :: View next topic |
Author |
Message |
lesha n00b
Joined: 18 Nov 2002 Posts: 45
|
Posted: Thu Feb 26, 2004 11:38 pm Post subject: |
|
|
Edit /etc/inputrc and set:
# do not bell on tab-completion
set bell-style none
That's it (although you need to reload the settings -- either restart your shells, or, by default, Ctrl-X,Ctrl-R will do it) |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Thu Feb 26, 2004 11:48 pm Post subject: bash visual beep |
|
|
Hi just add the following line to your '/etc/inputrc':
Code: |
bash$ vi /etc/inputrc
...
# do not bell on tab-completion
set bell-style visual
...
|
Also a 'man bash' or the 'Quick Search' function would have done it... _________________ have fun
feffi
/(bb|[^b]{2})/ that is the Question!
Gentoo-Wiki: Acer Travelmate 803 LCi manual |
|
Back to top |
|
|
Lews_Therin l33t
Joined: 03 Oct 2003 Posts: 657 Location: Banned
|
Posted: Fri Feb 27, 2004 1:07 am Post subject: |
|
|
I've looked at the bash man page, once. The thing's massive, and I didn't even know if tab completion would be in there.
Anyway, thanks for the help. It's much nicer...and quieter...now. |
|
Back to top |
|
|
psyqil Advocate
Joined: 26 May 2003 Posts: 2767
|
Posted: Fri Mar 05, 2004 9:51 pm Post subject: |
|
|
Compile it as module in your kernel and call it when you need it:
Code: | /sbin/modprobe pcspkr
beep
/sbin/rmmod pcspkr
| Enjoy the silence |
|
Back to top |
|
|
dogshu Apprentice
Joined: 22 Jun 2003 Posts: 173 Location: New Haven, CT, USA
|
Posted: Sat Mar 06, 2004 12:10 am Post subject: |
|
|
If you use X, run this at X startup:
xset b 0 0 0
that will disable the PC speaker entirely.
There is a similar command for "setterm" in console mode. |
|
Back to top |
|
|
Revik n00b
Joined: 27 Mar 2004 Posts: 31
|
Posted: Wed Apr 14, 2004 4:20 pm Post subject: Console beep's |
|
|
How to turn off that's noisy beep's in console? |
|
Back to top |
|
|
tihkal Apprentice
Joined: 28 Feb 2004 Posts: 225
|
Posted: Wed Apr 14, 2004 4:35 pm Post subject: |
|
|
Open case.
Find speaker.
Follow wire back to mobo.
Unplug wire.
Close case |
|
Back to top |
|
|
DefconAlpha Apprentice
Joined: 25 Feb 2003 Posts: 151 Location: Alabama
|
Posted: Wed Apr 14, 2004 4:36 pm Post subject: |
|
|
_________________ In the end, the love you get is equal to the love you make
--John Lennon & Paul McCartney (The End - Abbey Road, |
|
Back to top |
|
|
tihkal Apprentice
Joined: 28 Feb 2004 Posts: 225
|
Posted: Wed Apr 14, 2004 4:39 pm Post subject: |
|
|
Also for variation.
In /etc/inputrc uncomment #set bell-style none |
|
Back to top |
|
|
Apreche Guru
Joined: 18 Sep 2003 Posts: 506 Location: Beacon, NY
|
Posted: Tue Jun 08, 2004 3:13 pm Post subject: system/console beep |
|
|
Ok, so like most people I find the console beep annoying. I have modified /etc/inputrc to set bell-style none. That helps a little. However, to disable it at all the annoying times I know I must also do xset -b. I don't want to disable it at the kernel level because sometimes you want to make it beep for real. For example when portage makes it beep to get your attention. I don't want it beeping when I hold the down arrow for too long in an nedit window. Where is the best place to put xset -b? Or to say it better, what is the most appropriate or correct place to put xset -b? xinitrc? .bashrc? Also, is there any other console beep removing ways? I always felt that xset is somewhat of a last resort for anything. |
|
Back to top |
|
|
lunarg Guru
Joined: 07 Jan 2004 Posts: 508 Location: Peer, Belgium
|
Posted: Tue Jun 08, 2004 3:27 pm Post subject: |
|
|
I think the PC speaker can be turned off in 2.6.x kernels (thought I saw an option somewhere in gentoo-dev-sources). _________________ Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/ |
|
Back to top |
|
|
Apreche Guru
Joined: 18 Sep 2003 Posts: 506 Location: Beacon, NY
|
Posted: Tue Jun 08, 2004 6:48 pm Post subject: Re: system/console beep |
|
|
Apreche wrote: | ...I don't want to disable it at the kernel level... |
Not to be mean or insulting or anything. But I take the time to actually read all of what other people write. Please be equally courteous... |
|
Back to top |
|
|
lunarg Guru
Joined: 07 Jan 2004 Posts: 508 Location: Peer, Belgium
|
Posted: Tue Jun 08, 2004 8:28 pm Post subject: |
|
|
You're right.
Sorry.
(bad case of doing two things at the same time...)
I don't know xset very well, but if it works system wide (i.e. is not reset after each logout), you could set it in /etc/conf.d/local.start, which is started at boot.
If it is reset, it's best to put it in the global bash profile file (if I only knew which one that was on Gentoo ).
EDIT: the content of local.start is executed at boot, while local.stop is executed at shutdown/reboot. _________________ Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/ |
|
Back to top |
|
|
twiggy n00b
Joined: 25 Nov 2003 Posts: 65 Location: Sweden
|
Posted: Wed Jun 09, 2004 12:06 pm Post subject: |
|
|
xset b off - To turn the bell off in X
setterm -blength 0 - To turn it off in the console
_________________ Bite my shiny metal ass!
Last edited by twiggy on Wed Jun 09, 2004 6:43 pm; edited 2 times in total |
|
Back to top |
|
|
Apreche Guru
Joined: 18 Sep 2003 Posts: 506 Location: Beacon, NY
|
Posted: Wed Jun 09, 2004 12:56 pm Post subject: |
|
|
ah! thank you! setterm -blength 0 I did not know about. |
|
Back to top |
|
|
mike_c Tux's lil' helper
Joined: 09 Dec 2003 Posts: 76
|
Posted: Fri Dec 31, 2004 4:10 am Post subject: turn off system beep |
|
|
how do i stop the terminal from beeping when i do stuff like backspace, tab complete or halt
its is really annoying, normally id just unhook the system speaker, but this is on my laptop, and the sound runs through the main speakers
thanks
Mike |
|
Back to top |
|
|
perral1 n00b
Joined: 28 Jun 2004 Posts: 40 Location: Plano, Tx
|
Posted: Fri Dec 31, 2004 4:11 am Post subject: |
|
|
there is a kernel option (in the 2.6 kernels) for that...I agree, it is VERY annoying.
Not sure of any other way...there probably is one. |
|
Back to top |
|
|
shade266 Guru
Joined: 29 Oct 2003 Posts: 593 Location: Internal
|
Posted: Fri Dec 31, 2004 4:22 am Post subject: |
|
|
If you are using the latest dev-sources kernel, you can disable the pc-speaker option located somewhere in the Sound section of menuconfig. IF I recall the option is the last option of the section. _________________ I've been away for a long time, bear with me. |
|
Back to top |
|
|
mike_c Tux's lil' helper
Joined: 09 Dec 2003 Posts: 76
|
Posted: Fri Dec 31, 2004 4:24 am Post subject: |
|
|
unfortunately im only using 2.4
i might consider (finally) upgrading just for this one feature |
|
Back to top |
|
|
perral1 n00b
Joined: 28 Jun 2004 Posts: 40 Location: Plano, Tx
|
Posted: Fri Dec 31, 2004 4:26 am Post subject: |
|
|
I thought it was going to be difficult to upgrade, but it really isn't. The guide was really helpful, although it didn't exist when I upgraded... |
|
Back to top |
|
|
RedDawn Guru
Joined: 22 Sep 2003 Posts: 368 Location: Los Angeles, California
|
Posted: Fri Dec 31, 2004 6:09 am Post subject: |
|
|
Yeah on most 2.6.X kernels the pc internal speaker is turned off by defeaul unless otherwise activated on the kernel..
Gentoo rules..
not more than *bsd but is okay.. |
|
Back to top |
|
|
silentbob Apprentice
Joined: 09 Nov 2003 Posts: 159 Location: UK
|
Posted: Fri Dec 31, 2004 6:34 am Post subject: |
|
|
The simplest and most effective method is to open up your PC and disconnect the cable to the internal speaker (or go for the brute-force method and cut the wire)! _________________ My Gentoo Linux Stuff | Get FireFox |
|
Back to top |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Fri Dec 31, 2004 8:53 am Post subject: |
|
|
In his case, that would disable all sound
Why haven't you upgraded to 2.6 anyway? |
|
Back to top |
|
|
lofiye n00b
Joined: 31 Dec 2004 Posts: 1
|
Posted: Fri Dec 31, 2004 1:36 pm Post subject: |
|
|
how about a 'setterm -blength 0' ?
Best regards,
Dennis |
|
Back to top |
|
|
Mben Guru
Joined: 29 Mar 2004 Posts: 465 Location: New York, USA
|
Posted: Fri Dec 31, 2004 1:47 pm Post subject: |
|
|
silentbob wrote: | The simplest and most effective method is to open up your PC and disconnect the cable to the internal speaker (or go for the brute-force method and cut the wire)! |
asus boards have a speaker soldiered on from the factory |
|
Back to top |
|
|
|