[kde-community] Plasmoids and Apps - was - Re: Applications in KDE Generation 5

Marco Martin notmart at gmail.com
Thu Jan 16 22:46:02 UTC 2014


On Thu, Jan 16, 2014 at 10:07 PM, Albert Astals Cid <aacid at kde.org> wrote:

> El Dijous, 16 de gener de 2014, a les 12:05:17, Aaron J. Seigo va escriure:
> > On Thursday, January 16, 2014 11:46:33 Kevin Krammer wrote:
> > > On Thursday, 2014-01-16, 10:43:42, Aaron J. Seigo wrote:
> > > I also thought about plasma-windowed when reading that :)
> > >
> > > However, I think it is one of those "hidden gems" that nobody knows
> about.
> > > I've had questions like "can I run $applet stand-alone" on the user
> > > support
> > > lists a couple of times and plasma-windowed was the answer.
> > >
> > > Its drawback currently is that it is not very easy to figure out what
> to
> > > pass as its commandline argument.
> >
> > KRunner will do this for you, actually. If you type “calc”, and the
> plasmoid
> > runner is installed, you’ll get a match offering to run the plasmoid in a
> > window. Well, it doesn’t  actually *say* that, since that’s jargon, but
> > that’s what the match does.
> >
> > For plasmoids suited to being run as an app they should also install a
> > .desktop file with this command in it so that it is completely
> transparent
> > to the user.
> >
> > All of the above occurs in Plasma Active, so we know it works well from a
> > technical POV.
>
> Can you start it from the command line?


like plasma-windowed calculator (have still to port it to a plasma2 version)


>
>
Also "in my mind" something that i can start from the command line and
> creates
> it's own top-level window is not a plasmoid. But from reading your emails
> seems it is for you.

Can you share with us your definition of plasmoid so we are all on the same
> terminology?
>

yep, that probably was the misunderstanding indeed ;)

basically, to me to be a "plasmoid" is the technical implementation

in brief, something that implements a plasma applet, that therefore can  be
loaded as a desktop widget (butcan be loaded also with other appearances as
a top level window)
in plasma1/c++ case, a plugin that reimplements Applet (for historical
record :p),
 in the qml/plasma2 case, is a directory containing qml files (and other
stuff like images ) in a particular location with a particular hyerarchy
(that can be understood by the Package class) and loaded by a plasma shell.

about doing applications with it or not, i guess is developer's choice,
depending how much integration they want, how many dependencies want to
accept, if it's a small gadget like one or a very big one and so on.
so in the end i see  nothing bad to hae some apps implemented as plasmoids,
if a developers wants to ship it like that, they don't exclude each other
and probably the overlap of use cases exists but is only partial.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-community/attachments/20140116/210888fa/attachment.html>


More information about the kde-community mailing list