Set screen background on startup

This commit is contained in:
Trinh Pham 2019-07-10 18:20:46 +07:00
parent 5c3cc8ed4d
commit d1559b6748

View file

@ -38,6 +38,8 @@ RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \
# Windows manager # Windows manager
# feh # feh
# ScreenBackground # ScreenBackground
# python-xdg
# Required by openbox autostart function
# menu # menu
# Debian menu # Debian menu
# python-numpy # python-numpy
@ -70,6 +72,7 @@ RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \
x11vnc \ x11vnc \
openbox \ openbox \
feh \ feh \
python-xdg \
menu \ menu \
python-numpy \ python-numpy \
net-tools \ net-tools \
@ -170,7 +173,7 @@ ENV DISPLAY=:0 \
ADD images/logo_dockerandroid_small.png /root/logo.png ADD images/logo_dockerandroid_small.png /root/logo.png
ADD docker/configs/.fehbg /root/.fehbg ADD docker/configs/.fehbg /root/.fehbg
RUN sed -i "s/<number>4<\/number>/<number>1<\/number>/g" /etc/xdg/openbox/rc.xml \ RUN sed -i "s/<number>4<\/number>/<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 # Expose Ports