how to launch chromium(chromium-ozone-wayland) on startup using sysVinit .

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to launch chromium(chromium-ozone-wayland) on startup using sysVinit .

618 Views
shravankumaralugala
Contributor II

I would like to launch chromium on bootup automatically using sysVinit .

1. DISTRO=fsl-imx-wayland MACHINE=imx6ull14x14evk source imx-setup-release.sh -b build-wayland

2. in local.conf added CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland"

3. in weston.ini file uncomment the below lines 

   [launcher]

   icon = /usr/share/icons/hicolor/24*24/app/google-chrome.png

  path =/usr/bin/chromium

4. builded the image

5. booted the image

On the task bar I can see the chromium icon , by clicking the icon chromium launches .

Need help how can I launch chromium on bootup ? 

Labels (1)
0 Kudos
3 Replies

606 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @shravankumaralugala 

As you are using sysvinit as init programs, then you can refer to some scripts which locate at the directory /etc/init.d with start cap letter S as to write one to auto boot chromium. You might also try to write commands into /etc/init.d/rcS for auto boot chromium.

 

Best regards

Harvey

0 Kudos

599 Views
shravankumaralugala
Contributor II

I have tried adding /usr/bin/chromium in /etc/init.d/rcS , this hadn't helped me.

0 Kudos

552 Views
shravankumaralugala
Contributor II

no issue hadn't solved.

0 Kudos