Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mute(1) [debian man page]

MUTE(1) 						    BSD General Commands Manual 						   MUTE(1)

NAME
mute -- use aumix to mute and un-mute sound output SYNOPSIS
This command does not take any command-line arguments. DESCRIPTION
mute is a small script that uses aumix to conveniently mute and un-mute sound. If sound is currently not muted, running mute will save your current settings to ~/.aumixrc (or /etc/aumixrc if you are root) and mute the sound. Running mute again will restore the settings. BUGS
The current ~/.aumixrc or /etc/aumixrc will be overwritten. AUTHORS
Ben Ford SEE ALSO
aumix(1) BSD
December 11, 2002 BSD

Check Out this Related Man Page

i8kbuttons(1)							     Utilities							     i8kbuttons(1)

NAME
I8kbuttons - Monitor the status of Fn-buttons on Dell Inspiron laptops. SYNTAX
i8kbuttons [<options>] DESCRIPTION
The i8kbuttons daemon monitors the status of the two volume buttons of the Inspiron 8000 and the corresponding Fn- combinations. When a button is pressed the daemon runs the corresponding command specified in the command-line options. By specifying the proper commnds it is then possible to control the volume of the sound mixer or run any other command you like. It must be noted that although the program has default commands for the various buttons there are no standard mixer command shipped with the many Linux distributions which can change volume incrementally and support the mute/restore function. The default commands must there- fore be overriden with specific commands depending on which mixer software is installed. Example: i8kbuttons -u "aumix -v +10" -d "aumix -v -10" -m "aumix -v 0" -r 100 -v OPTIONS
The program accepts the following command-line options: -v, --verbose Verbose mode, show all commands executed. -u, --up <command> Specifies the command to be executed when the VolumeUp button is pressed. -d, --down <command> Specifies the command to be executed when the VolumeDown button is pressed. -m, --mute <command> Specifies the command to be executed when the VolumeOn/Off button is pressed. -t, --timeout <milliseconds> Specifies the interval in milliseconds at which the daemon checks the button status. Useful values are in the range 50-200. Default is 100. -r, --repeat <milliseconds> Specifies the autorepeat interval in milliseconds. Useful values are in the range 100-1000. Default is 0, i.e. no autorepeat. Autorepeat starts after an initial delay of 250 milliseconds. This program can be used by normal users or started as daemon by an init script. Under Debian GNU/Linux it is possible to start automati- cally the daemon at boot by creating an /etc/default/i8kbuttons configfile and setting the I8KBUTTONS_UP_CMD, I8KBUTTONS_DOWN_CMD and I8KBUTTONS_MUTE_CMD variables with the command which must be executed by the program. Note the the /etc/default/i8kbuttons configfile is not installed by the i8kutils package because the program is usually run by normal users. If you want to use it as daemon you must create the config file yourself. FILES
/proc/i8k /etc/default/i8kbuttons AUTHORS
Massimo Dal Zotto <dz@debian.org> COPYRIGHT
i8kbuttons and all the i8kutils programs, scripts and other files are distributed under the GNU General Public License (GPL). On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. SEE ALSO
i8kctl(1), i8kmon(1) Massimo Dal Zotto 6 April 2009 i8kbuttons(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Simple Mute Question (I Think)

Is there any way to mute an application from the command line? Thanks for any help. (3 Replies)
Discussion started by: Switchfoot
3 Replies

2. Programming

Unix Internal

What is Unix Internals on a Layman's Language.Can I consider Unix Internal expert for a Unix's Position? Thanks (3 Replies)
Discussion started by: Rengi
3 Replies

3. Programming

How to handle mutex lock?

Hi, I have two tasks 'Read' and 'Write' which reads and writes on a file "abc.txt" respectively. Now I need to restrict the Write operation on the file while Read is going on, But can allow two Reads at a time. ie. two Reads can happen simultaneously, but Write can't happen at Read is going on. ... (3 Replies)
Discussion started by: satheeshalle
3 Replies

4. Programming

pthread_mutex_init v. sem_init v. sem_get

Apparently there are three similar features in the linux API. Can someone explain the difference between the data structures that are initialized by these functions: (1) pthread_mutex_init (2) sem_init (3) sem_get Thanks, Siegfried (5 Replies)
Discussion started by: siegfried
5 Replies

5. Shell Programming and Scripting

Mutex in Perl

Hello Everyone, I just joined this forum and this is my first post. I would like to know how can I impliment basic read/write locks in perl. I have a database (file) which can be accessed simultaneously but has to be locked while writing. If there is no such support in perl, my next... (6 Replies)
Discussion started by: superuser84
6 Replies

6. Programming

using pthread_mutex_destroy()

As part of a multi-threaded code that I am designing, I am using mutexes to control access to a shared data segments in the code. I have no problems initalising and manipulating the mutexes to control access, however terminating the mutex itself is proving to be a bit difficult. I am... (3 Replies)
Discussion started by: JamesGoh
3 Replies

7. Programming

mutexing with sysv calls

My question is: what's the best way to implement mutual exclusion for a shared memory segment. I want to ensure that while updating a shared memory segment that another process will not get read part of the segment before and the other part after the update. (I also want to ensure that the update... (3 Replies)
Discussion started by: otheus
3 Replies

8. Programming

Mutex will not work

I am trying to use mutex in my multi-tread project, but they don't seem to work. I have created a simple demonstration of the problem. This is NOT how I would use a mutex, only a demonstration of the problem: #include <stdio.h> #include <pthread.h> int main() { int val; ... (3 Replies)
Discussion started by: ChrisWilliams
3 Replies

9. Programming

pthread_mutex_trylock() overwrites global variable on CentOS5

Hi all, I am new to linux and got problem with pthread_mutex_trylock(). I have used mutex in my code. When I try to call pthread_mutex_trylock() on RECURSIVE type of mutex it overwrites adjacent memory location (that is global variable of type structure say x, memory allocated using malloc()). ... (5 Replies)
Discussion started by: liveshell
5 Replies

10. Shell Programming and Scripting

Shell quiz: implement a mutex

How would you make sure that a shell script (or a portion thereof) does not run (it waits or it terminates with error) when another instance of it is already running? (11 Replies)
Discussion started by: colemar
11 Replies

11. Programming

Can Mutex be replaced with anything?

Hi All, To avoid race condition, instead of using mutex, semaphore, spinlock etc.... Is there any other mechanism by which we can avoid race condition in an multi-threading environment. -Thanks (6 Replies)
Discussion started by: rvan
6 Replies

12. What is on Your Mind?

How long is your commute to work?

I'm just curious about the amount of time it takes you to get to work in the morning and whether you drive a car, ride a bike, walk or take public transportation. On a typical day I drive 10-15 minutes from my house to my work location followed by a 10 walk from the parking lot (car park to my... (12 Replies)
Discussion started by: bluescreen
12 Replies

13. Programming

pthread_mutex_timedlock and Timers option

in its man-page pthread_mutex_timedlock documents that the absolute timeout parameter should be based on the CLOCK_REALTIME clock or in the system clock. All this depending on whether the 'Timers option' is supported or not. What do they mean by 'Timers option'? How could I tell for sure what... (8 Replies)
Discussion started by: ramestica
8 Replies

14. Programming

pthread_mutex_lock in ANSI C vs using Atomic builtins of GCC

I have a program which has 7-8 threads, and lots of shared variables; these variables (and also they may not the primitive type, they may be enum or struct ), then they may read/write by different threads at the same time. Now, my design is like this, typedef unsigned short int UINT16;... (14 Replies)
Discussion started by: sehang
14 Replies

15. Shell Programming and Scripting

Combine Two Text Files (PERMUTE)

Hello everybody, I would like to know how can I obtain this: There are two text files.....ffirst.txt and fsecond.txt ffirst.txt contains 5 lines (example): A B C D E fsecond.txt contains 10 lines (example): 1 2 3 4 5 6 (4 Replies)
Discussion started by: gandrinno1
4 Replies