This project is daemon which listens to dbus signals and runs applications accordingly. For example, one can set the aux button to launch the dialer and the other can set a sound when screen is dimmed with as little as no effort.

http://projects.openmoko.org/projects/siglaunchd/