Thread: Kobo Start Menu
View Single Post
Old 06-10-2014, 11:08 AM   #212
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
This is an update for Kobo Start Menu 04.
I tested it on a Kobo Touch (model B) running FW 2.6.1, and a Kobo Touch (model C) running FW 3.4.1 (EDIT: and 3.5.0; and 3.8.0).

New features:
  • start and stop USBNet from the USB menu
    Spoiler:
    USBNet needs vlasovsoft. For instructions on how to make USBNet work on windows see these instructions. To make telnet work install KevinShort's package. For telnet you can simply use windows's own telnet (if you are a windows user that means). On how to install and enable it on Windows 8 and 8.1 see for instance these instructions.
  • start coolreader in portrait or landscape mode directly from the home menu (this has some severe limitations, cf. this post and those following)
    Spoiler:
    • select "coolreader" > "start coolreader" in order to start coolreader in portrait mode
    • select "coolreader" > "start coolreader ls" in order to start coolreader in landscalpe mode
    (Note: In the first version I uploaded, this did not work with the most recent version of Coolreader, which is part of pbchess-1.2.6.39_kobo.zip. If you have already installed the first version, you can find the necessary changes in this post.)
    There are some known limitations: 1) trying to open the front light menu freezes the device 2) having page update interval set to a value other than 1 freezes the device.
  • switch between nickel and koreader
    Spoiler:
    • select "koreader additions" > "koreadernickelloop.sh" or "koreader additions" > "nickelkoreaderloop.sh"
    • switch from koreader to nickel by exiting koreader
    • switch from nickel to koreader by opening switchtokoreader.png
    • return from nickel to the start menu by opening exit_nickel.png
  • "browser" can displays png and bmp files, when in "read" mode
  • user can control some items of the home menu
Installation:
  • extract the folder kbmenupngs, and the file KoboRoot.tgz from the archive
  • launch nickel on your device and connect (via nickel) to your computer
  • merge the new folder kbmenugpngs with .kbmenugpngs of your device (in other words: copy switchtokoreader.png to the folder kbmenugpngs)
  • safely eject the reader, go into the library and open switchtokoreader.png to make sure it has been processed by nickel (note: go into the library, it might not be sufficient if you open switchtokoreader.png from the home screen only)
  • connect to the computer and copy KoboRoot.tgz to .kobo
  • (after the device has restarted) select "handle update" > "install update"
  • after the device has updated, select "scripts" > "activate" > "set runmenu settings.shm" > "always"
  • select "return home"
Koreader and Coolreader (vlasovsoft) have of course to be available on the device in order to be used. For installing these readers see the instructions by Ken Maltby.


Setting the values for the image viewer (only for the playfuls):
Spoiler:
Especially owners of other devices than the Touch (and maybe the Mini) will have to set the preferred image width in the user settings. Use "scripts" > "tests" > "image_tests" > "findoptimgwidth.sh" to find the optimal value for width. You will see that the value is preset to 500, increase this value by selecting one of the numbers, to decrease the value toggle add/substract and select the approprate numbers, then press show image. Repeat this as often, until the picture fits nicely into the frame. Note down the determined value, this will be the value for ksmImageWidthPortrait in usersettings.txt.
Go back to the home menu and toggle the rotation so that the display is landscape. (To do this you have to set enablerotation in usersettings.txt to true [= uncomment].) Determine the optimal display width for landscape in the same way you did for portrait. The determined value will be the value of ksmImageWidthLandscape.
I would consider a value as optimal if the image fits exactly the width of the frame (without causing the horizontal scroll bar to appear as long as there is no vertical scroll bar [Depending on the aspect ratio this is of course not possible with every image]). It would be nice if you could share your values here so that I can insert them into the presettings.

Note: You can close the image viewer by touching the center part of the screen and then press the button "close," which appears at the bottom (note: "zoom in" and "zoom out" do not yet work for images, but only for text). Page up and down by touching the right or left part of the screen.


Do not install this package without having Kobo Start Menu 04 installed.
As always: USE THIS PACKAGE AT YOUR OWN RISK!

New (2014.06.26): Some devices have been reported to freeze when left idle for some time. Look here for a possible solution.
New (2014.07.17): There is now an additional update that takes into account the reduced effective screen size of the Aura.
NEW (2014.08.19): Please use this script for better integration of koreader.
Attached Files
File Type: zip KBStartMenu_04_udate01_un_re_install.zip (20.1 KB, 1170 views)
File Type: zip KBStartMenu_04_update01a.zip (60.1 KB, 1030 views)

Last edited by tshering; 09-07-2014 at 07:18 AM.
tshering is offline   Reply With Quote