It looks like you want something like benja ( https://benja.io/ ) which is
Weston + Electron based.

It uses a service:
https://github.com/WebReflection/benja/blob/gh-pages/os/sh/weston-compositor.service
You can enable it via `systemctl enable weston-compositor`

You also need to put
```
[shell]
client=/usr/bin/chromium
```
or the application you want to use instead of the default desktop/shell
inside the `~/.config/weston.ini` file, and this can be also a bash file
that launches chrome in fullscreen or with specific parameters.

You can test that everything works as expected simply using
`/usr/bin/weston-terminal` as client to find yourself within the shell (or
you can just use Benja to develop your portable app)

Best Regards



On Wed, Oct 26, 2016 at 3:10 PM, Nikola Popovic <[email protected]>
wrote:

> Greetings.
>
> I have installed yocto on my board. Im planing to run weston just after
> boot finish and to run chromium inside weston. Is it possible to write some
> script or something in weston.ini to run chromium inside weston without my
> interaction.
>
> Tnx!
>
> --
> Nikola Popovic
> Software Engineer
> Tel: +381 21 4801 1304
> E-mail : [email protected]
>
> RT-RK LLC
> Narodnog fronta 23a
> 21000 Novi Sad
> Serbia
> www.rt-rk.com
>
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to