<div dir="ltr">> <span style="font-size:12.800000190734863px">why is it using weston-launch when you have systemd?</span><div><span style="font-size:12.800000190734863px"><br></span><div><span style="font-size:12.800000190734863px">I am not sure I understand; that file is a service that's enable via systemctl and it launches weston once the graphic is ready, right?</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">How else would you start weston on boot? Is there already a weston service I am missing? That might simplify things for me.</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">> </span><span style="font-size:12.800000190734863px">No, that does not fully work</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">FWICT benja works already pretty well and for a kiosk like system I think the following is enough, or at least it is enough for benja use case ... isn't it? Am I missing some configuration?</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">```</span></div><div><div>[core]</div><div>idle-time=0</div><div>modules=xwayland.so</div><div><br></div><div>[shell]</div><div>client=/usr/bin/app</div><div>animation=none</div><div>close-animation=none</div><div>startup-animation=none</div><div>locking=false</div></div><div>```</div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">> </span><span style="font-size:12.800000190734863px">It may appear to work at first, but you will miss the corner cases.</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">can you please indicate some of these corner cases?</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">Thank you.</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 10, 2016 at 10:57 AM, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 10 Nov 2016 09:44:58 +0000<br>
Andrea Giammarchi <<a href="mailto:andrea.giammarchi@gmail.com">andrea.giammarchi@gmail.com</a>> wrote:<br>
<br>
> It looks like you want something like benja ( <a href="https://benja.io/" rel="noreferrer" target="_blank">https://benja.io/</a> ) which is<br>
> Weston + Electron based.<br>
><br>
> It uses a service:<br>
> <a href="https://github.com/WebReflection/benja/blob/gh-pages/os/sh/weston-compositor.service" rel="noreferrer" target="_blank">https://github.com/<wbr>WebReflection/benja/blob/gh-<wbr>pages/os/sh/weston-compositor.<wbr>service</a><br>
> You can enable it via `systemctl enable weston-compositor`<br>
<br>
</span>Hi,<br>
<br>
why is it using weston-launch when you have systemd?<br>
<span class=""><br>
><br>
> You also need to put<br>
> ```<br>
> [shell]<br>
> client=/usr/bin/chromium<br>
> ```<br>
> or the application you want to use instead of the default desktop/shell<br>
> inside the `~/.config/weston.ini` file, and this can be also a bash file<br>
> that launches chrome in fullscreen or with specific parameters.<br>
<br>
</span>No, that does not fully work, unless you have modified chromium to also<br>
take care of weston-desktop-shell's responsibilities.<br>
<br>
weston-desktop-shell does not only do the wallpaper and panel, it also<br>
provides the lock screen and pointer cursors for grabs and unresponsive<br>
apps, plus more. See weston-desktop-shell.xml in Weston repository.<br>
<br>
It may appear to work at first, but you will miss the corner cases.<br>
<br>
Doing that also gives the app privileges it would not have otherwise<br>
(i.e. bind to and use weston_desktop_shell interface).<br>
<br>
<br>
Thanks,<br>
pq<br>
<div class="HOEnZb"><div class="h5"><br>
> You can test that everything works as expected simply using<br>
> `/usr/bin/weston-terminal` as client to find yourself within the shell (or<br>
> you can just use Benja to develop your portable app)<br>
><br>
> Best Regards<br>
><br>
><br>
><br>
> On Wed, Oct 26, 2016 at 3:10 PM, Nikola Popovic <<a href="mailto:nikola.popovic@rt-rk.com">nikola.popovic@rt-rk.com</a>><br>
> wrote:<br>
><br>
> > Greetings.<br>
> ><br>
> > I have installed yocto on my board. Im planing to run weston just after<br>
> > boot finish and to run chromium inside weston. Is it possible to write some<br>
> > script or something in weston.ini to run chromium inside weston without my<br>
> > interaction.<br>
> ><br>
> > Tnx!<br>
> ><br>
> > --<br>
> > Nikola Popovic<br>
> > Software Engineer<br>
> > Tel: <a href="tel:%2B381%2021%204801%201304" value="+3812148011304">+381 21 4801 1304</a><br>
> > E-mail : <a href="mailto:nikola.popovic@rt-rk.com">nikola.popovic@rt-rk.com</a><br>
> ><br>
> > RT-RK LLC<br>
> > Narodnog fronta 23a<br>
> > 21000 Novi Sad<br>
> > Serbia<br>
> > <a href="http://www.rt-rk.com" rel="noreferrer" target="_blank">www.rt-rk.com</a><br>
> ><br>
> > ______________________________<wbr>_________________<br>
> > wayland-devel mailing list<br>
> > <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.<wbr>freedesktop.org</a><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/wayland-devel</a><br>
> ><br>
<br>
</div></div></blockquote></div><br></div>