VectorLinux
July 28, 2014, 10:02:11 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: System bell  (Read 2083 times)
roarde
Vectorian
****
Posts: 519


move the needle


« on: September 29, 2013, 01:37:35 pm »

How do I get the system to execute 'play somesound.wav' (or some substitute) when the system bell (beep) is called?
Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
overthere
Vectorian
****
Posts: 1263



« Reply #1 on: September 29, 2013, 02:52:30 pm »

Are you wanting to do this in a bash script (maybe echo -en ""?) the beep needs to be turned on (in a terminal xset -b?) without a sound card you would need the pc speaker driver, not so good quality. Sorry
Logged

Everything Is Relative
roarde
Vectorian
****
Posts: 519


move the needle


« Reply #2 on: September 29, 2013, 08:08:58 pm »

I'm on a laptop, no physical PC speaker.

If 'echo -en "\a"' would work, that would solve most if not all of the problem. It doesn't work.
Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
overthere
Vectorian
****
Posts: 1263



« Reply #3 on: September 29, 2013, 10:09:00 pm »

does echo -en "\007" help
Logged

Everything Is Relative
roarde
Vectorian
****
Posts: 519


move the needle


« Reply #4 on: September 30, 2013, 11:27:41 am »

No. I'm pretty sure the issue is that there's presently nothing, either wired or configured, for use as the bell.

I think the basic question is whether there is something that can be configured to replace bell.
Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
overthere
Vectorian
****
Posts: 1263



« Reply #5 on: September 30, 2013, 12:41:57 pm »

If the software thinks there is a pc speaker perhaps it needs to be blacklisted?

Have you seen this, appears to be some code for a software beep

http://www.carcosa.net/jason/software/beep/
« Last Edit: September 30, 2013, 01:16:55 pm by overthere » Logged

Everything Is Relative
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!