Re: making my Wheezy beep. How?

2014-02-02 Thread Nate Bargmann
If you're using Konsole, the beep capability was removed long ago for
KDE4.  I added to a bug about it on their Bugzilla and the developer
stated that it would not be fixed.  :-(

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140202234655.gd12...@n0nb.us



Re: making my Wheezy beep. How?

2014-02-02 Thread Ralf Mardorf
On Sun, 2014-02-02 at 23:34 +0100, Ralf Mardorf wrote:
> On Sat, 2014-02-01 at 09:54 +0100, Ralf Mardorf wrote:
> > On Fri, 2014-01-31 at 20:48 -0600, Nate Bargmann wrote:
> > > * On 2014 31 Jan 18:04 -0600, Ralf Mardorf wrote:
> > > > On Fri, 2014-01-31 at 09:48 -0600, Nate Bargmann wrote:
> > > > > MiscBell=FALSE
> > > > > 
> > > > > Set it to TRUE.
> > > > 
> > > 
> > > ~/.config/xfce4/terminal/terminalrc
> > 
> > And now it beeps if I run
> > 
> > $ printf "\7"; sleep 1; printf "\a"
> 
> No it doesn't. It works for my Arch Linux where I run xfce4-terminal in
> a Xfce4 session, but it doesn't work for my Debian where Xfce isn't
> installed, just KDE4 and Jwm are installed. The path and file didn't
> exist, so I mkdir the path and copied terminalrc from my Arch to my
> Debian install. When I run xfce4-terminal in a Jwm session there still
> are no beeps, I didn't test it for KDE4.

PS: On Debian I already prefer to use ROXTerm and right now I installed
it to my Arch Linux too and noticed that it does use the same syntax.

E.g.

$ xfce4-terminal --maximize -T "♪ jackd" -e "jackd -dalsa"
$ roxterm --maximize -T "♪ jackd" -e "jackd -dalsa"

I guess I'll use ROXTerm in the future, instead of xfce4-terminal for
all Linux.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391382559.820.16.camel@archlinux



Re: making my Wheezy beep. How?

2014-02-02 Thread Ralf Mardorf
On Sat, 2014-02-01 at 09:54 +0100, Ralf Mardorf wrote:
> On Fri, 2014-01-31 at 20:48 -0600, Nate Bargmann wrote:
> > * On 2014 31 Jan 18:04 -0600, Ralf Mardorf wrote:
> > > On Fri, 2014-01-31 at 09:48 -0600, Nate Bargmann wrote:
> > > > MiscBell=FALSE
> > > > 
> > > > Set it to TRUE.
> > > 
> > 
> > ~/.config/xfce4/terminal/terminalrc
> 
> And now it beeps if I run
> 
> $ printf "\7"; sleep 1; printf "\a"

No it doesn't. It works for my Arch Linux where I run xfce4-terminal in
a Xfce4 session, but it doesn't work for my Debian where Xfce isn't
installed, just KDE4 and Jwm are installed. The path and file didn't
exist, so I mkdir the path and copied terminalrc from my Arch to my
Debian install. When I run xfce4-terminal in a Jwm session there still
are no beeps, I didn't test it for KDE4.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391380475.820.9.camel@archlinux



Re: making my Wheezy beep. How? [solved]

2014-02-01 Thread Paul E Condon
On 20140131_205050, Nate Bargmann wrote:
> * On 2014 31 Jan 15:38 -0600, David Guntner wrote:
> > I forgot to mention:  The "play" command is part of the SoX package, so
> > if you try running it and get a "not found" response, install sox.
> 
> There is also 'aplay' from the alsa-utils package which would appear to
> do the same.
> 
> - Nate
> 

Both work for me, and I have found a .wav file that is much less
annoying than the traditional computer beep which I can't really hear
anymore with my aging (81yr) ears. For anyone who actually wants to
hear a beep this is much more pleasant. The .wav file came from
http://www.villagegeek.com/html/wavfiles1.htm

My problem is solved.
Thankyou.

-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140201195336.gd27...@big.lan.gnu



Re: making my Wheezy beep. How?

2014-02-01 Thread Ralf Mardorf
On Sat, 2014-02-01 at 07:30 -0600, Nate Bargmann wrote:
> a computer that doesn't beep just doesn't seem
> right. :-)

Amen to that :).



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391280649.700.0.camel@archlinux



Re: making my Wheezy beep. How?

2014-02-01 Thread Curt
On 2014-02-01, Hudson Flavio Meneses Lacerda  wrote:
>
> I enabled my beep with:
> modprobe pcspkr snd-pcsp

What kind of *beeping* beep have you got?  One that squeaks through the
internal speaker on the motherboard (pcspkr), or one that gushes out of
your external speakers by way of the sound subsystem (snd-pcsp)?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnleq8od.3ca.cu...@einstein.electron.org



Re: Re: making my Wheezy beep. How?

2014-02-01 Thread Hudson Flavio Meneses Lacerda
Hi

This page has some information about beep:
http://forums.debian.net/viewtopic.php?t=49685

I enabled my beep with:
modprobe pcspkr snd-pcsp

I have added pcspkr and snd-pcsp to:
/etc/modules

You may also check this file to assure the beep is not black-listed:
/etc/modprobe.d/alsa-base-blacklist.conf

Regards,
Hudson


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52ed1655.7020...@yahoo.com.br



Re: making my Wheezy beep. How?

2014-02-01 Thread Nate Bargmann
* On 2014 01 Feb 04:01 -0600, Ralf Mardorf wrote:
> On Sat, 2014-02-01 at 10:55 +0100, Ralf Mardorf wrote:
> > On Sat, 2014-02-01 at 09:14 +, Curt wrote:
> > > (most people are desirous to turn the damn
> > > thing off and not on, but I possess __l'esprit de contrariété__.
> > 
> > On my machine there isn't a setting to enable/disable the beep by
> > alsamixer.

It seems to depend on the machine.  I have found the beep presence to
mostly be found on my laptops.  It's not universally present, though.

I also prefer having the beep as I've been subjected to it for over a
quarter century and a computer that doesn't beep just doesn't seem
right. :-)

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140201133028.ga12...@n0nb.us



Re: making my Wheezy beep. How?

2014-02-01 Thread Ralf Mardorf
On Sat, 2014-02-01 at 10:55 +0100, Ralf Mardorf wrote:
> On Sat, 2014-02-01 at 09:14 +, Curt wrote:
> > (most people are desirous to turn the damn
> > thing off and not on, but I possess __l'esprit de contrariété__.
> 
> On my machine there isn't a setting to enable/disable the beep by
> alsamixer.
> 
> I prefer to have the beep enabled, since I don't use desktop sound. When
> doing audio productions, the sound card should be used for the audio
> production only, but important notifications should be allowed to beep,
> at least when not doing audio productions. Desktop sound could be
> dangerous for the speakers and ears, because an averaged level for audio
> productions does vary and so desktop sound easily could become much too
> loud, when the audio production is finished.
> 
> Even if I wouldn't do audio productions, the beep is a notification
> sound I'm used to, because even the BIOS does use it and no external
> gear, amp and speakers is needed.
> 
> OT:
> I'm forced to use crappy energy-saving bulbs and the politicians likely
> waste energy by the amps and speakers for desktop sound, not to mention
> that the German SPD politician co-responsible for this is very fat, and
> likely wasting much energy by the foot chain, from growing to cooking.
   ^ :D
> Fat people are ok, as long as they aren't politicians teaching other
> people to tighten the belts.
> 
> https://en.wikipedia.org/wiki/Sigmar_Gabriel
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391248828.688.140.camel@archlinux



Re: making my Wheezy beep. How?

2014-02-01 Thread Curt
On 2014-01-31, Paul E Condon  wrote:
>
> I need something that I can actually hear even when I not paying
> attention. I know I asked about getting the beep function working, but
> now I want to ask about possibilities of getting the external
> speakers, which I know are working for videos to work for playing a
> recording of a beep sound.  What I'm trying to have is a way to alert
> me to stop working on my computer and go do something else like, for
> instance, a doctor appointment.
>

It's strange because I lost my internal speaker beep somewhere along the
line; I started a thread here quite a few moons ago, but no one could
say why my beep mysteriously vanished.

Playing around looking for a solution, I unmuted the beep channel in alsamixer,
which caused my beep to transit through my external speakers, when I had them
turned on, a melodious, nearly institutional beep I didn't care for.  So I just
learned to live without any beeping (most people are desirous to turn the damn
thing off and not on, but I possess __l'esprit de contrariété__.

I also notice there exists the beep program for die-hard beep hackers:

curty@einstein:~$ apt-cache show beep


Description: advanced pc-speaker beeper
 beep does what you'd expect: it beeps. But unlike printf "\a" beep allows
 you to control pitch, duration, and repetitions. Its job is to live inside
 shell/perl scripts and allow more granularity than one has otherwise. It is
 controlled completely through command line options. It's not supposed to be
 complex, and it isn't - but it makes system monitoring (or whatever else it
 gets hacked into) much more informative.
Homepage: http://johnath.com/beep/

Happy beeping.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnlepeno.2d7.cu...@einstein.electron.org



Re: making my Wheezy beep. How?

2014-02-01 Thread Ralf Mardorf
On Sat, 2014-02-01 at 16:29 +1300, Chris Bannister wrote:
> On Sat, Feb 01, 2014 at 01:02:16AM +0100, Ralf Mardorf wrote:
> > On Fri, 2014-01-31 at 09:48 -0600, Nate Bargmann wrote:
> > > Have you edited ~/.config/Terminal/terminrc to enable xfce4-terminal
> > > to issue the beep?
> > > 
> > > The relevant line is:
> > > 
> > > MiscBell=FALSE
> > > 
> > > Set it to TRUE.
> > 
> > Neither my Arch nor my Linux install have got such a file :D.
> 
> Then create it! :-) There are 'heaps' of "runtime configuration" files
> which initially don't exist but you can create for your own personal
> preferences.

Creating a file that won't be used won't make sense ;).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391244988.688.116.camel@archlinux



Re: making my Wheezy beep. How?

2014-02-01 Thread Ralf Mardorf
On Fri, 2014-01-31 at 20:48 -0600, Nate Bargmann wrote:
> * On 2014 31 Jan 18:04 -0600, Ralf Mardorf wrote:
> > On Fri, 2014-01-31 at 09:48 -0600, Nate Bargmann wrote:
> > > MiscBell=FALSE
> > > 
> > > Set it to TRUE.
> > 
> 
> ~/.config/xfce4/terminal/terminalrc

And now it beeps if I run

$ printf "\7"; sleep 1; printf "\a"

:)

Thank you!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391244892.688.114.camel@archlinux



Re: making my Wheezy beep. How?

2014-01-31 Thread Chris Bannister
On Sat, Feb 01, 2014 at 01:02:16AM +0100, Ralf Mardorf wrote:
> On Fri, 2014-01-31 at 09:48 -0600, Nate Bargmann wrote:
> > Have you edited ~/.config/Terminal/terminrc to enable xfce4-terminal
> > to issue the beep?
> > 
> > The relevant line is:
> > 
> > MiscBell=FALSE
> > 
> > Set it to TRUE.
> 
> Neither my Arch nor my Linux install have got such a file :D.

Then create it! :-) There are 'heaps' of "runtime configuration" files
which initially don't exist but you can create for your own personal
preferences.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140201032905.GC29558@tal



Re: making my Wheezy beep. How?

2014-01-31 Thread Nate Bargmann
* On 2014 31 Jan 15:38 -0600, David Guntner wrote:
> I forgot to mention:  The "play" command is part of the SoX package, so
> if you try running it and get a "not found" response, install sox.

There is also 'aplay' from the alsa-utils package which would appear to
do the same.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140201025050.gg15...@n0nb.us



Re: making my Wheezy beep. How?

2014-01-31 Thread Nate Bargmann
* On 2014 31 Jan 18:04 -0600, Ralf Mardorf wrote:
> On Fri, 2014-01-31 at 09:48 -0600, Nate Bargmann wrote:
> > Have you edited ~/.config/Terminal/terminrc to enable xfce4-terminal
> > to issue the beep?
> > 
> > The relevant line is:
> > 
> > MiscBell=FALSE
> > 
> > Set it to TRUE.
> 
> Neither my Arch nor my Linux install have got such a file :D.

Neither does my Debian desktop.  It does have:

~/.config/xfce4/terminal/terminalrc

as does the Debian laptop I had checked earlier today.  The former and
the latter files are quite close for the settings they define.

Interesting.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140201024808.gf15...@n0nb.us



Re: making my Wheezy beep. How?

2014-01-31 Thread Ralf Mardorf
On Fri, 2014-01-31 at 09:48 -0600, Nate Bargmann wrote:
> Have you edited ~/.config/Terminal/terminrc to enable xfce4-terminal
> to issue the beep?
> 
> The relevant line is:
> 
> MiscBell=FALSE
> 
> Set it to TRUE.

Neither my Arch nor my Linux install have got such a file :D.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391212936.688.77.camel@archlinux



Re: making my Wheezy beep. How?

2014-01-31 Thread David Guntner
David Guntner grabbed a keyboard and wrote:
> Paul E Condon grabbed a keyboard and wrote:
>>
>> I need something that I can actually hear even when I not paying
>> attention. I know I asked about getting the beep function working, but
>> now I want to ask about possibilities of getting the external
>> speakers, which I know are working for videos to work for playing a
>> recording of a beep sound.  What I'm trying to have is a way to alert
>> me to stop working on my computer and go do something else like, for
>> instance, a doctor appointment.
> 
> Assuming you're doing this from the shell like you were with the "echo"
> command, use play
> 
> play {somesoundfile}
> 
> And it will play through your media speakers.

I forgot to mention:  The "play" command is part of the SoX package, so
if you try running it and get a "not found" response, install sox.

--Dave





smime.p7s
Description: S/MIME Cryptographic Signature


Re: making my Wheezy beep. How?

2014-01-31 Thread David Guntner
Paul E Condon grabbed a keyboard and wrote:
> 
> I need something that I can actually hear even when I not paying
> attention. I know I asked about getting the beep function working, but
> now I want to ask about possibilities of getting the external
> speakers, which I know are working for videos to work for playing a
> recording of a beep sound.  What I'm trying to have is a way to alert
> me to stop working on my computer and go do something else like, for
> instance, a doctor appointment.

Assuming you're doing this from the shell like you were with the "echo"
command, use play

play {somesoundfile}

And it will play through your media speakers.

   --Dave





smime.p7s
Description: S/MIME Cryptographic Signature


Re: making my Wheezy beep. How?

2014-01-31 Thread Paul E Condon
On 20140131_094852, Nate Bargmann wrote:
> Have you edited ~/.config/Terminal/terminrc to enable xfce4-terminal to
> issue the beep?
> 
> The relevant line is:
> 
> MiscBell=FALSE
> 
> Set it to TRUE.  You may have to enable the loading of the pcspkr kernel
> module but likely not.
> 
> - Nate

Thanks to everybody. The responses were a real education for me. I got
beep to work. Some suggestions worked for me, others not so much. The
beep that I hear from my computer is pretty much at my threshold for
bearing. There is no indication in any of the man pages that there is
a loudness control in the PC internal sound generator, and what little
I've learned of the technological history of the internal sound maker,
there is little reason to believe that there is such loudness control.

I need something that I can actually hear even when I not paying
attention. I know I asked about getting the beep function working, but
now I want to ask about possibilities of getting the external
speakers, which I know are working for videos to work for playing a
recording of a beep sound.  What I'm trying to have is a way to alert
me to stop working on my computer and go do something else like, for
instance, a doctor appointment.

Because this is really a new question, I'll give some more information
about my set up: I'm running Wheezy with Xwindows, Xfce desktop but
with gnome-terminal, not xfce-terminal. The computer is HP dual core
pentium several years old. I do my email with fetchmail, procmail,
mutt, and msmtp, so I have very little familiarity with email systems
that include an integrated calendar and contact database. It might 
seem goofy to install such a monster just to get a warning beep for
an upcoming appointment, but if it can make a noise at a programmed
time in the future, I'd like to know about it.

Any suggestions?
Again, thanks to everyone.



-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140131200649.gb27...@big.lan.gnu



Re: making my Wheezy beep. How?

2014-01-31 Thread Nate Bargmann
Another good tip.  I recall at some point having alsamixer show the PC
speaker to be unmuted but yet cycling it through muting and then
unmuting activated the beep.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140131184213.ge15...@n0nb.us



Re: making my Wheezy beep. How?

2014-01-31 Thread Go Linux

On Thu, 1/30/14, Paul E Condon  wrote:

 Subject: making my Wheezy beep. How?
 To: debian-user@lists.debian.org
 Date: Thursday, January 30, 2014, 11:40 PM
 
 I want my Wheezy desktop (windowing with xfce) to issue a beep after a 
adjustable amount of time. I expected that I could do this
 with a tiny bash script using sleep and echo, but I cannot get echo to make 
the computer issue a beep as it should according to the man page. What
 special knowledge is needed? Why don't I get a beep with:
 
 echo -e \a
 


Are you sure the PC speaker isn't muted?  I always turn mine off.  I think it's 
in the alsa settings nut it's been a long time so can't remember the details.  
Wouldn't huirt to check.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1391188341.67397.yahoomailba...@web163406.mail.gq1.yahoo.com



Re: making my Wheezy beep. How?

2014-01-31 Thread Nate Bargmann
Have you edited ~/.config/Terminal/terminrc to enable xfce4-terminal to
issue the beep?

The relevant line is:

MiscBell=FALSE

Set it to TRUE.  You may have to enable the loading of the pcspkr kernel
module but likely not.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140131154852.gd15...@n0nb.us



Re: making my Wheezy beep. How?

2014-01-31 Thread Doug

On 01/31/2014 02:26 AM, Scott Ferguson wrote:
/snip/

Do you have a PC speaker?

What is a PC speaker? I have a woofer and two tweeters that produce
sound for video clips from YouTube, but PC speaker must be something
else?

Yes. It's the thing that goes beep :D
If you have one it'll be a piezo or magnetic device mounted on the
motherboard or inside the front panel.


/snip/

Back when computing was new, there was a little speaker on every case, 
and when
you booted up, it would go beep, and if it went more than one beep, it 
was the code
for something not working. It's extremely likely that your mobo has a 
connection for
that speaker that's missing from your case. So look at your 
documentation, and find
a tiny speaker that you can mount to a louver or set of holes in the 
front of your case,
and hook it all up. A computer shop ought to have one of those little 
speakers from

an old machine that they scrapped.

--doug


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52ebb8ba.7080...@optonline.net



Re: making my Wheezy beep. How?

2014-01-31 Thread Karl E. Jorgensen
Hi

On Thu, Jan 30, 2014 at 10:40:22PM -0700, Paul E Condon wrote:
> I want my Wheezy desktop (windowing with xfce) to issue a beep after a
> adjustable amount of time. I expected that I could do this with a tiny
> bash script using sleep and echo, but I cannot get echo to make the
> computer issue a beep as it should according to the man page. What
> special knowledge is needed? Why don't I get a beep with:
> 
> echo -e \a

apt-get install beep ?

Description-en: advanced pc-speaker beeper
 beep does what you'd expect: it beeps. But unlike printf "\a" beep allows
 you to control pitch, duration, and repetitions. Its job is to live inside
 shell/perl scripts and allow more granularity than one has otherwise. It is
 controlled completely through command line options. It's not supposed to be
 complex, and it isn't - but it makes system monitoring (or whatever else it
 gets hacked into) much more informative.

Sounds like it does what you want.

I believe this will use the built-in PC speaker (the same one the
BIOS uses to complain about stuff) and not the sound card.

In the past I used a package which I cannot find at the moment. I
*think* it was called "ditty" but my apt-fu is not working for me
today. Had lots of fun getting a whole rack playing "Fur Elise" ...

Hope this helps

-- 
Karl E. Jorgensen


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140131110750.GA340@hawking



Re: making my Wheezy beep. How?

2014-01-31 Thread Ralf Mardorf
JFTR on my Arch install printf "\a" and printf "\7" do not work when
running them in xfce4-terminal 0.6.3 but they cause a beep when using
MATE terminal 1.6.2 instead.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391162695.688.3.camel@archlinux



Re: making my Wheezy beep. How?

2014-01-31 Thread Scott Ferguson
On 31/01/14 18:39, Clive Standbridge wrote:
>>  Why don't I get a beep with:
>>
>> echo -e \a
> 
> Because the shell absorbs the \ and the echo command sees only the
> letter a. Try this:
> 
> echo -e '\a'
> 


Good point.
Getting the (system) beep is tricky, traditionally it used the ^G. From
foggy memory there are 3 ways to get the beep, all require a physical PC
speaker and the pcspkr module loaded. beep (the debian package) will try
all 3 ways.

So as well as requiring the physical PC-speaker (on-board, not the ones
attached to the soundcard) the OP should check for the appropriate
module (which Debian installs by default if dmi finds the device present):-
$ lsmod | grep pcspkr
pcspkr 12515  0

(from foggy memory) you can unload pcspkr and load snd-pcsp for more
control.

It is possible to re-route the system beep to external speakers, (check
with a search engine for a more reliable guide).

NOTE: if the OP is using ssh the process is different:-
echo -en "\a" > /dev/$unusedTTY


Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52eb5d9a.9020...@gmail.com



Re: making my Wheezy beep. How?

2014-01-31 Thread Clive Standbridge
>  Why don't I get a beep with:
> 
> echo -e \a

Because the shell absorbs the \ and the echo command sees only the
letter a. Try this:

echo -e '\a'

-- 
Cheers,
Clive


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140131073908.GA6222@rimmer.localdomain



Re: making my Wheezy beep. How?

2014-01-30 Thread Loïc Grenié
2014-01-31 Paul E Condon :
> I want my Wheezy desktop (windowing with xfce) to issue a beep after a
> adjustable amount of time. I expected that I could do this with a tiny
> bash script using sleep and echo, but I cannot get echo to make the
> computer issue a beep as it should according to the man page. What
> special knowledge is needed? Why don't I get a beep with:
>
> echo -e \a

You need a terminal (either Linux console or standard xterm/
  gnome-terminal/kde-terminal/eterm/whaterver terminal) to interpret
  the "\a" as a beep. Either run your script in a terminal (but that
  will probably have visual artifact that are not very nice) or use the
  command "beep" as suggested by Scott.

  Hope this helps,

 Loïc


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/camlkffq7uhhuvnd3qjc59d0qf4pdavp0h+mtxplangktz7c...@mail.gmail.com



Re: making my Wheezy beep. How?

2014-01-30 Thread Scott Ferguson
On 31/01/14 18:12, Paul E Condon wrote:
> On 20140131_174326, Scott Ferguson wrote:
>> On 31/01/14 16:40, Paul E Condon wrote:
>>> I want my Wheezy desktop (windowing with xfce) to issue a beep after a
>>> adjustable amount of time. I expected that I could do this with a tiny
>>> bash script using sleep and echo, but I cannot get echo to make the
>>> computer issue a beep as it should according to the man page. What
>>> special knowledge is needed? Why don't I get a beep with:
>>>
>>> echo -e \a
>>>
>>> TIA
>>>
>>
>> Do you have a PC speaker?
> 
> What is a PC speaker? I have a woofer and two tweeters that produce
> sound for video clips from YouTube, but PC speaker must be something
> else?

Yes. It's the thing that goes beep :D
If you have one it'll be a piezo or magnetic device mounted on the
motherboard or inside the front panel.

It's possible to re-route to your external speakers but I'd have to look
up the method using the search engine (which I doubt I could do better
than you.

When you've found the solution you 'may' find this useful, quickly
copied from our internal-use wiki:-

beep

# apt-get install beep

beep allows the user to control the pc-speaker with precision, allowing
different sounds to indicate different events. While it can be run quite
happily on the command line, it's intended place of residence is within
shell/perl scripts, notifying the user when something interesting
occurs. Of course, it has no notion of what's interesting, but it's real
good at that notifying part. All options have default values, meaning
that just typing 'beep' will work. If an option is specified more than
once on the command line, subsequent options override their
predecessors. So 'beep -f 200 -f 300' will beep at 300Hz.
Examples
Simple tune

#!/bin/bash
# NAME: beep.sh
# LOCATION: ~/Scripts
beep -f 65.4064 -l 100 -n -f 130.813 -l 100 -n -f 261.626 -l 100 -n -f
523.251 -l 100 -n -f 1046.50 -l 100 -n -f 2093.00 -l 100 -n -f 4186.01
-l 100

Using beep to indicate a computer has booted

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/home/scott/beep.sh
exit 0

Using beep to indicate a VirtualBox guest has booted

NOTE: This requires the previous use of ssh-copy-id

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
ssh scott@work /home/scott/beep.sh
exit 0

> 
>>
>> Kind regards
>>
>>


Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52eb501f.1000...@gmail.com



Re: making my Wheezy beep. How?

2014-01-30 Thread Paul E Condon
On 20140131_174326, Scott Ferguson wrote:
> On 31/01/14 16:40, Paul E Condon wrote:
> > I want my Wheezy desktop (windowing with xfce) to issue a beep after a
> > adjustable amount of time. I expected that I could do this with a tiny
> > bash script using sleep and echo, but I cannot get echo to make the
> > computer issue a beep as it should according to the man page. What
> > special knowledge is needed? Why don't I get a beep with:
> > 
> > echo -e \a
> > 
> > TIA
> > 
> 
> Do you have a PC speaker?

What is a PC speaker? I have a woofer and two tweeters that produce
sound for video clips from YouTube, but PC speaker must be something
else?

> 
> Kind regards
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/52eb460e.4000...@gmail.com
> 

-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140131071224.ga27...@big.lan.gnu



Re: making my Wheezy beep. How?

2014-01-30 Thread Scott Ferguson
On 31/01/14 16:40, Paul E Condon wrote:
> I want my Wheezy desktop (windowing with xfce) to issue a beep after a
> adjustable amount of time. I expected that I could do this with a tiny
> bash script using sleep and echo, but I cannot get echo to make the
> computer issue a beep as it should according to the man page. What
> special knowledge is needed? Why don't I get a beep with:
> 
> echo -e \a
> 
> TIA
> 

Do you have a PC speaker?

Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52eb460e.4000...@gmail.com