From d1559b674853ef55e0b2151f4354861bc2f18fc4 Mon Sep 17 00:00:00 2001 From: Trinh Pham Date: Wed, 10 Jul 2019 18:20:46 +0700 Subject: [PATCH] Set screen background on startup --- docker/Emulator_x86 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Emulator_x86 b/docker/Emulator_x86 index 4ea350a..982c772 100644 --- a/docker/Emulator_x86 +++ b/docker/Emulator_x86 @@ -38,6 +38,8 @@ RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ # Windows manager # feh # ScreenBackground +# python-xdg +# Required by openbox autostart function # menu # Debian menu # python-numpy @@ -70,6 +72,7 @@ RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \ x11vnc \ openbox \ feh \ + python-xdg \ menu \ python-numpy \ net-tools \ @@ -170,7 +173,7 @@ ENV DISPLAY=:0 \ ADD images/logo_dockerandroid_small.png /root/logo.png ADD docker/configs/.fehbg /root/.fehbg RUN sed -i "s/4<\/number>/1<\/number>/g" /etc/xdg/openbox/rc.xml \ - && echo 'eval `cat $HOME/.fehbg` &' >> /etc/xdg/openbox/autostart + && echo /root/.fehbg >> /etc/xdg/openbox/autostart #=============== # Expose Ports