diff --git a/Dockerfile b/Dockerfile index 835ff6b..ef68d2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,13 @@ FROM ubuntu:14.04.3 MAINTAINER Doro Wu ENV DEBIAN_FRONTEND noninteractive -ENV HOME /root +ENV HOME /home/ubuntu # built-in packages RUN apt-get update \ - && apt-get install -y --force-yes --no-install-recommends software-properties-common \ + && apt-get install -y --force-yes --no-install-recommends software-properties-common curl \ + && sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /' >> /etc/apt/sources.list.d/arc-theme.list" \ + && curl -SL http://download.opensuse.org/repositories/home:Horst3180/xUbuntu_16.04/Release.key | sudo apt-key add - \ && add-apt-repository ppa:fcwu-tw/ppa \ && apt-get update \ && apt-get install -y --force-yes --no-install-recommends \ @@ -21,6 +23,7 @@ RUN apt-get update \ nginx \ python-pip python-dev build-essential \ mesa-utils libgl1-mesa-dri \ + gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine pinta arc-theme \ && apt-get autoclean \ && apt-get autoremove \ && rm -rf /var/lib/apt/lists/* @@ -38,6 +41,7 @@ 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/ +ADD gtkrc-2.0 /home/ubuntu/.gtkrc-2.0 EXPOSE 6080 WORKDIR /root diff --git a/gtkrc-2.0 b/gtkrc-2.0 new file mode 100644 index 0000000..6b8def9 --- /dev/null +++ b/gtkrc-2.0 @@ -0,0 +1,20 @@ +# DO NOT EDIT! This file will be overwritten by LXAppearance. +# Any customization should be done in ~/.gtkrc-2.0.mine instead. +include "/usr/share/themes/Arc/gtk-2.0/gtkrc" + +gtk-theme-name="Arc" +gtk-icon-theme-name="nuoveXT2" +gtk-font-name="Sans 10" +gtk-cursor-theme-name="DMZ-White" +gtk-cursor-theme-size=18 +gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintslight" +gtk-xft-rgba="rgb" +include "/home/ubuntu/.gtkrc-2.0.mine" diff --git a/supervisord.conf b/supervisord.conf index f797aae..8f8a51b 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -13,7 +13,7 @@ redirect_stderr=true priority=15 directory=/home/ubuntu command=/usr/bin/lxsession -user=ubuntu +user=root autostart=true autorestart=true stopsignal=QUIT