Q: Installing python DataEngine?

Richard Dale richard.j.dale at gmail.com
Thu Dec 18 12:20:22 CET 2008


2008/12/18 Aaron J. Seigo <aseigo at kde.org>

> On Wednesday 17 December 2008, D. R. Evans wrote:
> > I have a .desktop file and main.py file for a simple DataEngine. How do I
> > go about actually installing the DataEngine into the system? (So I can
> then
>
> if it's a properly formed package directory:
>
> plasmapkg -i -type dataengine <path to dir containing package>
>
> otherwise, copy the .desktop file into ~/.kde/share/kde4/services/ and the
> .py
> file into ~/.kde/share/apps/plasma/dataengines/engines/plasma-dataengine-
> <pluginname, from the .desktop file>/

The plasmapkg tools actually installs the data engines in the dataengines
directory, and not in engines/dataengines. Recently I changed to script
engine runtime to pick them up from there assuming the plasmapkg tool was
correct. Perhaps that was wrong and I should have changed plasmapkg instead?
For example, this is where my ruby time engine gets installed:

.kde/share/apps/plasma/dataengines/ruby-time

-- Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20081218/543f8f31/attachment.htm 


More information about the Plasma-devel mailing list