LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-02-2003, 07:21 AM   #16
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46

Have you tried running kmix or gmix and adjusting or muting any of the mixer controls. A beep is usually the system speaker so I would expect that control would mute the speaker sounds.
 
Old 07-02-2003, 03:58 PM   #17
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
for vi, you need to input the line :
:set vb t_vb=

to make it permanent, you need a .gvimrc file in your home directory with
:set vb t_vb=
in it.
an example file is in /usr/share/vim/vim61/gvimrc_example.vim

add the line i gave, reboot your gui, tell me what you get
 
Old 07-03-2003, 09:45 AM   #18
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Rep: Reputation: 15
i tried opening kmix but when it loads there is nothing there. its like an empty window.

tobyl:
i tried the method you suggested and still get the beep when i exit vi in xterm.

[edit]

nevermind guys i found how to turn it off. xterm has a '-vb' option for visual beep rather than audio one. thanks for all the help =)
[/edit]

Last edited by centr0; 07-03-2003 at 10:05 AM.
 
Old 07-03-2003, 12:44 PM   #19
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Yeah, sorry my method only seems to work for Vi IMproved...
 
Old 09-15-2004, 02:54 AM   #20
primorec
Member
 
Registered: Sep 2004
Distribution: RH5.2/6.2/8.0/9.0,RHEL 3.0/4.X/5.X/6.X,MDK 10.1,KNOPPIX3.6,Solaris 8/9,CentOS 3.X/4.X/5.X/6.X/7.X
Posts: 67

Rep: Reputation: 15
Quote:
Originally posted by Excalibur
If you are running X and sound system is working, have you tried to turn the volume down or mute it?

Also, you might want to look at the file /etc/inputrc. It should contain a line that is remarked out.

#set bell-style none

Remove the remark hash. You will have to logout and back in for it to take effect.
or create in your home a file ".inputrc" ( without quotes and with a dot).

This file should contain just one line

set bell-style none
 
Old 09-15-2004, 06:34 AM   #21
Sijaiko
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 3.0 - 10.0
Posts: 14

Rep: Reputation: 0
If you want to disable the beep within a linux console:

Code:
setterm -blength 0
I also use my /etc/issue to set up my console upon relogin. To see what you can do read the console_codes manpage.
The most commonly used by me are: ESC[H and ESC[J, which clear and reset my console. Looks kind of nice.
There is also a console code to set the length of the beep (to 0 of course): ESC[11;0]

To insert an escape symbol in vi use CTRL-V and then ESC.

One can also use:

Code:
( clear && setterm -blength 0 && echo && cat /etc/issue ) &> /tmp/issue && cp /tmp/issue /etc/issue
This will set up your issue to clear the screen and set the length of the beep to 0.

This will only work until you "reset" your terminal.

Lachezar.
 
Old 09-15-2004, 01:28 PM   #22
fphillips
Member
 
Registered: Sep 2004
Location: KS
Distribution: Slack 10-current
Posts: 87

Rep: Reputation: 15
FWIW, my solution to beeps is to compile my 2.6 kernels with CONFIG_PCSPKR=m and then just don't ever load the module . This has the added benefit on a laptop of no double beep when inserting my wireless card. Music will still play through the speakers, without loading the module.
 
Old 11-15-2004, 06:24 AM   #23
joroxx
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian, Slackware
Posts: 27

Rep: Reputation: 15
Quote:
Originally posted by Excalibur
If you are running X and sound system is working, have you tried to turn the volume down or mute it?

Also, you might want to look at the file /etc/inputrc. It should contain a line that is remarked out.

#set bell-style none

Remove the remark hash. You will have to logout and back in for it to take effect.
as a sidenote only the option "none" works. if one wants a visible "bell" it doesn't work.

the other way is to compile a 2.6.x kernel and don't compile in speaker support.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable system beep in emacs? Snyke Linux - Newbie 5 12-14-2011 02:55 AM
Making the system beep UberPhreek Linux - Newbie 3 08-25-2004 11:47 AM
System Beep gone w/ OSS & ALSA Outabux Debian 10 03-24-2004 07:03 AM
system beep means what? esteeven Linux - Hardware 9 09-03-2003 06:00 PM
Beep pixelV Slackware 10 01-04-2003 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration