Permalink
Browse files

add lynx browser: (latest version) closes #21, addresses #11

  • Loading branch information...
1 parent 98b3782 commit a8abc313b41336a615430c78a816afa65a67ac36 @ikreymer ikreymer committed Dec 29, 2015
Showing with 33 additions and 1 deletion.
  1. +11 −1 app/config.yaml
  2. BIN app/static/icons/lynx.png
  3. +14 −0 browsers/lynx/Dockerfile
  4. +8 −0 browsers/lynx/run.sh
View
@@ -63,7 +63,17 @@ browsers:
about: 'https://en.wikipedia.org/wiki/Chromium_(web_browser)'
skip_random: true
- # WWW
+ # Lynx
+ - id: lynx
+ name: lynx
+ os: 'Linux'
+ icon: 'lynx.png'
+ path: lynx
+ version: '2.8.9'
+ about: 'https://en.wikipedia.org/wiki/Lynx_(web_browser)'
+ skip_random: true
+
+ # WWW
- id: www
name: 'WWW'
os: 'NextSTEP'
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,14 @@
+FROM netcapsule/base-browser
+
+RUN apt-get update && apt-get install -y \
+ lynx-cur \
+ && rm -rf /var/lib/apt/lists/*
+
+USER browser
+
+COPY run.sh /app/run.sh
+RUN sudo chmod a+x /app/run.sh
+
+CMD /app/entry_point.sh /app/run.sh
+
+
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+#fvwm -d $DISPLAY &
+
+sudo chmod a+x /usr/bin/xterm
+
+run_browser xterm -maximized -w 0 -bd black -fg white -bg black -e 'lynx -use_mouse -telnet -restrictions=shell,file_url "$URL"'
+

0 comments on commit a8abc31

Please sign in to comment.