Thread: Kobo Start Menu
View Single Post
Old 03-30-2014, 03:56 PM   #116
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
Thank you Lucas for your nice words and suggestions.
Quote:
Originally Posted by Lucas Malor View Post
it's a good and safer alternative to Kobo File Monitor. Some random suggestions:
I cannot see why the Kobo File Monitor is not save, provided it is correctly configured. Besides that it has a functionality that the Kobo Start Menu cannot offer. But yes, for same tasks the Kobo Start Menu is the better choice.

I will keep your suggestinos in mind for possibly future versions, but would like to say already now some words in response.
Quote:
Originally Posted by Lucas Malor View Post
please do not overwrite directly rcS, it's not safe.Use yoq's trick instead (look at Night Mode under etc/udev)
I cannot see why overwriting the rcS file with a version that I have tested should be less safe than modifying it on the fly by a script (especially since I cannot know exactly what changes a user might already have done to her rcS file). On top of that, it is not very practical to modify a file by a script if the changes are numerous.
As I understand it, the advantage of Yoq's "trick" is that he can install his night mode and preserve at the same time all modifications a user might have done to the rcS, and also not to have to deal with changes that Kobo might introduce in future rcS files (apart from the one line he is concerned with). I cannot see that this has much to do with safety.

Quote:
Originally Posted by Lucas Malor View Post
and move what you can in a separate script.
As to your suggestion of moving as much of my code to an external file, that was my original plan. I gave it up because finally I had not only to insert code at different points of the script, but also to modify the already existing code at several points. I therefore see not much point in splitting the code up.
Quote:
Originally Posted by Lucas Malor View Post
You also overwrite also /usr/local/Kobo/udev/usb. Can't you rename your "usb" exec?
What would be the point in doing so?

Thank you for suggesting to include the start menu into the List of Tweaks / Hacks / Mods.

Last edited by tshering; 03-30-2014 at 04:19 PM.
tshering is offline   Reply With Quote