Personal tools
Document Actions

Tux on the D-bus

Up to Scripts

Tux on the D-bus

Posted by Martin Thomas at May 14. 2007
I am working on some code to allow dbus aware applications to make requests of Tux to read out messages, flap wings etc.
This would provide a single point of access to Tux, instead of having multiple scripts simultaneously try to do conflicting things.

Is anyone else working on anything similar?


//M

Re: Tux on the D-bus

Posted by Antoine Brenner at May 14. 2007

Is the tuxdaemon itself not supposed to handle conflicting things ?


If not, what is the point of having the daemon run ?


Re: Tux on the D-bus

Posted by Martin Thomas at May 15. 2007

The tux daemon provides access to the USB device and the API.. but many python programs can instantiate a copy of Tux and try to send commands, with mixed results.  If the radio link drops then reconnects, which copy should get control?  I am not convinced that the event handlers for connect and disconnect work properly yet.



The other advantage of using dbus is it allows easy access to system notifications. For example, plugging in a USB device raises an event that could be used to trigger Tux to say something.  The Evolution mailreader also sends a notification.. unfortunately, it does not say which message is new only which folder has the new message.


Re: Tux on the D-bus

Posted by Mark Atwood at July 31. 2007

I think this is an excellent idea!


Powered by Ploneboard
You are here: Home Forum Scripts Tux on the D-bus

Powered by Plone CMS, the Open Source Content Management System