View Single Post
Old 10-20-2013, 05:06 PM   #663
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
My launcher.sh:
$root/.kobo/fmon/fmon $root/launcher.png $root/.kobo/KoboLauncher/KoboLauncher.sh > /dev/null 2>&1 &

My koreader.sh:
$root/.kobo/fmon/fmon $root/koreader.png $root/.kobo/koreader/koreader_kobo.sh &

My koreader_kobo.sh:

#!/bin/sh
export LC_ALL="en_US.UTF-8"

# we're always starting from our working directory
cd /mnt/onboard/.kobo/koreader/

# export trained OCR data directory
export TESSDATA_PREFIX="data"

# export dict directory
export STARDICT_DATA_DIR="data/dict"

# Decrease the reasons for crashes. Search forum for cgm999's explanation.
exec 3<&-

# Stop nickel and related processes
killall nickel
killall adobehost
killall dbus-daemon
killall hindenburg

# Start USBnet
/mnt/onboard/.kobo/KoboLauncher/usbnet/start.sh

# finally call reader
./reader.lua /mnt/onboard 2> crash.log

# continue with nickel

reboot

I don't think the Start USBnet line is working anymore, though.

By the way I have all three on my desktop so I can easily copy them over any update changes.

Luck;
Ken
Ken Maltby is offline   Reply With Quote