View Single Post
Old 03-24-2023, 09:41 AM   #10
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,871
Karma: 12981955
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Another useful bit of code for anyone interested...

You can send bmp logos/wallpapers to your device by "Send to Pocketbook" emails like you would with ebook files.

Once synced over WIFI, I run a script/application from my device to automatically move the bmp images to the correct directory.

Code:
#!/bin/sh

SendToPb="/mnt/ext1/SendToPb"
offlogo="/mnt/ext1/system/logo/offlogo"

find ${SendToPb} -name \*.bmp -exec mv {} ${offlogo} \;
I used Notepad++ to create the script above, I don't think basic Notepad will work.

In Notepad++ create a new document, then go to EDIT>EOL CONVERSION and set the value to "UNIX (LF)"

Paste the code above into Notepad++ and save/close.

Rename from .txt to .app and copy the file to you Pocketbook in the "applications" folder.

To run the script from your device just go to Applications>User's on your device and click on it. There isn't any output, but it should have moved any bmp images synced via "Send to Pocketbook" to the correct directory.
neil_swann80 is offline   Reply With Quote