Browse Source

install window manager ratpoison to maximize browser window

Fabian Peter Hammerle 5 years ago
parent
commit
c81a13d1dd
3 changed files with 4 additions and 1 deletions
  1. 2 0
      Dockerfile
  2. 1 0
      ratpoisonrc
  3. 1 1
      xinitrc

+ 2 - 0
Dockerfile

@@ -2,11 +2,13 @@ FROM ubuntu:18.04
 
 RUN apt-get update && apt-get install --yes --no-install-recommends \
     firefox \
+    ratpoison `# window manager` \
     x11vnc \
     xvfb
 
 RUN useradd --create-home vnc
 COPY --chown=vnc xinitrc /home/vnc/.xinitrc
+COPY --chown=vnc ratpoisonrc /home/vnc/.ratpoisonrc
 USER vnc
 EXPOSE 5900/tcp
 ENV X11VNC_CREATE_GEOM 1920x1080

+ 1 - 0
ratpoisonrc

@@ -0,0 +1 @@
+exec firefox

+ 1 - 1
xinitrc

@@ -1 +1 @@
-exec firefox
+exec ratpoison