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

List:       kde-community
Subject:    Re: [kde-community] Plasmoids and Apps - was - Re: Applications in KDE Generation 5
From:       Marco Martin <notmart () gmail ! com>
Date:       2014-01-16 22:46:02
Message-ID: CAD6_BotmPWZvRookb7ciOX80oKQmcv=r-B7-z_q_dcCG=3uO=Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Jan 16, 2014 at 10:07 PM, Albert Astals Cid <aacid@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.

[Attachment #5 (text/html)]

<div dir="ltr">On Thu, Jan 16, 2014 at 10:07 PM, Albert Astals Cid <span \
dir="ltr">&lt;<a href="mailto:aacid@kde.org" \
target="_blank">aacid@kde.org</a>&gt;</span> wrote:<br><div class="gmail_extra"><div \
class="gmail_quote"> <blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">El Dijous, 16 de gener de 2014, a \
les 12:05:17, Aaron J. Seigo va escriure:<br> <div class="im">&gt; On Thursday, \
January 16, 2014 11:46:33 Kevin Krammer wrote:<br> &gt; &gt; On Thursday, 2014-01-16, \
10:43:42, Aaron J. Seigo wrote:<br> &gt; &gt; I also thought about plasma-windowed \
when reading that :)<br> &gt; &gt;<br>
&gt; &gt; However, I think it is one of those &quot;hidden gems&quot; that nobody \
knows about.<br> &gt; &gt; I&#39;ve had questions like &quot;can I run $applet \
stand-alone&quot; on the user<br> &gt; &gt; support<br>
&gt; &gt; lists a couple of times and plasma-windowed was the answer.<br>
&gt; &gt;<br>
&gt; &gt; Its drawback currently is that it is not very easy to figure out what \
to<br> &gt; &gt; pass as its commandline argument.<br>
&gt;<br>
&gt; KRunner will do this for you, actually. If you type "calc", and the plasmoid<br>
&gt; runner is installed, you'll get a match offering to run the plasmoid in a<br>
&gt; window. Well, it doesn't   actually *say* that, since that's jargon, but<br>
&gt; that's what the match does.<br>
&gt;<br>
&gt; For plasmoids suited to being run as an app they should also install a<br>
&gt; .desktop file with this command in it so that it is completely transparent<br>
&gt; to the user.<br>
&gt;<br>
&gt; All of the above occurs in Plasma Active, so we know it works well from a<br>
&gt; technical POV.<br>
<br>
</div>Can you start it from the command line?</blockquote><div><br></div><div>like \
plasma-windowed calculator (have still to port it to a plasma2 version)</div><div>  \
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  <br></blockquote><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Also &quot;in \
my mind&quot; something that i can start from the command line and creates<br> \
it&#39;s own top-level window is not a plasmoid. But from reading your emails<br> \
seems it is for you.  </blockquote><blockquote class="gmail_quote" style="margin:0 0 \
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Can you share with us your \
definition of plasmoid so we are all on the same<br> \
terminology?<br></blockquote><div><br></div><div>yep, that probably was the \
misunderstanding indeed ;)</div><div><br></div><div>basically, to me to be a \
&quot;plasmoid&quot; is the technical implementation</div><div><br> </div><div>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)</div><div>in plasma1/c++ case, a plugin that reimplements Applet (for \
historical record :p),</div> <div>  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.</div> <div><br></div><div>about doing applications with it or not, i \
guess is developer&#39;s choice, depending how much integration they want, how many \
dependencies want to accept, if it&#39;s a small gadget like one or a very big one \
and so on.</div> <div>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&#39;t exclude each \
other and probably the overlap of use cases exists but is only partial.</div> \
<div><br></div></div></div></div>



_______________________________________________
kde-community mailing list
kde-community@kde.org
https://mail.kde.org/mailman/listinfo/kde-community

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

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