Fedora 10 Live CD services (all necessary?)

Dan Nicholson dbn.lists at gmail.com
Thu Oct 9 21:55:25 UTC 2008


On Thu, Oct 9, 2008 at 1:21 PM, Jeremy Katz <katzj at redhat.com> wrote:
> On Thu, 2008-10-09 at 22:17 +0200, Till Maas wrote:
>> On Thu October 9 2008, Paul Howarth wrote:
>> > CUPS can autodetect network printers, which desktop users would no doubt
>> > find useful, even though there may be no local printing hardware.
>>
>> Cups printer autodetection seems to work fast enough, that it could be enabled
>> on demand, e.g. when kprinter is opened. I have cups always deactivated and
>> when I need to print something, I start it and the kprinter instance I start
>> directly after this, shows the network printers, that are found via cups
>> browsing. But I guess there is no infrastructure there yet, to get cups
>> started on demand.
>
> There's some support in cups for it, but it's all tied to launchd for
> OS/X.  It would definitely be nice to have someone work on making this
> work for other environments

Since cups already has a dbus interface, wouldn't it work to do this:

cat > /usr/share/dbus-1/system-services/com.redhat.PrinterSpooler.service
<< "EOF"
Name=com.redhat.PrinterSpooler
Exec=/usr/sbin/cupsd
User=root
EOF

I haven't tested that, but I think it should work for dbus using cups clients.

--
Dan




More information about the fedora-devel-list mailing list