02-19-2014, 11:06 AM | #46 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I updated the package in post #1.
Changes:
Last edited by tshering; 02-19-2014 at 11:20 AM. |
02-19-2014, 11:16 AM | #47 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
terminal
To start the terminal, select "scripts > tools > start kbterminal.sh." Use "direct mode" for simple tasks (this means call an executable file, with arguments if applicable), like
Code:
cat /proc/cpuinfo Code:
x=$(cat /proc/cpuinfo | grep -i hardware); echo "see this: $x" Code:
kbt:fsize=45 Code:
kbt:timeout=20000 |
02-19-2014, 02:50 PM | #48 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
I still get the 'File not found" message when launching Koreader after a boot. If I push on the external uSD card before selecting Launch KOreader I don't get the message and KOreader's File Manager opens in the folder of my external card that I told it to. If there was a way to simulate the external refresh it would save wear and tear on the socket/connector.
Luck; Ken |
02-19-2014, 04:15 PM | #49 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
I will insert it somewhere. I do not know yet which is the best place. |
|
02-19-2014, 05:36 PM | #50 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Thanks much, it looks like the external SD is not initialized going to Nickel or Koreader, so it might be the same for Coolreader. If it were just before the menu is written, all the uses of the external SD would be available. If it were just KOreader I could put it in your koreader_kobo.sh. The reason that it is noticeable to me might be because I have KOreader's File manager start in my hidden folder on my external SD, others starting in the default ./mnt/onboard probably don't have the problem.
I will have to try your latest version, is there any advice on how to do it, Should I delete anything first? OOps, I just noticed the Uninstall instructions in the first post. Luck; Ken Last edited by Ken Maltby; 02-19-2014 at 05:40 PM. |
02-19-2014, 05:52 PM | #51 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
No need to uninstall or delete anything! But I guess, you did it already. Last edited by tshering; 02-20-2014 at 06:18 AM. |
|
02-20-2014, 07:09 PM | #52 |
Fanatic
Posts: 511
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
I installed the "Kobo Start Menu" and it works as expected.
It is very useful, thank you! Some notes: - It would be nice if there was a button at the Home menu to toggle the light at a standard (custom?) value. It takes me 4 clicks at every boot (and when I'm 'playing', there are lots) to see the menu. - How difficult is to change the order of the menu? Is it an editable file or something more cryptic? I would like the readers at the top and some separators (see attached pic for a Mockup). Just cosmetics ... - ... and an impossible one! If I install the menu and the patch for the Android dual boot, I lose the USB connection. I can't connect either from the Menu nor the Nickel. Of course I can no longer boot Android. I tried to install the menu before and after the patch. No change. The Menu and the readers work fine but without USB support. So, is this merging impossible? It will look really nice to have an Android option there ... |
02-21-2014, 02:34 PM | #53 | |||
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Quote:
Code:
case $selection in Code:
frontlight ) sh $kbmenudir/scripts/frontlight.msh ;; Code:
*) $frontlightprg "$selection" ;; Code:
*) $frontlightprg "$selection" selection="EXIT" ;; Another possiblity would be to add two menu items to the main menu, say "light_on" and "light_off" (in rcS, moptions). In the case $selection in block, you could then call /mnt/onboard/.kobo/kbmenu/tools/frontlight with the argument "0" for "light_off", and once with "5" or whatever you think fit for "light_on." In this case it would need only one click. I did not try any of this my self. So be warned. Be also aware that a mistake in the rcS file might force you to do a factory reset. I would at least make a syntax check (sh -n rcS) before installing it. Quote:
|
|||
02-21-2014, 06:27 PM | #54 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
I just tried this on my Glo. It works well, but telnet wasn't working. As soon as I uninstalled the start menu telnet worked again. I'm guessing something related to telnet got left out of your rcS file, tshering?
|
02-21-2014, 08:31 PM | #55 | ||
Fanatic
Posts: 511
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Quote:
As a completely programming ignorant, I could not find a way to move the info from the top. I could move all the others anywhere, but when I moved the info somewhere else, everything before that position disappeared. Photoshop was easier ... The light mod went even worst. When I made it, I couldn't boot to the menu (or Nickel) at all. I must mistyped something somewhere ... Quote:
Since I haven't decided about the exact configuration of my Glo (I mostly use Android, but I play also a bit with Nickel), I keep the back of it open. Anyway, thanks for the info ... |
||
02-22-2014, 03:16 AM | #56 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
I will have a look into it. I am on the way to an extended weekend trip. I will be back on Monday or Tuesday. |
|
02-23-2014, 12:11 PM | #57 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Triggering the rules for devices with "udevadm trigger" works for all device rules, you can't pick a specific rule, but you can pick a device, or class of devices. (Assuming my limited understanding of Linux is accurate.)
I added "udevadm trigger" to the koreader_kobo.sh in the "on start" folder and it lets me recover from the "File not found" message without having to mess with the external uSD. (I just poke the screen and am back in the menu. From there I select KOreader again and it opens properly without the "File not found" message.) Luck; Ken |
02-24-2014, 12:29 PM | #58 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Anyway, if you want to run telnet and having the start menu installed, you can start nickel by choosing "options > emergency exit" from the main menu (rather than from any sub menu), instead of "run nickel." This will skip my modifications and continue to run the rcS (almost) like the original. Edit: I think the cause for telnet working when calling nickel via the emergency exit and not when calling nickel via the regular menu point is that I run the menu in a loop inside of the rcS, and some command that would be executed after rcS finishes are never executed. The emergency exit breaks the loop and rcS finishes. Last edited by tshering; 03-01-2014 at 08:05 PM. |
|
02-24-2014, 12:59 PM | #59 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Is there some advantage of simple telnet over SCP and/or puTTY? Haven't tried tshering's Terminal but would it provide most of what telnet gives you? Maybe we are just talking about a WiFi interface? I prefer Sergey's USBnet as opposed to the WiFi.
I am probably missing something. Luck; Ken |
02-24-2014, 01:17 PM | #60 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I added front light on/off to the main menu. I set the level of "front light on" to "4". If you want to change the level, for example to 6, add to the usersettings.txt
Code:
frontlightOnLevel=6 Edit: I should mention that with this version, there is also no need to reinsert the external SD in order to be recognized by the device. Last edited by tshering; 02-24-2014 at 02:13 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kobo menu and message | tshering | Kobo Developer's Corner | 26 | 01-15-2014 09:18 AM |
Kobo WiFi - Battery indicator outside menu? | Cyberman tM | Kobo Reader | 1 | 03-06-2013 04:42 AM |
Kobo constantly crashes back to Reading menu | avalanches | Kobo Reader | 0 | 04-11-2011 09:35 PM |
main menu, section menu, css for calibre mobipocket output | naisren | Calibre | 2 | 08-23-2010 11:42 PM |
Calibre start menu icon | Cy1clown | Calibre | 1 | 02-06-2010 02:10 PM |