[kde-community] Plasmoids and Apps - was - Re: Applications in KDE Generation 5
krammer at kde.org
Thu Jan 16 21:13:58 UTC 2014
On Thursday, 2014-01-16, 22:07:17, Albert Astals Cid 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?
plasma-windowed can be run from the commandline, e.g.
A hypothetical KCalc Plasma applet could also install a .desktop file that has
the appropriate Exec line.
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the kde-community