View Single Post
Old 02-04-2016, 03:26 PM   #94
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
Quote:
Originally Posted by Rizla View Post
I'm not sure yet. I do know that I found the menu contained far too many options that I didn't use. Can I edit the file myself?
The concerned file is /adds/kbmenu/onstart/ksmhome.sh. In this file, you will find a function "setoptions()", around line 300. There, a variable will be initialized
Code:
moptions=""
and then values are added step by step, for instance
Code:
moptions="$moptions info:help"
In order to remove the "info" entry from the main menu, you would comment this line out:
Code:
#moptions="$moptions info:help"
And so on ...

Do a syntax check before you put this file onto the device (in linux: busybox sh -n ksmhome.sh). A small typo can prevent the device from working. If you have a device with external sd, you can still recover without factory resetting or opening the device, but still ...
tshering is offline   Reply With Quote