diff --git a/docker/Emulator_x86 b/docker/Emulator_x86 index 6456949..6377de9 100644 --- a/docker/Emulator_x86 +++ b/docker/Emulator_x86 @@ -36,6 +36,10 @@ RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ # We use package from ubuntu 18.10 to fix crashing issue # openbox # Windows manager +# feh +# ScreenBackground +# python-xdg +# Required by openbox autostart function # menu # Debian menu # python-numpy @@ -67,6 +71,8 @@ RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \ socat \ x11vnc \ openbox \ + feh \ + python-xdg \ menu \ python-numpy \ net-tools \ @@ -162,8 +168,12 @@ ENV DISPLAY=:0 \ # openbox configuration # Update the openbox configuration files to: # + Use a single virtual desktop to prevent accidentally switching +# + Add background #================================================ -RUN sed -i "s/4<\/number>/1<\/number>/g" /etc/xdg/openbox/rc.xml +ADD images/logo_dockerandroid_small.png /root/logo.png +ADD src/.fehbg /root/.fehbg +RUN sed -i "s/4<\/number>/1<\/number>/g" /etc/xdg/openbox/rc.xml \ + && echo /root/.fehbg >> /etc/xdg/openbox/autostart #=============== # Expose Ports diff --git a/docker/configs/sources1810.list b/docker/configs/sources1810.list new file mode 100644 index 0000000..e64c003 --- /dev/null +++ b/docker/configs/sources1810.list @@ -0,0 +1,2 @@ +deb http://archive.ubuntu.com/ubuntu/ cosmic main restricted universe +deb http://security.ubuntu.com/ubuntu/ cosmic-security main restricted universe diff --git a/docker/configs/x11vnc.pref b/docker/configs/x11vnc.pref new file mode 100644 index 0000000..67a022f --- /dev/null +++ b/docker/configs/x11vnc.pref @@ -0,0 +1,6 @@ +Package: * +Pin: release n=bionic +Pin-Priority: -10 +Package: x11vnc* +Pin: release n=cosmic +Pin-Priority: 500 \ No newline at end of file diff --git a/src/.fehbg b/src/.fehbg new file mode 100755 index 0000000..459fefe --- /dev/null +++ b/src/.fehbg @@ -0,0 +1,2 @@ +#!/bin/sh +feh --bg-max '/root/logo.png'