[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Q: Installing python DataEngine?
From:       "Richard Dale" <richard.j.dale () gmail ! com>
Date:       2008-12-18 11:20:22
Message-ID: 491684420812180320m63108993u8b48228589304471 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2008/12/18 Aaron J. Seigo <aseigo@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

[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">2008/12/18 Aaron J. Seigo <span dir="ltr">&lt;<a \
href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt;</span><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">On Wednesday 17 December 2008, D. \
R. Evans wrote:<br> &gt; I have a .desktop file and main.py file for a simple \
DataEngine. How do I<br> &gt; go about actually installing the DataEngine into the \
system? (So I can then<br> <br>
</div>if it&#39;s a properly formed package directory:<br>
<br>
plasmapkg -i -type dataengine &lt;path to dir containing package&gt;<br>
<br>
otherwise, copy the .desktop file into ~/.kde/share/kde4/services/ and the .py<br>
file into ~/.kde/share/apps/plasma/dataengines/engines/plasma-dataengine-<br>
&lt;pluginname, from the .desktop file&gt;/<font \
color="#888888"></font></blockquote>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:<br> \
<br>.kde/share/apps/plasma/dataengines/ruby-time<br><br>-- Richard<br></div><br>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic