Sponsored Content
Full Discussion: turn off sound
Top Forums UNIX for Dummies Questions & Answers turn off sound Post 302133961 by porter on Monday 27th of August 2007 06:58:56 PM
Old 08-27-2007
Which beep is that then?

Code:
if (annoying(lastThingHeard()))
{
     setTime(timeBeforeAnnoyingEvent());
     disableSound();
     sleep(durationOfAnnoyingEvent());
     enableSound();
}

that should make sure only annoying noises are silenced.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Does this sound right?

A user's default permissions when creating new files or directories is set by the umask of either the system or in the startup script of the user itself. For example, I have 'umask 022' in my .profile which means that my default permissions will be 755. Typically, the system default umask is 022,... (1 Reply)
Discussion started by: wmosley2
1 Replies

2. UNIX for Dummies Questions & Answers

How to turn off duplex

I am using digital Unix and lpd. I have HP 4200n LaserJet TCP printer, but when I use lpr command, it always print duplex. I can turn off duplex feature at the panel of the printer, but then other Windows computer cannot print duplex. How can I set up /etc/printcap file so that it will be... (2 Replies)
Discussion started by: hiepng
2 Replies

3. AIX

How to turn off telnet on AIX

Greetings. . .Can anyone out there explain how I would turn off the telnet service and close the telnet port on a AIX system? Thank you, outta. (2 Replies)
Discussion started by: outtacontrol
2 Replies

4. UNIX for Advanced & Expert Users

Eth1 turn off by itself after reboot

Hi, Recently we discovered the eth1 of one of the server turn off by itself when the system reboot. Could someone please advise how to fix it? Thanks (4 Replies)
Discussion started by: beeloo
4 Replies

5. OS X (Apple)

Sound under OS 10.4.11 and 10.7.2

There is a change with UnIX version concerning these two platforms. I own a Power G4 Mac with OS 10.4.11 and a Mac Book Pro with Lion OS 10.7.2. There are some problems of compatibilities between the two UNIX versions. Under OS 10.4.11, these three UNIX commands work, in order to produce sounds,... (4 Replies)
Discussion started by: shub22
4 Replies

6. Linux

No sound

I reformatted my hard drive and installed Mandriva 2011. It works fine. I can go to the Internet The problem is no sound. I want to listen to songs from YouTube. Sound doesn't come. I see a man is singing on the screen. No sound. I had no problem with my old Mandriva. Sound and everything... (11 Replies)
Discussion started by: Toxic
11 Replies

7. UNIX for Dummies Questions & Answers

Turn off logging while doing LFTP

Hello All, Is there a way to turn off the caching of the login/password details in ~/.lftp/transfer_log file when i do lftp to remote site. we are using Red Hat Linux OS /usr/bin/lftp<<-ftp_script open sftp://$FTPHOST user $FTPUSER $FTPPASS lcd /tmp/TEST_Data put "test.gpg" bye ftp_script ... (0 Replies)
Discussion started by: Ariean
0 Replies

8. UNIX for Beginners Questions & Answers

Just can't turn off ipv6?

I'm running a Linux OS that uses Debian as it's base. A commercial vpn is installed that uses OpenVPN. For some reason, I can't get ipv6 to tunnel properly .... and Ipleak.net shows that my location is being unmasked by ipv6. I've tried kernel commands at boot, I've tried sysctl.conf commands.... (2 Replies)
Discussion started by: benc
2 Replies
vboxbeep(1)						    Linux System Administration 					       vboxbeep(1)

NAME
vboxbeep - isdn voice box (beeper) SYNOPSIS
vboxbeep [OPTION] [OPTION] [...] DESCRIPTION
vboxbeep is a daemon, that watches several message directories. If new messages are found it will beep. Vboxbeep does not use vboxd, it can only watch local directories. Vboxbeep is also used to stop this annoying beep. OPTIONS
Without any options, vboxbeep will signal an already running vboxbeep to stop its beep. Only root can start it as daemon. -s, --sound HOURS Hours to play beep signal. Use 24 hour format, like 0-23. Multiple hours can be given separated by commas, a "*" is used for always, "-" for never. -m, --messagebox DIR Message directory to scan. You can use this option several times. -p, --pause SECS Time to wait between every check. Default is 5 seconds. -k, --kill Kill a running vboxbeep. This option can only be used by root. -h, --help Show summary of options. -v, --version Show version of program. NOTE
vboxbeep will only work if it is installed suid root. This may be a security hole, so many distributions do not install it suid root, and thus it's useless. If you want to enable vboxbeep, please read the distribution-specific documentation how to do that (e.g. with debian gnu/linux read /usr/doc/isdnutils/README.debian). AUTHOR
This manual page was written by Andreas Jellinghaus <aj@dungeon.inka.de>, for Debian GNU/Linux and isdn4linux. ISDN 4 Linux 3.25 2000/09/15 vboxbeep(1)
All times are GMT -4. The time now is 10:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy