Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dictionary issues (missing library) #11

Open
dae1804 opened this issue Jul 14, 2017 · 2 comments
Open

Dictionary issues (missing library) #11

dae1804 opened this issue Jul 14, 2017 · 2 comments

Comments

@dae1804
Copy link

dae1804 commented Jul 14, 2017

Running okreader on a Kobo Glo, I had issues getting the dictionary viewer to work. After starting koreader in debug mode over SSH, I was able to trace this to a missing library: libglib2.0-0. Fortunately, with WiFi connected, I was able to install this using apt-get:

apt-get install -y libglib2.0-0

...which should also be possible from the built-in terminal emulator. It might be worth either adding this package to the base install, or adding a note to README and/or the wiki.


For anyone else trying to run koreader over SSH, you can set a root password using the built-in emulator:

echo 'root:yourpasswordhere' | chpasswd
reboot

...and then SSH to the device. okreader.sh relaunches koreader in a loop, so ps aux | grep okreader and kill that process, then kill koreader. Then you can

cd /opt/koreader
./reader.lua -d

@lgeek: do you want me to post either or both of these notes on the Wiki?

@lgeek
Copy link
Owner

lgeek commented Jul 14, 2017

Thanks for reporting this, I haven't used the dictionary feature myself. I'll add the libglib2.0 package to the rootfs build script and instructions for setting the password to the readme. I've created a wiki page for hacking notes in case you want to add the instructions on how to restart koreader to see the console output.

@dae1804
Copy link
Author

dae1804 commented Feb 27, 2018

Done. (and I award myself zero points for timliness)

I added notes on setting up SSH, restarting koreader in debug mode, the workaround above for fixing the dictionary viewer, a tip on storing the dictionaries outside the rootfs, a workaround for the volumes not showing as formatted on Windows (set the file storage gadget to removable mode), and a warning not to use the hardware reset switch (accidentally hosed my install this way).

SuperTaiyaki added a commit to SuperTaiyaki/okreader that referenced this issue Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants