View Single Post
Old 05-07-2020, 11:48 AM   #44
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 93
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Quote:
Originally Posted by geek1011 View Post
Looks good in general, but a few notes:
  • You don't need the "sh -c", as that's already prepended by default.
  • You don't need the "> /dev/null 2>&1", as that's also included by default.
  • I'll probably add a separate reboot action, as that still isn't totally clean (Nickel has a lot of stuff it does on reboot/shutdown).

Edit: You'll have proper shutdown/reboot actions in the release later today.
hi geek1011, thanks for your suggestions. I'll change them now.

Another question. I read with koreader until 01:00 am more or less, and I have established into koreader that Clara HD will turn off at 3:00 am. It is turn off from koreader. Yesterday and today libnm.so has been renamed libnm.so.failsafe, so NickelMenu disappears every time when turn on Clara HD. I tell you for your knowledge

This is syslog (only first lines):

Spoiler:

May 7 14:09:18 syslogd started: BusyBox v1.22.0.kobo
May 7 14:09:19 nickel: ( 0.508 @ 0x32da2f0 / sql.warning) ERROR ---------- QSqlError(11, "Unable to fetch row", "database disk image is malformed")
May 7 14:09:19 nickel: ( 0.511 @ 0x32da2f0 / sql.warning) EXECUTED QUERY ---------- "UPDATE content SET WordCount = -1"
May 7 14:09:19 nickel: ( 0.512 @ 0x32da2f0 / sql.warning) BOUND VALUES ---------- QMap()
May 7 14:09:19 nickel: ( 0.512 @ 0x32da2f0 / sql.warning) int DbMigrations::migrateCloserToVersion(const Device&, QSqlDatabase&, int, int, const QVector<DbMigration*>&) newVersion == currentVersion! ==> Rolling back DB changes.
May 7 14:09:19 nickel: ( 0.593 @ 0x32da2f0) FT_New_Face failed with index 0 : 0
May 7 14:09:19 nickel: ( 1.044 @ 0x32da2f0) FT_New_Face failed with index 0 : 0
May 7 14:09:20 nickel: (NickelMenu) init: creating failsafe (src/init.c:24)
May 7 14:09:20 nickel: (NickelMenu) failsafe: allocating memory (src/failsafe.c:22)
May 7 14:09:20 nickel: (NickelMenu) failsafe: finding filenames (src/failsafe.c:26)
May 7 14:09:20 nickel: (NickelMenu) error: could not create failsafe: lib was loaded from the failsafe for some reason (assertion failed: !(d && !strcmp(d, ".failsafe"))) (src/failsafe.c:31), stopping (src/init.c:27)
May 7 14:09:20 nickel: (NickelMenu) init: done (src/init.c:81)
May 7 14:09:20 nickel: ( 1.834 @ 0x32da2f0) loadPlugin: loaded plugin for QFontEngine
May 7 14:09:20 nickel: ( 1.866 @ 0x32da2f0) loadPlugin: loaded plugin for QRawFont
May 7 14:09:20 nickel: ( 1.868 @ 0x32da2f0) Loading iType.. true
May 7 14:09:20 nickel: ( 1.990 @ 0x32da2f0) loadPlugin: loaded plugin for QRasterPaintEngine
May 7 14:09:20 nickel: ( 2.019 @ 0x32da2f0 / ui.warning) "4.20.14601 (30c2f5c348, 28/02/20)"
May 7 14:09:23 nickel: ( 4.475 @ 0x32da2f0 / performance.warning) static void QObjectUtil::repolishChildren(QWidget*, Qt::FindChildOptions, int) "statusbarContainer" repolish took 19
May 7 14:09:27 nickel: ( 8.393 @ 0x32da2f0 / ui.debug) using V2 blit API
May 7 14:09:30 nickel: ( 12.060 @ 0x32da2f0 / powermanager.warning) total time spent asleep: 0
May 7 14:09:30 nickel: ( 12.061 @ 0x32da2f0 / powermanager.warning) total time spent awake: 0
Carmelocotonto is offline   Reply With Quote