CDDE  CD Detect & Execute utility

Description | Source code | Releases | Links


CD Detect & Execute (CDDE) is an utility for Linux that detects when a CD/DVD-ROM drive has a disc inserted. When it finds a disc inserted in the drive it will attempt to determine the type of the disc, and execute a specified command. This means a DVD can be inserted and your favorite DVD software will start, or a data CD can be automatically mounted, etc. The commands are defined in a configuration file that has simple XML syntax.

CDDE was written by Eric Lathrop. Since August 2008 the maintenance and packaging of CDDE is done at SourceForge. If you are interested in this project and willing to contribute please contact the current project admin Stanislav . Maslovski at gmail . com.

Source code

The source code of the current development branch can be obtained from CDDE's SVN repository. Install subversion and issue this command to check out the sources:

svn co cdde

Then run ./ to generate scripts used by ./configure (you will need autotools for this step); please note that will run ./configure by itself, if you need to supply arguments to it, add them to command line.

Running ./ --help will create the scripts and list the avaliable configure arguments. To configure (or reconfigure) the package later simply run ./configure with the necessary arguments.

The program uses libxml2 to parse its config file, therefore you will have to install it. Currently, you will also need pkg-config to run ./configure, but this may change in future.

To compile and install the program do make and make install, as usual.


We periodically release source tarballs. You can either get the latest release directly using the link below:

or check it out of the SVN repository. Every release is given a tag which is the same as the release version number. You can use this command to check out a particular release:

svn co cdde-x.y.z

where x.z.y is 0.3.1 (for the latest release).

The release tarballs include files generated by autotools therefore to compile the program it is enough to do ./configure && make.


CDDE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Valid HTML 4.01! Valid CSS!