Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > PocketBook > PocketBook Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2024, 07:01 PM   #16
ZackMuc
Enthusiast
ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.
 
Posts: 26
Karma: 94086
Join Date: Nov 2020
Device: Kindle Oasis
Quote:
Originally Posted by GreyFox View Post
Awesome, thanks so much. Someone else made some color icons too and now with yours everything has a nice splash of color.
Where are they to find?
ZackMuc is offline   Reply With Quote
Old 11-24-2024, 12:15 AM   #17
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]
Here's SOME

Save the icons to:
/mnt/ext1/applications/icons

Then save the view.json file to:
mnt/ext1/system/config/desktop

Last edited by neil_swann80; 11-26-2024 at 11:58 PM.
neil_swann80 is offline   Reply With Quote
Advert
Old 11-25-2024, 05:12 AM   #18
totasenior
Member
totasenior began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2017
Location: Veszprém, Hungary
Device: PB Inkpad 3 pro; PB Touch HD 3; Pocketbook Color
color icons - question

Quote:
Originally Posted by neil_swann80 View Post
Here's SOME
I copied the icons you provided into the system/resources/Line folder. I restarted the device (PB Verse Pro Color).
However, only the icons on the main screen have changed colour.
What am I doing wrong?
What is the solution to make the icons of the applications colored?
totasenior is offline   Reply With Quote
Old 11-25-2024, 10:30 AM   #19
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]
Have you edited:
mnt/ext1/system/config/desktop/view.json

You'll need to add all the apps you want to change the icons for to the json file.

You need to be careful with the formatting, otherwise the menu will not show at all. if you do mess it up, just delete the json file and reboot and the default one will be generated anew.

There's an example view.json file for my device within the zip file in this POST

Last edited by neil_swann80; 11-25-2024 at 10:46 AM.
neil_swann80 is offline   Reply With Quote
Old 11-25-2024, 01:42 PM   #20
totasenior
Member
totasenior began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2017
Location: Veszprém, Hungary
Device: PB Inkpad 3 pro; PB Touch HD 3; Pocketbook Color
Quote:
Originally Posted by neil_swann80 View Post
Have you edited:
mnt/ext1/system/config/desktop/view.json

You'll need to add all the apps you want to change the icons for to the json file.

You need to be careful with the formatting, otherwise the menu will not show at all. if you do mess it up, just delete the json file and reboot and the default one will be generated anew.

There's an example view.json file for my device within the zip file in this POST
Well, I can't do that.
Unfortunately I'm not good at this level (editing).
totasenior is offline   Reply With Quote
Advert
Old 11-25-2024, 02:01 PM   #21
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]
Quote:
Originally Posted by totasenior View Post
Well, I can't do that.
Unfortunately I'm not good at this level (editing).
It's not difficult really. You can edit a json file with a simple text editor like notepad.
neil_swann80 is offline   Reply With Quote
Old 11-26-2024, 04:12 PM   #22
ZackMuc
Enthusiast
ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.
 
Posts: 26
Karma: 94086
Join Date: Nov 2020
Device: Kindle Oasis
I renamed the pics like here: https://wiki.mobileread.com/wiki/Poc...e_Theme_Images
ZackMuc is offline   Reply With Quote
Old 11-26-2024, 11:11 PM   #23
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]
It's even easier than renaming, as I've just noticed that the color icons zip file already has the modified view.json within it.

So just save the icons to:
/mnt/ext1/applications/icons

Then save the view.json file to:
mnt/ext1/system/config/desktop

Last edited by neil_swann80; 11-26-2024 at 11:58 PM.
neil_swann80 is offline   Reply With Quote
Old 01-05-2025, 06:52 PM   #24
ZackMuc
Enthusiast
ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.
 
Posts: 26
Karma: 94086
Join Date: Nov 2020
Device: Kindle Oasis
Can the Book Setting Icon or the Rotate Icon also be changed. Where to find the original Icons. Is the source code for the Color 3 available?
ZackMuc is offline   Reply With Quote
Old 01-06-2025, 02:35 AM   #25
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 977
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
Quote:
Originally Posted by ZackMuc View Post
Can the Book Setting Icon or the Rotate Icon also be changed. Where to find the original Icons. Is the source code for the Color 3 available?
Yes, it looks like these are all present in the Line.pbt that PocketBook ships.

I would suggest:
  1. listing the resources in Line.pbt (use rpbres or similar)
  2. looking for interesting resource names (use grep?)
  3. extract those resources (use rpbres)
  4. convert the resources into images (use res2image)
  5. edit the images to your taste
  6. convert them back to the right kind of Windows BMP files
  7. copy them into the correct location on your PocketBook.

PocketBook software is not open source, so there's no source code available. I don't think you need it for your task.

rpbres and res2image are both from my GitHub repo. There's a note in this thread on how to create the right kind of Windows BMP file too.
chrisridd is offline   Reply With Quote
Old 01-06-2025, 06:41 AM   #26
ZackMuc
Enthusiast
ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.
 
Posts: 26
Karma: 94086
Join Date: Nov 2020
Device: Kindle Oasis
I do not find a Line.pbt on my Color 3
ZackMuc is offline   Reply With Quote
Old 01-06-2025, 07:54 AM   #27
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 977
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
Quote:
Originally Posted by ZackMuc View Post
I do not find a Line.pbt on my Color 3
Ah, it is in /ebrmain/themes/Line.pbt however when you connect the PocketBook to your computer all you can see is /mnt/ext1.

What I have done is to create an executable "app" in /mnt/ext1/application/test.app which is just a simple Linux shell script. In that script I can do whatever I want, such as running `ls -lR / > /mnt/ext1/slash.txt`, or `cp /ebrmain/themes/Line.pbt /mnt/ext1/Line.pbt` etc etc.

Then I tap the app icon, and when I reconnect it to my Mac later I can copy off the new files.

That's worth writing up somewhere on the wiki.
chrisridd is offline   Reply With Quote
Old 01-06-2025, 08:13 AM   #28
ZackMuc
Enthusiast
ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.
 
Posts: 26
Karma: 94086
Join Date: Nov 2020
Device: Kindle Oasis
id did the scripts but nothing happens

test.app:

#!/bin/sh
ls -lR / > /mnt/ext1/slash.txt
ZackMuc is offline   Reply With Quote
Old 01-06-2025, 08:28 AM   #29
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 977
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
Quote:
Originally Posted by ZackMuc View Post
id did the scripts but nothing happens

test.app:

#!/bin/sh
ls -lR / > /mnt/ext1/slash.txt
That ought to work. Make sure the file has the execute bits set.
chrisridd is offline   Reply With Quote
Old 01-06-2025, 08:29 AM   #30
ZackMuc
Enthusiast
ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.
 
Posts: 26
Karma: 94086
Join Date: Nov 2020
Device: Kindle Oasis
How can i do, my pocketbook is not jailbraked
ZackMuc is offline   Reply With Quote
Reply

Tags
github, themes

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Software Engineering Tools and Debugging Techniques: Guide to Build Software Tools amazon author Self-Promotions by Authors and Publishers 2 04-07-2015 04:02 AM
Tools CRussel General Discussions 39 01-21-2013 04:00 PM
Tools Polyphemus General Discussions 5 12-26-2012 08:48 AM
xz tools for a 3 twobob Kindle Developer's Corner 10 08-22-2012 03:17 PM


All times are GMT -4. The time now is 10:32 AM.


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