On Tue, 30 Nov 2004 13:56:54 -0500, Alan Cox <alan@xxxxxxxxxx> wrote: > On Tue, Nov 30, 2004 at 12:43:16PM -0500, David Zeuthen wrote: > > exported through D-BUS), I should be able to write a daemon, let's call > > it gnome-input-manager, that runs in the desktop session as user davidz. > > This would also allow said daemon to disable the touchpad when I connect > > an external mouse or, for more fun, to disable it around intervals where > > I'm punching the keys. The reason you want this in the desktop session > > You pretty much have to. I've got a hotplug video card here for example. > That really ruins the current configuration system. OTOH you have to start > somewhere and if the goal is to unify configuration then you want to let > someone else rewrite X. However as you and Havoc both point out it has > to handle notifiers > Good. Elektra has call to get notification. Check the kdbMonitorKey() and kdbMonitorKeys() methods in the Doxygen: http://elektra.sourceforge.net/elektra-api/html/