1
0
Patrick Gaskin 6329328daf Refactored error handling (#62)
Instead of using and checking malloc'd error strings formatted with asprintf and passed through a pointer in function arguments, use a global thread-local statically allocated error buffer with functions to set and get it.

This is more efficient, less error-prone, and easier to use than the old method, especially now that NM is larger (meaning that errors are returned through multiple layers) and parts of it are re-used in other things.
2020-07-21 17:47:22 -04:00
2020-07-14 16:24:19 -04:00
2020-07-21 17:47:22 -04:00
2020-07-14 16:24:19 -04:00
2020-07-21 17:47:22 -04:00
2020-04-28 16:03:50 -04:00
2020-07-21 17:47:22 -04:00
2020-07-18 20:35:20 -04:00

NickelMenu

The easiest way to launch custom scripts, change hidden settings, and run actions on Kobo eReaders.

See the thread on MobileRead for more details.

Installation

You can download pre-built packages of the latest stable release from the releases page, or you can find bleeding-edge builds of each commit from here.

After you download the package, copy KoboRoot.tgz into the .kobo folder of your eReader, then eject it.

After it installs, you will find a new menu item named NickelMenu with further instructions which you can also read here.

To uninstall NickelMenu, just create a new file named uninstall in .adds/nm/, or trigger the failsafe mechanism by immediately powering off the Kobo after it starts booting.

Most errors, if any, will be displayed as a menu item in the main menu in the top-left corner of the home screen. If no new menu entries appear here after a reboot, try reinstalling NickelMenu. If that still doesn't work, connect over telnet or SSH and check the output of logread.

Compiling

NickelTC is designed to be compiled with NickelTC. To compile it with Docker/Podman, use docker run --volume="$PWD:$PWD" --user="$(id --user):$(id --group)" --workdir="$PWD" --env=HOME --entrypoint=make --rm -it docker.io/geek1011/nickeltc:1.0 all koboroot. To compile it on the host, use make CROSS_COMPILE=/path/to/nickeltc/bin/arm-nickel-linux-gnueabihf-.

Description
Customized version of NickelMenu with experimental support for hiding certain sections on the home screen. (Note: This may not be a current snapshot from GitHub, as this is not a mirror. Please check out the latest changes there.)
https://github.com/nicoverbruggen/NickelMenu
Readme MIT 518 KiB
2026-03-17 14:06:18 +01:00
Languages
C++ 51.4%
C 43.8%
Go 4.2%
Makefile 0.6%