Hi,
I find a file named "weston.sh"(/etc/profile.d/weston.sh) and modify it:
-Environment=ELM_ENGINE=wayland_egl
-Environment=ECORE_EVAS_ENGINE=wayland_egl
+Environment=ELM_ENGINE=wayland_shm
+Environment=ECORE_EVAS_ENGINE=wayland_shm
After reboot,it worked.
Thanks for your help !
Best regard,
kongling
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: RE: Changes have no effect on Environment variable
Date: Thu, 21 Aug 2014 01:21:50 +0000
Hi,
> please tell me the git url of that service file you're editing ?
>
> and make sure to edit files in /etc/profile.d/
I added my changes in "/usr/lib/systemd/system/[email protected]".
The image is madeby myself with :
http://download.tizen.org/releases/milestone/tizen/ivi-3.0.m14.2/tizen-3.0.m14.2-ivi_20140724.4/images/arm/ivi-mbr-i586/tizen-3.0.m14.2-ivi_20140724.4_ivi-mbr-i586.ks
1). -Environment=ELM_ENGINE=wayland_egl
-Environment=ECORE_EVAS_ENGINE=wayland_egl
+Environment=ELM_ENGINE=wayland_shm
+Environment=ECORE_EVAS_ENGINE=wayland_shm
2).-Environment=ELM_ENGINE=wayland_egl
-Environment=ECORE_EVAS_ENGINE=wayland_egl
+ExecStartPre=-/bin/sh -c "export ELM_ENGINE=wayland_shm"
+ExecStartPre=-/bin/sh -c "export ECORE_EVAS_ENGINE=wayland_shm"
1) and 2) both have no effect.(root and app user are always wayland_egl.)
I modified "/etc/profile".
+export ELM_ENGINE=wayland_shm
+export ECORE_EVAS_ENGINE=wayland_shm
After reboot, it still have no effect.
> Date: Tue, 19 Aug 2014 14:23:42 +0200
> Subject: Re: Changes have no effect on Environment variable
> From: [email protected]
> To: [email protected]
> CC: [email protected]
>
> 2014-08-19 14:15 GMT+02:00 kongling <[email protected]>:
> > Hi,
> > Thanks for your reply!
> > I add below cmds to test it, but it still have no effect.
>
>
> please tell me the git url of that service file you're editing ?
>
> and make sure to edit files in /etc/profile.d/
>
>
> > Do you have any other suggestions?
>
> you can force env in systemd's environment file
> but this is not system wide and I would suggest to have use /etc/profile
> which is designed to have something consistent.
>
> Good luck
>
> --
> mailto:[email protected] -- gpg:0x467094BC
> xmpp:[email protected]
> https://dockr.eurogiciel.fr/blogs/embedded/author/pcl/
> .
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi