Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-25-2025, 05:40 PM   #1456
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,184
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I looked at that and it was easier just to reboot before connecting since the databases would normally show the -wal and -shm files when they were open and in use. There was no way to tell if the databases would be properly closed during the USB connect process. I did try closing the databases to write the information to the database clearing the -wal and -shm files but there was no way to guarantee they would not be re-opened before I triggered the USB connect.
DNSB is online now   Reply With Quote
Old 01-25-2025, 05:51 PM   #1457
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
I looked at that and it was easier just to reboot before connecting since the databases would normally show the -wal and -shm files when they were open and in use. There was no way to tell if the databases would be properly closed during the USB connect process. I did try closing the databases to write the information to the database clearing the -wal and -shm files but there was no way to guarantee they would not be re-opened before I triggered the USB connect.
My way of thinking is that you would do the check from the home screen. And if those wal and shm files are not there, go ahead and connect to the computer and if they are, have the Kobo reboot. That should work. The only way to know is to try it. I just am unable to write the code needed to do this with NickelMenu.

If this does get written, then we can recruit some using a Kobo Libra Colour and the latest firmware to test this.
JSWolf is online now   Reply With Quote
Old 01-25-2025, 06:14 PM   #1458
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,184
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Jon, please read what I wrote! The -wal and -shm files are normally present when the databases are open since the database are opened in journaled mode. You would need to hook into the USB connection process after the database close code for information about the database close state to be meaningful. Looking at the .kobo directory using ssh or telnet will show the -wal and -shm files are present. The size of them is somewhat important since larger files will take longer to merge into the database during the database close which is why I suspect that the reboot keeps the database corruption error message from happening.

So you check from the home screen. The databases will be open in journaled mode. The -wal and -shm files will be present and your logic says to reboot.

Here's a look at the .kobo directory on my Sage over the network:

Code:
kobo login: admin
Password:
login: can't change directory to '/home/admin'

[root@kobo ~]# cd /mnt/onboard/.kobo
[root@kobo .kobo]# ls -al
total 283024
drwxr-xr-x   17 root     root         16384 Jan 24 20:58 .
drwxr-xr-x   13 root     root         16384 Dec 31  1969 ..
-rwxr-xr-x    1 root     root       1061888 Jan 24 20:57 BookReader.sqlite
-rwxr-xr-x    1 root     root         32768 Jan 25 15:08 BookReader.sqlite-shm
-rwxr-xr-x    1 root     root         85968 Jan 25 15:08 BookReader.sqlite-wal

-rwxr-xr-x    1 root     root     287318016 Jan 24 12:57 KoboReader.sqlite
-rwxr-xr-x    1 root     root         32768 Jan 25 15:08 KoboReader.sqlite-shm
-rwxr-xr-x    1 root     root        876160 Jan 25 15:08 KoboReader.sqlite-wal
[root@kobo .kobo]#
Database files after a restart:
Code:
-rwxr-xr-x    1 root     root       1062912 Jan 25  2025 BookReader.sqlite
-rwxr-xr-x    1 root     root         32768 Jan 25 15:19 BookReader.sqlite-shm
-rwxr-xr-x    1 root     root             0 Jan 25 15:19 BookReader.sqlite-wal

-rwxr-xr-x    1 root     root     287362048 Jan 25  2025 KoboReader.sqlite
-rwxr-xr-x    1 root     root         32768 Jan 25 15:19 KoboReader.sqlite-shm
-rwxr-xr-x    1 root     root          8416 Jan 25 15:19 KoboReader.sqlite-wal

Last edited by DNSB; 01-25-2025 at 06:24 PM.
DNSB is online now   Reply With Quote
Old 01-26-2025, 09:11 AM   #1459
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,012
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by JSWolf View Post
I was thinking if a directory listing can be shown then those with a new Kobo and the newest firmware can see if the database is open or not before connecting to the computer to know if to reboot or not. The script could reboot automatically if the database is open or return that the database is not open.
I've tried that. As long as the kobo UI is open, the database is open, so your idea won't work.
compurandom is offline   Reply With Quote
Old 01-26-2025, 09:56 AM   #1460
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Jon, please read what I wrote! The -wal and -shm files are normally present when the databases are open since the database are opened in journaled mode. You would need to hook into the USB connection process after the database close code for information about the database close state to be meaningful. Looking at the .kobo directory using ssh or telnet will show the -wal and -shm files are present. The size of them is somewhat important since larger files will take longer to merge into the database during the database close which is why I suspect that the reboot keeps the database corruption error message from happening.

So you check from the home screen. The databases will be open in journaled mode. The -wal and -shm files will be present and your logic says to reboot.

Here's a look at the .kobo directory on my Sage over the network:

Code:
kobo login: admin
Password:
login: can't change directory to '/home/admin'

[root@kobo ~]# cd /mnt/onboard/.kobo
[root@kobo .kobo]# ls -al
total 283024
drwxr-xr-x   17 root     root         16384 Jan 24 20:58 .
drwxr-xr-x   13 root     root         16384 Dec 31  1969 ..
-rwxr-xr-x    1 root     root       1061888 Jan 24 20:57 BookReader.sqlite
-rwxr-xr-x    1 root     root         32768 Jan 25 15:08 BookReader.sqlite-shm
-rwxr-xr-x    1 root     root         85968 Jan 25 15:08 BookReader.sqlite-wal

-rwxr-xr-x    1 root     root     287318016 Jan 24 12:57 KoboReader.sqlite
-rwxr-xr-x    1 root     root         32768 Jan 25 15:08 KoboReader.sqlite-shm
-rwxr-xr-x    1 root     root        876160 Jan 25 15:08 KoboReader.sqlite-wal
[root@kobo .kobo]#
Database files after a restart:
Code:
-rwxr-xr-x    1 root     root       1062912 Jan 25  2025 BookReader.sqlite
-rwxr-xr-x    1 root     root         32768 Jan 25 15:19 BookReader.sqlite-shm
-rwxr-xr-x    1 root     root             0 Jan 25 15:19 BookReader.sqlite-wal

-rwxr-xr-x    1 root     root     287362048 Jan 25  2025 KoboReader.sqlite
-rwxr-xr-x    1 root     root         32768 Jan 25 15:19 KoboReader.sqlite-shm
-rwxr-xr-x    1 root     root          8416 Jan 25 15:19 KoboReader.sqlite-wal
Would the -wal file be 0 when the main database is not going to be corrupt on a USB connect or will it always be of some size after you've been using the Kobo?

Last edited by JSWolf; 01-26-2025 at 10:00 AM.
JSWolf is online now   Reply With Quote
Old 01-26-2025, 01:42 PM   #1461
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,184
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Would the -wal file be 0 when the main database is not going to be corrupt on a USB connect or will it always be of some size after you've been using the Kobo?
The size of the -wal file depends on writing to the database. When it is first opened, the Write Ahead Logging file will start at 0 bytes. In contrast the SHared Memory file starts at 32KB and seldom grows larger. When the last connection to a database closes, that connection does one last checkpoint and then deletes the WAL and SHM file, to clean up the disk. If you see those files when USB connected, it tells you the database was not properly closed. The -wal file will not grow endlessly, the default is 1000 pages or ~4MB though there are several situations in which the file will grow past that.
DNSB is online now   Reply With Quote
Old 01-27-2025, 05:10 PM   #1462
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
The size of the -wal file depends on writing to the database. When it is first opened, the Write Ahead Logging file will start at 0 bytes. In contrast the SHared Memory file starts at 32KB and seldom grows larger. When the last connection to a database closes, that connection does one last checkpoint and then deletes the WAL and SHM file, to clean up the disk. If you see those files when USB connected, it tells you the database was not properly closed. The -wal file will not grow endlessly, the default is 1000 pages or ~4MB though there are several situations in which the file will grow past that.
Would you get a corrupt database if you plugged into the USB port without calibre running to have a look?
JSWolf is online now   Reply With Quote
Old 01-27-2025, 07:17 PM   #1463
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,184
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Would you get a corrupt database if you plugged into the USB port without calibre running to have a look?
I've never seen corruption from mounting the exposed storage but do it at your own risk.
DNSB is online now   Reply With Quote
Old 01-27-2025, 08:08 PM   #1464
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by JSWolf View Post
Would you get a corrupt database if you plugged into the USB port without calibre running to have a look?
If the database has NOT been closed correctly on the Kobo then any USB connection will cause corruption.

If you look at the udev script on the Kobo that is launced when a USB connection is made, it does an unmount of both the file system that contains the Kobo database and the (no longer supported on new hardware) external SD card.

Simply put the ONLY option might be a modification to the udev script to perform some checking on the size of the wal and shm files, and if non-zero prevent the dismount.
PeterT is offline   Reply With Quote
Old 01-27-2025, 08:11 PM   #1465
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by DNSB View Post
I've never seen corruption from mounting the exposed storage but do it at your own risk.
I experiened corruption the other week when I had done a connection, mirrored the storage, then a disconnect, followed by a wireless sync and a second connection.

As I mentioned I'm off the opinion that the post wireless sync of importing data had not completed before the second connection.
PeterT is offline   Reply With Quote
Old 01-30-2025, 11:06 AM   #1466
remlap
Connoisseur
remlap began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jun 2010
Device: none
Anyone know where I can get the stock icons from so I can use three dots for NickleMenu?

Also is menu_main_15505_icon_active still disabled I wouldn't mind having that option to match the red used on colour Kobos

Cheers
remlap is offline   Reply With Quote
Old 01-30-2025, 03:38 PM   #1467
Jadehawk
Member
Jadehawk doesn't litterJadehawk doesn't litterJadehawk doesn't litter
 
Posts: 11
Karma: 206
Join Date: Nov 2024
Device: Kobo Libra Colour / Kindle PWSE
Question Help with NickelMenu - "dbg_msg" - Not working if followed by "reboot" command

Hi everyone, I need some help getting this NickelMenu config working.

I can't get the "dbg_msg" to display after the menu_item command is executed.

The command works and makes the change to my test.conf, I just want a msg to appear to let you know that the kobo will reboot.

Currently it just reboots no message is shown but command is done properly

this are the 6 combination that I have tried.

Number 6 is what I think the closest.

If I remove the "reboot" from the chain, I see the message as intended, with "reboot" as part of the chain, it seems to ignore that "dbg_msg".

What am I missing?

TIA


Code:
#=================================================================================================================================================#
# TEST #1 -  Fails to display "dbg_msg" but Command is successful and Reboots
#=================================================================================================================================================#

menu_item	: main		: Sync "ON": cmd_spawn: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_success	: cmd_spawn	: dbg_msg: Sync with ********************** Enabled - Rebooting to complete.
chain_success	: power	: reboot
menu_item	: main		: Sync "OFF": cmd_spawn: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_success	: cmd_spawn	: dbg_msg: Sync with ********************** Disabled - Rebooting to complete.
chain_success	: power	: reboot
	
#=================================================================================================================================================#
# TEST #2 -  Fails to display "dbg_msg" but Command is successful and Reboots --- Used "chain_always"
#=================================================================================================================================================#

menu_item	: main		: Sync "ON"	: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: cmd_spawn	: dbg_msg : Sync with ********************** Enabled - Rebooting to complete.
chain_success	: power	: reboot
menu_item	: main		: Sync "OFF"	: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: cmd_spawn	: dbg_msg : Sync with ********************** - Rebooting to complete.
chain_success	: power	: reboot
	
#=================================================================================================================================================#
# TEST #3 -  Fails to display "dbg_msg" but Command is successful and Reboots --- Used "chain_always" -- Removed "cmd_spawn"
#=================================================================================================================================================#
menu_item	: main		: Sync "ON"		: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: dbg_msg : Sync with ********************** Enabled - Rebooting to complete.
chain_success	: power	: reboot
menu_item	: main		: Sync "OFF" : cmd_spawn: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: dbg_msg : Sync with ********************** Disabled - Rebooting to complete.
chain_success	: power	: reboot
#=================================================================================================================================================#
# TEST #4 -  Fails to display "dbg_msg" but Command is successful and Reboots  -- Used "chain_success" -- Removed "cmd_spawn"
#=================================================================================================================================================#
menu_item	: main		: Sync "ON"	: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_success	: dbg_msg	: Sync with ********************** Enabled - Rebooting to complete.
chain_success	: power		: reboot
menu_item	: main		: Sync "OFF": cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_success	: dbg_msg: Sync with ********************** Disabled - Rebooting to complete.
chain_success	: power	: reboot

#=================================================================================================================================================#
# TEST #5 -  Displays a PID msg instead of "dbg_msg" Command is successful --- Used "chain_always" -- used "cmd_spawn" -- Disabled "Reboot" chain
#=================================================================================================================================================#
menu_item	: main		: Sync "ON"		: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: cmd_spawn		: dbg_msg: Sync with ********************** Enabled - Rebooting to complete.
#chain_success	: power			: reboot
menu_item	: main		: Sync "OFF"	: cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: cmd_spawn		: dbg_msg: Sync with ********************** - Rebooting to complete.
#chain_success	: power			: reboot
#=================================================================================================================================================#
# TEST #6 -  Displays "dbg_msg" Command is successful --- Used "chain_always" -- Removed "cmd_spawn" -- Disabled "Reboot" chain
#=================================================================================================================================================#
menu_item	: main		: Sync "ON": cmd_spawn: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: dbg_msg: Sync with ********************** Enabled - Rebooting to complete.
#chain_success	: power	: reboot
menu_item	: main		: Sync "OFF": cmd_spawn	: quiet:/bin/sed -i 's|**********************|' '/mnt/onboard/Test/Test.conf'
chain_always	: dbg_msg: Sync with ********************** Disabled - Rebooting to complete.
#chain_success	: power	: reboot
Jadehawk is offline   Reply With Quote
Old 01-31-2025, 01:01 AM   #1468
Rid
Addict
Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.
 
Posts: 209
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
Quote:
Originally Posted by Jadehawk View Post
If I remove the "reboot" from the chain, I see the message as intended, with "reboot" as part of the chain, it seems to ignore that "dbg_msg".
You can try this option to show a reboot message. But you may need to add a sleep step after the } in this script eg: sleep 3 (change the 3, it is in seconds - to how ever long you would like or what actually works... Test this.) to see the previous dbg_msg in your NickelMenu script.

Use notepad++ to create the script but from the menu bar select 'Edit' then 'EOL Conversion' and select the 'Unix (LF)' option.

The NickelMenu syntax might be;
Code:
chain_success :cmd_spawn :quiet :/mnt/onboard/.adds/ndbus/NDBus_Reboot.sh

Last edited by Rid; 01-31-2025 at 02:28 AM. Reason: Added NM syntax
Rid is offline   Reply With Quote
Old 01-31-2025, 02:44 AM   #1469
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by remlap View Post
Anyone know where I can get the stock icons from so I can use three dots for NickleMenu?
https://krc.storage.pgaskin.net/
geek1011 is offline   Reply With Quote
Old 01-31-2025, 11:33 AM   #1470
Jadehawk
Member
Jadehawk doesn't litterJadehawk doesn't litterJadehawk doesn't litter
 
Posts: 11
Karma: 206
Join Date: Nov 2024
Device: Kobo Libra Colour / Kindle PWSE
Separate approach.

Quote:
Originally Posted by Rid View Post
You can try this option to show a reboot message. But you may need to add a sleep step after the } in this script eg: sleep 3 (change the 3, it is in seconds - to how ever long you would like or what actually works... Test this.) to see the previous dbg_msg in your NickelMenu script.

Use notepad++ to create the script but from the menu bar select 'Edit' then 'EOL Conversion' and select the 'Unix (LF)' option.

The NickelMenu syntax might be;
Code:
chain_success :cmd_spawn :quiet :/mnt/onboard/.adds/ndbus/NDBus_Reboot.sh
I see, so with the current NickelMenu "dbg_msg" & "dbg_toast", what I am aiming to do is not possible, and I will need to do it by running NickelDBus from which I can do it using a script like the one you provided.
I'll give that a shot, Thank you for the info and the script snippet, looks simple for someone like me to maybe figure out or else I'll be back for more help
Jadehawk is offline   Reply With Quote
Reply

Tags
kobo, launcher, ldpreload, nickel


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo eReaders and Heat PeterT Kobo Reader 13 08-02-2014 04:35 AM
kobo arc launcher not working lana loves books Kobo Tablets 8 03-21-2014 06:40 AM
Orginization on kobo ereaders crochetgeek2010 Kobo Reader 7 09-03-2013 02:13 PM
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US markemark News 1 04-02-2013 01:46 PM
Ereaders with Integrated Dictionary poohbear_nc Which one should I buy? 4 04-08-2010 06:42 AM


All times are GMT -4. The time now is 06:58 PM.


MobileRead.com is a privately owned, operated and funded community.