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
# 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/<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