Thread: Kobo Start Menu
View Single Post
Old 03-26-2015, 05:43 PM   #881
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
KittQB, great you found a solution! Maybe it should be evident, but could you tell me what the purpose of this is?.

I think one has to take care of two points
  • you have to mount --bind ... , each time after the external sd is mounted (and only then)
  • you have to umount /mnt/onboard/.library/sd. each time before the external sd is umounted

mount and umount of the external sd occur when you insert or eject the externa sd, for those cases you would have to modify /usr/local/Kobo/udev/sd (since the KSM installation replaces the original version of this file, use the KSM version)

mount and umount of the external sd occur also, when you connect/disconnect the device via usb to/from pc. For those cases you would have to modify the files usb_enable.sh, usb_disable.sh, and usb_enable_id_like_nickel.sh of the KSM folder scripts_intern/usb/. These three files are concerned when you connect/disconnect using KSM. If you connect while running nickel you would have to modify /usr/local/Kobo/udev/usb.

Note: kobomenu.sh gets executed almost each time you make a selection in the menu. Therefore, this is not the file you would like to add your modification.

Before continuing your work, please upgrade to KSM 07.
tshering is offline   Reply With Quote