[agl-discussions] Disabling de,p homescreen/windowmanager
tanikawa.tadao at jp.panasonic.com
tanikawa.tadao at jp.panasonic.com
Thu Jan 26 01:53:24 UTC 2017
Hi Matsuzawa-san,
Currently symbolic link of HomeScreen.service and WindowManager.service which enables automatically boot are placed onto the directory which cannot be handled by 'systemctl --user' command.
To switch off HomeScreen/WindowManager,
1) stop them manually every time after booting by following instruction.
# systemctl --user stop HomeScreen
# systemctl --user stop WindowManager
# systemctl --user stop InputEventManager
# systemctl --user stop HomeScreenAppFrameworkBinderAGL
NOTE: Event if you did all this commands, screen doesn't change anything because currently HomeScreen and WindowManager don't care about cleaning up ivi-surfaces/layers which they used.
2) disable them not to boot automatically by following instruction.
# rm /etc/systemd/user/default.target.wants/HomeScreen.service
# rm /etc/systemd/user/default.target.wants/WindowManager.service
Then reboot system.
If you want to recover auto-boot HomeScreen/WindowManager,
# systemctl --user enable HomeScreen
# systemctl --user enable WindowManager
NOTE: After using 'enable', symbolic links placed under /home/root/.config/systemd/user/default.target.wants/.
So after that, you can disable|enable HomeScreen/WindowManager by 'systemctl --user disable|enable'.
Regards,
Tadao Tanikawa
-----Original Message-----
From: automotive-discussions-bounces at lists.linuxfoundation.org [mailto:automotive-discussions-bounces at lists.linuxfoundation.org] On Behalf Of Takashi Matsuzawa
Sent: Thursday, January 26, 2017 9:55 AM
To: automotive-discussions at lists.linuxfoundation.org
Subject: [agl-discussions] Disabling de,p homescreen/windowmanager
Hello, AGL.
This may be a trivial topic, but I am not sure how to.
I want to switch (dynamically, or as boot default) between AGL demo homesceen/windowmanager and my own one.
To accomplish this, first I think I need to stop them.
But systemctl --user disable HomeScreen.service, etc. does not seem to have effect.
The screen does not change, and if I reboot the board, AGL window manager and homescreen are automatically run.
(But if I see them through systemctl list-units, etc. their status is 'disabled'.)
Is there a quick way to do this, rather than removing their recipes from the build tree (it means rebuild)?
More information about the automotive-discussions
mailing list