diff --git a/docker/Emulator_x86 b/docker/Emulator_x86 index 4debefe..8de64a9 100644 --- a/docker/Emulator_x86 +++ b/docker/Emulator_x86 @@ -1,4 +1,4 @@ -FROM appium/appium:1.16.0-p1 +FROM appium/appium:1.16.0-p2 LABEL maintainer "Budi Utomo " @@ -61,7 +61,6 @@ RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ # ubuntu-vm-builder # bridge-utils #================== -ADD docker/configs/sources1810.list /etc/apt/sources.list.d/ ADD docker/configs/x11vnc.pref /etc/apt/preferences.d/ RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \ xterm \ @@ -167,10 +166,10 @@ ENV DISPLAY=:0 \ # + Use a single virtual desktop to prevent accidentally switching # + Add background #================================================ -ADD images/logo_dockerandroid_small.png /root/logo.png +ADD images/logo_dockerandroid.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 +ADD src/rc.xml /etc/xdg/openbox/rc.xml +RUN echo /root/.fehbg >> /etc/xdg/openbox/autostart #=============== # Expose Ports diff --git a/docker/Genymotion b/docker/Genymotion index e62489d..082b806 100644 --- a/docker/Genymotion +++ b/docker/Genymotion @@ -1,4 +1,4 @@ -FROM appium/appium:1.16.0-p1 +FROM appium/appium:1.16.0-p2 LABEL maintainer "Budi Utomo " @@ -65,7 +65,6 @@ RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ # jq # Sed for JSON data #================== -ADD docker/configs/sources1810.list /etc/apt/sources.list.d/ ADD docker/configs/x11vnc.pref /etc/apt/preferences.d/ RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \ xterm \ @@ -132,10 +131,10 @@ ENV DISPLAY=:0 \ # + Use a single virtual desktop to prevent accidentally switching # + Add background #================================================ -ADD images/logo_dockerandroid_small.png /root/logo.png +ADD images/logo_dockerandroid.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 +ADD src/rc.xml /etc/xdg/openbox/rc.xml +RUN echo /root/.fehbg >> /etc/xdg/openbox/autostart #============ # Set Locale diff --git a/docker/Real_device b/docker/Real_device index 8231f98..da2ab28 100644 --- a/docker/Real_device +++ b/docker/Real_device @@ -1,4 +1,4 @@ -FROM appium/appium:1.16.0-p1 +FROM appium/appium:1.16.0-p2 LABEL maintainer "Budi Utomo " @@ -54,7 +54,6 @@ RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ # jq # Sed for JSON data #================== -ADD docker/configs/sources1810.list /etc/apt/sources.list.d/ ADD docker/configs/x11vnc.pref /etc/apt/preferences.d/ RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \ xterm \ @@ -100,19 +99,6 @@ RUN cd scrcpy/scrcpy-${SCRCPY_VER} && meson x --buildtype release --strip -Db_lt RUN cd scrcpy/scrcpy-${SCRCPY_VER}/x && ninja && ninja install RUN rm -rf scrcpy/ - -#=========== -# Polyverse -# https://polyverse.io/how-it-works/ -#=========== -ARG TOKEN=xxx - -RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ - if [ $? -eq 0 ]; then \ - apt -y update && \ - apt-get -y install --reinstall $(dpkg --get-selections | awk '{print $1}'); \ - fi - #======= # noVNC # Use same commit id that docker-selenium uses @@ -158,10 +144,10 @@ ENV DISPLAY=:0 \ # + Use a single virtual desktop to prevent accidentally switching # + Add background #================================================ -ADD images/logo_dockerandroid_small.png /root/logo.png +ADD images/logo_dockerandroid.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 +ADD src/rc.xml /etc/xdg/openbox/rc.xml +RUN echo /root/.fehbg >> /etc/xdg/openbox/autostart #========================= # Set default variables diff --git a/docker/configs/sources1810.list b/docker/configs/sources1810.list deleted file mode 100644 index e64c003..0000000 --- a/docker/configs/sources1810.list +++ /dev/null @@ -1,2 +0,0 @@ -deb http://archive.ubuntu.com/ubuntu/ cosmic main restricted universe -deb http://security.ubuntu.com/ubuntu/ cosmic-security main restricted universe diff --git a/images/logo_dockerandroid.png b/images/logo_dockerandroid.png new file mode 100644 index 0000000..ebd7108 Binary files /dev/null and b/images/logo_dockerandroid.png differ diff --git a/src/rc.xml b/src/rc.xml new file mode 100644 index 0000000..a25c2da --- /dev/null +++ b/src/rc.xml @@ -0,0 +1,753 @@ + + + + + + + + 10 + 20 + + + + yes + + no + + yes + + no + + 200 + + no + + + + + Smart + +
yes
+ + Primary + + 1 + +
+ + + Clearlooks + NLIMC + + yes + yes + + sans + 8 + + bold + + normal + + + + sans + 8 + + bold + + normal + + + + sans + 9 + + normal + + normal + + + + sans + 9 + + normal + + normal + + + + sans + 9 + + bold + + normal + + + + sans + 9 + + bold + + normal + + + + + + + 1 + 1 + + + + 875 + + + + + yes + Nonpixel + + Center + + + + + 10 + + 10 + + + + + + + 0 + 0 + 0 + 0 + + + + TopLeft + + 0 + 0 + no + Above + + Vertical + + no + 300 + + 300 + + Middle + + + + + C-g + + + + leftno + + + rightno + + + upno + + + downno + + + leftno + + + rightno + + + upno + + + downno + + + 1 + + + 2 + + + 3 + + + 4 + + + + + + + + + + + + + + + + client-menu + + + + scrot -s + + + + + + + + + + + + + + + + + + + + + + + + yesyes + + + + + + + + + + + + right + + + + + left + + + + + up + + + + + down + + + + + + + + true + Konqueror + + kfmclient openProfile filemanagement + + + + + scrot + + + + + 1 + + 500 + + 400 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + previous + + + next + + + previous + + + next + + + previous + + + next + + + + + + + + + + + + + + no + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + top + + + + + + left + + + + + + right + + + + + + bottom + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + vertical + + + horizontal + + + + + + + + + + + + + + + + + previous + + + next + + + + previous + + + next + + + previous + + + next + + + + + + + + + + + + + + + + client-list-combined-menu + + + root-menu + + + + + + previous + + + next + + + previous + + + next + + + + + + + + + + /var/lib/openbox/debian-menu.xml + menu.xml + 200 + + no + + 100 + + 400 + + yes + + yes + + + + + + + +
\ No newline at end of file