Linux Commands Examples

A great documentation place for Linux commands


play a sound event


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!


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


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.


Application Options
, --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)


An arbitrary property


X display to use

Help Options
, --help

Show help options


Show all help options


Show GTK+ Options

GTK+ Options

Program class as used by the window manager


Program name as used by the window manager


X screen to use


Make X calls synchronous


Load additional GTK+ modules


Make all warnings fatal


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