View Single Post
Old 03-13-2017, 05:54 AM   #14
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 boriar View Post
Hi! Can you explain how do it?
Is it only the render for epubs or kepubs, or even both? Or are you referred to the whole environment (like multirom on android)?
The location of nickel and some of the stuff it depends on is /usr/local/Kobo.
The basic idea is to have a version of the Kobo folder of the alternative nickel version, but, of course with a different name, for instances Kob2 (/usr/local/Kob2). When you want to start the alternative nickel version, you would set the variables that contain the path /usr/local/Kobo, so that they contain the path /usr/local/Kob2 (e.g., LD_LIBRARY_PATH=/usr/local/Kob2); and call /usr/local/Kob2/nickel, instead of /usr/local/Kobo/nickel (I would do this also with pickel [if I would use it at all]).
Before calling the alternative nickel, make a back up of your .kobo folder. Since the alternative version will use the same database and so on as the main version, this easily leads to difficulties. If you want to make the alternative version use its own database you would have to create a .kob2 with the content of .kobo, set NICKEL_HOME=/mnt/onboard/.kob2, and patch several of the libraries in /usr/local/Kob2/, since they contain hard coded path names.
I would not recommend to try this if you do not have a serious reason (for instance insatiable curiosity) for trying it. If you want to do it nevertheless, be aware that the content of /usr/local/Kob2/ consumes some space of the system partition. If you have KSM 08 installed, KSM already uses some space there. And you need to have some remaining free space for the system to work.

Last edited by tshering; 03-13-2017 at 06:38 AM.
tshering is offline   Reply With Quote