View Single Post
Old 01-07-2019, 07:22 AM   #563
tigran
Zealot
tigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
Ah... So I must have forgotten the proper procedure to edit it. Ok, thank you very much, I will re-read the old thread and follow those instructions.

UPDATE: Yes, I have edited /adds/kbmenu/ksm_ini and added the line:

ksmAutoselectafter=-1

and now it works absolutely fine. Thank you.

Btw, is there a way to make the full menu default, so that I won't have to press "toggle btw full and short menu" every time I boot the device?

Thank you, tshering, for your patience

UPDATE: I've figured out that I just need to remove "+start_vlasovsoft" from suppressEntries in ksm_ini. I'll see if I can disable the "start_nickel" entry as well --- that would be just perfect! Yes, that works as well.

UPDATE: The only thing still broken is that enabling usbnet doesn't startup dropbear. I've edited the script /adds/kbmenu/scripts_intern/usb/usbnet_toggle.sh and set

useDropbear=true

but still it is not started. Ah, I see the script tries to write to "usbnet/dropbear.log" file off /mnt/onboard/.adds/vlasovsoft but the "usbnet" subdirectory doesn't exist, so it will obviously fail. I'll create it now and see if it works. No, it fails with this error:

root@water2 # cat dropbear.log
/adds/kbmenu/scripts_intern/usb/usbnet_toggle.sh: line 45: /mnt/onboard/.adds/vlasovsoft/usbnet/dropbear: not found

Of course, because there is no such script in the latest vlasovsoft:

root@water2 # cat VERSION
2018.11.30

Instead, there are two scripts:

root@water2 # l usbnet*sh
-rwxr-xr-x 1 root root 111 Dec 28 18:19 usbnet_off.sh
-rwxr-xr-x 1 root root 250 Dec 28 18:19 usbnet_on.sh

So, I'll need to edit your usbnet toggle scripts to use these instead.

UPDATE: Actually, the easiest solution was to edit vlasovsoft's applications.ini to look like this:

root@water2 # cat applications.ini
CoolReader = cr3.sh
FileManager = file_manager.sh
USBNet ON = usbnet_on.sh
USBNet OFF = usbnet_off.sh
WiFi ON = wifi_on.sh
WiFi OFF = wifi_off.sh
Dropbear ON = dropbear_on.sh
Dropbear OFF = dropbear_off.sh
My IP = my_ip.sh
WiFiServer = wifi_server.sh
Notepad = notepad.sh
Chess = chess.sh
Checkers = checkers.sh
Dictionary = dictionary.sh
Calculator = calculator.sh
Konsole = konsole.sh
Reboot = reboot.sh
Power off = poweroff.sh

And now I have usbnet (with dropbear) or WiFi (without dropbear) or dropbear on its own --- all working perfectly.

Last edited by tigran; 01-07-2019 at 08:19 AM.
tigran is offline   Reply With Quote