Installing Plasma.Service *.operations file

Thomas Olsen tanghus at gmail.com
Wed Dec 22 23:08:45 CET 2010


On Wednesday 22 December 2010 20:42:56 Thomas Olsen wrote:
> On Wednesday 22 December 2010 20:15:16 Aaron J. Seigo wrote:
> > On Wednesday, December 22, 2010, Thomas Olsen wrote:
> > > An - I suppose - simple question: I need to install an
> > > <enginename>.operations file together with the dataengine package. Is
> > > there a standard way of doing this or should I make some hack with
> > > KGlobal.dirs().localkdedir() and then append
> > > 'share/apps/plasma/services'? It seems rather hackish but I bet I've
> > > missed something very obvious..?
> > 
> > if you are writing your engine in Javascript, Python or Ruby then you
> > just include the operations file in your package under
> > contents/services/
> 
> Excellent! It was obvious. I bet I have read this somewhere but it got lost
> again. Thanks :-)

Except that it doesn't work until it's installed in 
~/.kde/share/apps/plasma/services. I thought I had messed up my code but it 
works again after I copied it there.

-- 
Best regards / med venlig hilsen

Thomas Olsen

Dropbox and my thumb drive had an epic battle. Dropbox won. 
http://db.tt/T0p6d6L
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101222/ad4a85ed/attachment.sig 


More information about the Plasma-devel mailing list