Add wallpapers

This commit is contained in:
Doro Wu 2015-12-03 13:48:32 +08:00
parent d6deb79bc9
commit 8112a93c49
7 changed files with 25 additions and 1 deletions

View file

@ -1,6 +1,9 @@
FROM ubuntu:14.04.2
FROM ubuntu:14.04.3
MAINTAINER Doro Wu <fcwu.tw@gmail.com>
# cache
RUN sed -i 's#http://archive.ubuntu.com/#http://qnap.dorowu.com/#' /etc/apt/sources.list
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
@ -30,6 +33,7 @@ ADD noVNC /noVNC/
ADD nginx.conf /etc/nginx/sites-enabled/default
ADD startup.sh /
ADD supervisord.conf /etc/supervisor/conf.d/
ADD doro-lxde-wallpapers /usr/share/doro-lxde-wallpapers/
EXPOSE 6080
WORKDIR /root

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 KiB

View file

@ -0,0 +1,18 @@
[*]
wallpaper_mode=stretch
wallpaper_common=0
wallpapers_configured=4
wallpaper0=/usr/share/doro-lxde-wallpapers/bg1.jpg
wallpaper1=/usr/share/doro-lxde-wallpapers/bg2.jpg
wallpaper2=/usr/share/doro-lxde-wallpapers/bg3.jpg
wallpaper3=/usr/share/doro-lxde-wallpapers/bg4.jpg
desktop_bg=#000000
desktop_fg=#ffffff
desktop_shadow=#000000
desktop_font=Sans 12
show_wm_menu=0
sort=mtime;ascending;mingle;
show_documents=0
show_trash=0
show_mounts=0

View file

@ -8,6 +8,8 @@ PASS=ubuntu
# echo "Username: ubuntu Password: $PASS"
id -u ubuntu &>/dev/null || useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu
echo "ubuntu:$PASS" | chpasswd
sudo -u ubuntu -i bash -c "mkdir -p /home/ubuntu/.config/pcmanfm/LXDE/ \
&& cp /usr/share/doro-lxde-wallpapers/desktop-items-0.conf /home/ubuntu/.config/pcmanfm/LXDE/"
cd /web && ./run.py > /var/log/web.log 2>&1 &
nginx -c /etc/nginx/nginx.conf