Installing Python-based plasmoids globally

Karl Ove Hufthammer karl at huftis.org
Sun Sep 2 18:54:33 UTC 2012


I’ve created a Python-based plasmoid, using the instructions at
http://techbase.kde.org/Development/Tutorials/Plasma/Python/GettingStarted
but am having some trouble getting it installed (globally). I couldn’t
find any documentation on how to actually do this, but looking at other
installed packages, I figured that I should install the directory tree

  metadata.desktop
  contents/code/main.py

into

  /usr/share/kde4/apps/plasma/plasmoids/appname
  
I have tried doing this and then running kbuildsyscoca4, but it seems to
have no effect; i.e., the appname plasmoid doesn’t appear in the list of
plasmoids.

So how should I properly install the plasmoid to make it show up? (Note
that creating a zip file and using plasmapkg to install it works fine,
but this only install the plasmoid in the current user’s directory, and
requires X running, so I don’t want to do this.)

-- 
Karl Ove Hufthammer
http://huftis.org/
Jabber: karl at huftis.org



More information about the Plasma-devel mailing list