08-16-2024, 05:57 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2024
Location: Colorado
Device: Pocketbook Era Color
|
Wondering about the SleepScreen.pbi file created by another user...
Hi, I got a Pocketbook Era Color semi-recently, and have still been working on customizing it fully to my liking. I do like the open-ness of the OS compared to my previous Kobo device, but some things do not work quite how I'd like. One particular thing is getting the cover of the book I've last had open to show up as my sleep screen and as my powered off screen. I use Koreader, and it has the Cover Image plugin, which I can use to set one of these, but not both (possibly the Koreader plugin could be updated to allow writing the cover image to more than one file location...).
I also recently found this post where neil_swann80 had created a simple app to install on Pocketbook devices, allowing to manually set the power off image, sleep image, and boot image. 2 things about this: 1, it doesn't seem to work on my Era Color after installing it; and 2, if neil_swann80 sees this post, I'm wondering if there's any possibility of this kind of tool being able to auto-detect what book has most recently been opened? I'm not that optimistic, but figured I would ask anyway! It's very annoying that Pocketbook OS has the option to set current book cover as the power off image, but it doesn't work if you are using Koreader (or any other 3rd-party reader app) instead of the default one. Also very annoying that Pocketbook OS will grab a custom sleep screen image if you write to that location with Koreader, but it caches it, so if you change books without rebooting the device, the sleep screen does not update with the new book :/ I haven't seen anyone with a solution to that issue so far, but I'm just venting here lol. |
08-17-2024, 04:54 AM | #2 |
0000000000101010
Posts: 5,705
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
If you've used the following GUIDE to configure Koreader to automatically set the last opened book's cover as the sleep logo, you could try running this code to create symlinks for the power-off/boot logos:
Code:
sleepLogo=/mnt/ext1/system/resources/Line/taskmgr_lock_background.bmp offLogo=/mnt/ext1/system/logo/offlogo/koreader_cover.bmp bootLogo=/mnt/ext1/system/logo/bootlogo/koreader_cover.bmp ln -sfn $sleepLogo $offLogo ln -sfn $sleepLogo $bootLogo Once the symlinks are created, manually change (device settings menu) your power-off/boot logos to: koreader_cover With these logos selected it should link to whatever book cover image has been set as the sleep logo by Koreader, keeping them synchronised. *As before, a device reboot will be needed after a new book is opened before its cover is active. I don't think there's an easy way of avoiding the reboot as (I think) these logo assets are loaded into the memory stack at startup. Last edited by neil_swann80; 08-17-2024 at 12:14 PM. |
Advert | |
|
08-21-2024, 06:16 PM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2024
Location: Colorado
Device: Pocketbook Era Color
|
Thank you so much! I only just saw your reply, I had been expecting an email notification but didn't get one (probably just need to configure my mobileread settings correctly). I'll give this a try before the end of the week and let you know if it worked out! I had had the idea of making symlinks within the filesystem on the device, but thought I had read somewhere that symlinks don't work within Pocketbook's OS, but we'll see!
|
08-22-2024, 08:44 AM | #4 |
0000000000101010
Posts: 5,705
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
You're welcome.
The symlinks work correctly on my HD3, hopefully they'll work fine for your device also. You should be able to create symlinks anywhere within /mnt/ext1 |
09-03-2024, 07:41 PM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2024
Location: Colorado
Device: Pocketbook Era Color
|
Hello, so I finally got around to giving this a shot (life really gets in the way of hobbies, doesn't it). But, I'm having issues on my Era Color with this, unfortunately. With your helpful KOR_cover_sync utility, I put it in the applications folder on my device, then when I launched it on the device, it seemingly immediately opened up the Logo settings page. But when I opened each of the Boot and Power-off options, there is no option there for "koreader_cover" as you specified.
I've also tried using your SleepScreen.pbi from that other thread, and while I can install it, and select "SetSleep" as the option for Boot Logo and/or Power-off Logo, it does not show up as an option when I try to tap and hold on a book and try to "Open with" a different app. The only things that show up there are koreader and the built-in app. I also tried doing the symlinks manually myself, using the terminal from the bundled package from Vlasovsoft, but that terminal lacks the permissions to do the symlinks. (And I was going to try using pbterm but I see in the latest comment from this thread that it seemingly doesn't work on the Era Color. I wonder if there's something new in the fimrware/OS for the Era Color specifically that is messing with 3rd party applications running correctly? :/ Any ideas? It's ok if not, I know this is relatively a minor thing. |
Advert | |
|
09-05-2024, 09:39 AM | #6 | |
0000000000101010
Posts: 5,705
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Hmmm... I'm not sure.
Quote:
Do these directories all exist on your device? /mnt/ext1/system/resources/Line /mnt/ext1/system/logo/offlogo /mnt/ext1/system/logo/bootlogo Could someone else with an Era device confirm whether they can create symlinks within /mnt/ext1? Last edited by neil_swann80; 09-06-2024 at 02:34 AM. |
|
09-06-2024, 04:10 PM | #7 |
0000000000101010
Posts: 5,705
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
You could also try this workaround by editing the coverimage.koplugin:
Exit from Koreader. Add entry to: /mnt/ext1/applications/koreader/plugins/coverimage.koplugin/main.lua The entry you need to add for the power-off logo is highlighted in red below, the green is for the boot logo. You can find the point to add them at around line 119. Code:
function CoverImage:createCoverImage(doc_settings) if self:coverEnabled() and doc_settings:nilOrFalse("exclude_cover_image") then local cover_image, custom_cover = FileManagerBookInfo:getCoverImage(self.ui.document) if cover_image then local cache_file = self:getCacheFile(custom_cover) if lfs.attributes(cache_file, "mode") == "file" then logger.dbg("CoverImage: cache file already exists") ffiutil.copyFile(cache_file, self.cover_image_path) ffiutil.copyFile(cache_file, "/mnt/ext1/system/logo/offlogo/koreader_cover.bmp") ffiutil.copyFile(cache_file, "/mnt/ext1/system/logo/bootlogo/koreader_cover.bmp") io.popen('iv2sh WriteStartupLogo /mnt/ext1/system/logo/bootlogo/koreader_cover.bmp') lfs.touch(cache_file) -- update date return end Exit from Koreader. Then try manually changing your power-off logo to: koreader-cover Power off the device to check the logo. * This may stop working after a Koreader update as the plugin may be overwritten; you'll simply have to re-add the lines above. Last edited by neil_swann80; 09-07-2024 at 04:32 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can i exact the .pbi file? | godwdss | PocketBook | 2 | 01-27-2023 02:16 AM |
Delete User Created Column | aliceander | Calibre | 3 | 08-25-2013 01:36 PM |
Keyboard Shortcut for user created columns | dredwerker | Calibre | 2 | 07-03-2012 02:44 AM |
Post your user-created recipe here! | GatorDeb | Calibre | 3 | 06-29-2009 03:00 PM |
impserve: user-created plugins and requests.... | nrapallo | Fictionwise eBookwise | 21 | 09-27-2008 09:40 AM |