| View previous topic :: View next topic |
| Author |
Message |
kev
Joined: Tue Feb 16, 2010 4:40 pm Posts: 12
|
Posted: Wed Oct 19, 2011 11:44 pm Post subject: How do I ring my bell? |
|
|
Hello
I want to write a script that will ring the PC's bell under certain conditions.
The bell works at Boot-time, so I know that it is OK.
I have tried the Konsole:
Settings > Bell > set to system bell
and then echoing 0x07 as well as \a
I have also tried echoing 0x07 and \a in an ordinary { Ctrl-Alt-F2 } terminal.
but it's silent.
What will make it ring please? |
|
| Back to top |
|
 |
Rhakios Moderator

Joined: Thu Apr 07, 2005 12:18 am Posts: 7473 Location: Midlands, UK
|
Posted: Wed Oct 19, 2011 11:55 pm Post subject: |
|
|
Doesn't beep do that? Sadly this PC doesn't have an internal speaker, so I can't test it. You might need to install beep, but it's found in most repos I've seen. _________________ Bye, Rhakios |
|
| Back to top |
|
 |
Ram LXF regular

Joined: Thu Apr 07, 2005 10:44 pm Posts: 1552 Location: Guisborough
|
Posted: Thu Oct 20, 2011 1:28 pm Post subject: |
|
|
You can ring Solaris' bell with
Thats with ksh for the shell. _________________
Ubuntu LXDE 12.04 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
|
|
| Back to top |
|
 |
MartyBartfast LXF regular

Joined: Mon Aug 22, 2005 8:25 am Posts: 780 Location: Hants, UK
|
Posted: Thu Oct 20, 2011 2:13 pm Post subject: |
|
|
echo -e \\a
works in bash. _________________ I have been touched by his noodly appendage. |
|
| Back to top |
|
 |
kev
Joined: Tue Feb 16, 2010 4:40 pm Posts: 12
|
Posted: Sat Oct 22, 2011 11:09 pm Post subject: |
|
|
Well, thanks for your ideas.
Although they didn't work, they did give me ideas for searching the 'net.
The answer in Mandriva is to do the following as Root:
and then Ctrl^G and your ideas do work.
Also:
turns it off; and then:
turns it back on again.
Unfortunately, I am using Knoppix mostly {kernel 2.6.19} and modprobe gives a FATAL error message.
Ubuntu will load the module, but the bell remains silent.
All of which has overtones of M$. _________________ Knoppix 5.1 |
|
| Back to top |
|
 |
kev
Joined: Tue Feb 16, 2010 4:40 pm Posts: 12
|
Posted: Mon Oct 24, 2011 9:01 pm Post subject: |
|
|
I have now found out that in Ubuntu:
The missing PC bell is a BIG issue;
more than that: it is a thoroughly disgraceful mess, the likes of which M$ users niether have nor will EVER have to put up with.
Read this ubuntu thread from post #79 onwards. _________________ Knoppix 5.1 |
|
| Back to top |
|
 |
Rhakios Moderator

Joined: Thu Apr 07, 2005 12:18 am Posts: 7473 Location: Midlands, UK
|
Posted: Mon Oct 24, 2011 10:58 pm Post subject: |
|
|
Essentially, the problem is that Mark Shuttleworth wants your computer to go Bongggg!!!, like a Mac does on startup. However, as he can't achieve this, he's had them disable the bell.
Of course, this might be entirely untrue.  _________________ Bye, Rhakios |
|
| Back to top |
|
 |
Ram LXF regular

Joined: Thu Apr 07, 2005 10:44 pm Posts: 1552 Location: Guisborough
|
Posted: Tue Oct 25, 2011 1:57 am Post subject: |
|
|
| Rhakios wrote: | Essentially, the problem is that Mark Shuttleworth wants your computer to go Bongggg!!!, like a Mac does on startup. However, as he can't achieve this, he's had them disable the bell.
Of course, this might be entirely untrue.  |
Then it could just as easy be true, since I keep having to re-install alsa after every kernel update as sound only work via head phones not the speakers, also effecting my netbook now with Mint 8 and the fix I use for my laptop doesnee work Jimmy. _________________
Ubuntu LXDE 12.04 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
|
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|