Tag: dbus
-
D-Bus and Python: asynchronous method implementation
This is a quick demonstration of how to implement a D-Bus method in Python using asynchronous callbacks. I recently added support in system-config-printer for determining the best driver to use for a particular printer. This is an expensive operation, largely because of the time it takes to get a list of available drivers from CUPS,…
-
Presenting at OpenPrinting Summit today
Just a quick note that I’ll be presenting by phone today, Thursday 15th April, at the OpenPrinting Summit on the topic of automatic printer driver installation in Fedora 13. The talk is at 1600 UTC / 1700 BST, and was not Wednesday as scheduled. The schedule hasn’t been updated yet, but when it is you…
-
D-Bus system services for print queues
Further to the recent work on replacing hal-cups-utils, I’ve now split out the parts that use CUPS into a D-Bus system service. This allows udev to simply call the D-Bus methods and let the activated service deal with the potentially time-consuming bits. It also makes it a bit easier to get the SELinux security labelling…