View Single Post
Old 10-18-2013, 03:34 PM   #74
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
[root@kindle root]# /mnt/us/extensions/midori/usr/bin/midori --help
Quote:
Usage:
midori [OPTION...] [Addresses]

Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options

Application Options:
-a, --app=ADDRESS Run ADDRESS as a web application
-c, --config=FOLDER Use FOLDER as configuration folder
-p, --private Private browsing, no changes are saved
--plain Plain GTK+ window with WebKit, akin to GtkLauncher
-d, --diagnostic-dialog Show a diagnostic dialogue
-g, --debug Run within gdb and save a backtrace on crash
-r, --run Run the specified filename as javascript
-s, --snapshot Take a snapshot of the specified URI
-e, --execute Execute the specified command
--help-execute List available commands to execute with -e/ --execute
-V, --version Display program version
-b, --block-uris=PATTERN Block URIs according to regular expression PATTERN
-i, --inactivity-reset=SECONDS Reset Midori after SECONDS seconds of inactivity
--display=DISPLAY X display to use
-c then.


so edit

/runit.sh to read

Quote:
#!/bin/sh
#call me paranoid
killall -9 twobob.gesture.sentinel.sh
killall -9 midori

export PATH=/mnt/us/extensions/midori/usr/bin

/mnt/us/extensions/midori/usr/bin/twobob.gesture.sentinel.sh 2>/dev/null &
PIDOF=$!

cd /mnt/us/extensions/midori/usr/bin
HOME=/mnt/us/extensions/midori \
XDG_DATA_HOME=/mnt/us/extensions/midori/pixmaps \
XDG_CACHE_HOME=/mnt/us/extensions \
GTK2_RC_FILES=/mnt/us/extensions/midori/pixmaps/gtkrc \
LD_LIBRARY_PATH=/mnt/us/extensions/midori/usr/lib \
GDK_PIXBUF_MODULE_FILE=/mnt/us/extensions/midori/usr/lib/gtk-2.0/2.10.0/loaders.cache \
/mnt/us/extensions/midori/usr/bin/midori -c /mnt/us/extensions/midori

# force close
/mnt/us/extensions/midori/usr/bin/toggleKeys close

# call me paranoider
kill -9 $PIDOF
usleep 100
killall -9 twobob.gesture.sentinel.sh
and leave the runtemp.sh as it is... : )

Last edited by twobob; 10-18-2013 at 03:37 PM.
twobob is offline   Reply With Quote