Linux Commands Examples

A great documentation place for Linux commands

canberra-gtk-play

play a sound event

Synopsis

canberra-gtk-play [ OPTIONS... ]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
sleep 10
/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"

description

This manual page documents briefly the canberra-gtk-play command.

canberra-gtk-play plays sound events that are specified by the XDG Sound Theme and Name Specification.

options

Application Options
-v
, --version

Display version number and quit

-i, --id=STRING

Event sound identifier

-f, --file=PATH

Play file

-d, --description=STRING

Event sound description

-c, --cache-control={ permanent|volatile|never }

Specify how canberra-gtk-play manages its cache. permanent will cause the sample to be cached permanently, volatile to be cached until the cache needs to be freed.

-l, --loop=INTEGER

Loop how many times (default: 1)

-V, --volume=STRING

A floating point dB value for the sample volume (ex: 0.0)

--property=STRING

An arbitrary property

--display=DISPLAY

X display to use

Help Options
-h
, --help

Show help options

--help-all

Show all help options

--help-gtk

Show GTK+ Options

GTK+ Options
--class=
CLASS

Program class as used by the window manager

--name=NAME

Program name as used by the window manager

--screen=SCREEN

X screen to use

--sync

Make X calls synchronous

--gtk-module=MODULES

Load additional GTK+ modules

--g-fatal-warnings

Make all warnings fatal


authors

canberra-gtk-play is Copyright 2008 Lennart Poettering.

This manual page was written by Francois Wendling <frwendling[:at:]free[:dot:]fr> for the Debian GNU/Linux system (but may be used by others).

How can this site be more helpful to YOU ?


give  feedback