From 5a9268d158c405947191852e1989968a020f424f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 8 Sep 2016 17:12:24 +0100 Subject: [PATCH] Try a more lightweight browser --- src/freedombone-image-customise | 2 +- src/freedombone-image-mesh | 2 +- src/freedombone-mesh-reset | 1 + src/freedombone-mesh-visit-site | 2 +- src/freedombone-meshweb | 2 ++ 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 5d16db0b..3ba0929e 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -98,7 +98,7 @@ INSECURE='no' MESH_DESKTOP_BACKGROUND_IMAGE=/usr/local/share/${PROJECT_NAME}_mesh_initial_background.png # The browser application to use -BROWSER=iceweasel +BROWSER=midori MESH_INSTALL_DIR=/var/lib diff --git a/src/freedombone-image-mesh b/src/freedombone-image-mesh index 8f047739..8a18d075 100755 --- a/src/freedombone-image-mesh +++ b/src/freedombone-image-mesh @@ -32,7 +32,7 @@ export TEXTDOMAIN=${PROJECT_NAME}-image-mesh export TEXTDOMAINDIR="/usr/share/locale" # The browser application to use -BROWSER=iceweasel +BROWSER=midori MY_USERNAME='fbone' PEER_ID= diff --git a/src/freedombone-mesh-reset b/src/freedombone-mesh-reset index 96f0bbfa..1d3ebc98 100755 --- a/src/freedombone-mesh-reset +++ b/src/freedombone-mesh-reset @@ -41,6 +41,7 @@ case $sel in sudo pkill qtox sudo pkill firefox sudo pkill iceweasel + sudo pkill midori sudo ${PROJECT_NAME}-image-mesh $USER new sudo batman start if [ -f $HOME/mesh-desktop.sh ]; then diff --git a/src/freedombone-mesh-visit-site b/src/freedombone-mesh-visit-site index 434dabe2..6e65c099 100755 --- a/src/freedombone-mesh-visit-site +++ b/src/freedombone-mesh-visit-site @@ -34,7 +34,7 @@ export TEXTDOMAINDIR="/usr/share/locale" IPFS_URL='http://127.0.0.1:8080/ipns' # The browser application to use -BROWSER=iceweasel +BROWSER=midori IPFS_USERS_FILE=/home/$USER/.ipfs-users if [ ! -f $IPFS_USERS_FILE ]; then diff --git a/src/freedombone-meshweb b/src/freedombone-meshweb index 1a8e3ce0..e4b8769d 100755 --- a/src/freedombone-meshweb +++ b/src/freedombone-meshweb @@ -64,6 +64,8 @@ ZERONET_INDEX=$MESH_INSTALL_DIR/zeronet/mesh.html if which firefox > /dev/null; then firefox $ZERONET_INDEX +elif which midori > /dev/null; then + midori $ZERONET_INDEX elif which iceweasel > /dev/null; then iceweasel $ZERONET_INDEX elif which chrome > /dev/null; then