> though would be two different mainfiles in the package depending if > it's loaded as containment or as an applet? Yes. Either potentially we can use the "X-Plasma-MainScript" property in the metadata , or worst case we install as two packages and they both pull in the same private library. > -- > Marco Martin