08-10-2023, 11:08 AM | #31 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
I made changes to the following files:
/mnt/ext1/system/config/desktop/view.json /mnt/ext1/system/config/desktop/apps.json /ebrmain/config/desktop/view.json /ebrmain/config/desktop/apps_db.json /ebrmain/config/desktop/apps/apps.json After doing this, the icon has disappeared for view. While not the intended result, this is interesting. Something in one of these files has made the icon disappear. Now to find which file that could be |
08-10-2023, 11:27 AM | #32 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
I removed all references to KOReader from the files:
/mnt/ext1/system/config/desktop/view.json /mnt/ext1/system/config/desktop/apps.json /ebrmain/config/desktop/view.json /ebrmain/config/desktop/apps_db.json /ebrmain/config/desktop/apps/apps.json Added the entry back into /mnt/ext1/system/config/desktop/view.json. The entries I added: U_koreader U_KOReader koreader KOReader After reboot, I saw an 2 errors that it couldn't find koreader and KOReader. Removing both those entries, and having U_KOReader and U_koreader remaining, the icon disappeared again. So it seems the change can be made in /mnt/ext1/system/config/desktop/view.json. Just need to figure out exactly what we need |
Advert | |
|
08-10-2023, 11:38 AM | #33 |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Got it!
Add this to the start of the file mnt/ext1/system/config/desktop/view.json: Code:
{
"version": "5",
"applications": {
"U_Koreader": {
"path": "/mnt/ext1/applications/koreader.app",
"title": "KOReader",
"icon": "/mnt/ext1/applications/icons/koreader.bmp",
"focused_icon": "/mnt/ext1/applications/icons/koreader_f.bmp"
},
"_comment": [
...
to whichever group list you want the icon to appear in further down the file. If it's the last entry in the section no comma at the end: "U_Koreader" All apps listed before it MUST have a comma however. Last edited by neil_swann80; 01-16-2024 at 12:22 PM. |
08-10-2023, 11:58 AM | #34 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
GREAT WORK!
Looks good on my side! I'll create a github project with all this info and share the link later. I'll post on the Dutch form, and KOReader project as well. Might be helpful for users and maybe bring on some new ideas Thanks again everyone |
08-10-2023, 12:14 PM | #35 |
Groupie
Posts: 185
Karma: 194590
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
[I take that the finding applies to FW 6.X. On my device I simply don't have the *.jsons mentioned, I have a different set of *.cfg and *.json in not exactly the same folders].
Still not resolved about what is the ideal pixel height of the icons in my case. The attached is a high-contrast stylish 112px, which still looks a couple of pixels too short. |
Advert | |
|
08-10-2023, 12:27 PM | #36 |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Likely is a 6.x firmware difference. I don't have a PB device running 5.x to confirm.
I'm going to try and find a system icon file next so we can get the exact dimensions. Thanks for new icon @EastEriq! Last edited by neil_swann80; 08-10-2023 at 01:50 PM. |
08-10-2023, 01:05 PM | #37 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
Any changes made to /ebrmain/ don't change after reformat or factory reset fyi. I am doing a from scratch guide for this and wanted to make sure you don't need root. I'll mention other quirks if I find them
|
08-10-2023, 01:19 PM | #38 | |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Quote:
en.txt only really needed for renaming stock apps (or renaming "USER'S" group in apps menu) as user apps and groups can be renamed in view.json. I guess you could even (mostly) ditch en.txt for simplicity and add the stock apps to the applications section of view.json too; then you could keep renaming to a single file and all the custom icons for stock and user apps in a single easily referenced directory. As there are loads of different xx.txt language files this may be a good idea! - FYI tested this and it works, you can set title and set a path for icons for stock apps - app path not required for stock apps (will generate an error), only needed for user apps Add stock apps to applications section of "view.json" like so: Code:
"PB_Calc": { "title": "", "icon": "", "focused_icon": "" }, If you want to hide an app from the Apps menu, stock or user, remove the reference to it in the groups section further down the file. Last edited by neil_swann80; 08-10-2023 at 03:27 PM. |
|
08-10-2023, 03:30 PM | #39 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
Here is the Github link to the guide: https://github.com/jjrrw174/PocketBo...Customizations
I'll edit the first post I made to use this link instead of the steps I had. Thanks all |
08-10-2023, 04:13 PM | #40 |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Just realised there's a better way to hide the apps in "view.json". Just add a underscore to the start of the app name in the groups section and it's treated as a comment and ignored. Easier to disable/enable in future then.
Code:
"PB_Gallery", "PB_Library", "_PB_Notes", |
08-10-2023, 04:21 PM | #41 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
Found a slight problem
The open with Koreader option doesn't seem to work after these changes. Going to take a look |
08-10-2023, 04:29 PM | #42 |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Working fine for me. I can long-press from the library and open with KOReader just fine. It then remembers and opens that book again with KOReader as default after a reboot.
|
08-10-2023, 04:33 PM | #43 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
Oh. Strange. When I long press and the open with menu appears I see KOReader (use to be koreader.app) and it does nothing.
Maybe I need to clean install KOReader Edit: Found it. I didn't put the system folder in system lol |
08-10-2023, 05:37 PM | #44 |
Groupie
Posts: 185
Karma: 194590
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
I decided that the optimal icon height on PB631 is 116px.
In my last attempts I didn't even need to reboot the device to see the changed icons. |
08-11-2023, 07:46 AM | #45 |
Old Kaz
Posts: 208
Karma: 1064151
Join Date: May 2010
Device: PocketBook Era
|
Another icons variant for KOReader.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove question mark icons | KayLee | Calibre | 2 | 03-05-2016 12:38 PM |
desktop icons disappeared after reboot | futureway | enTourage eDGe | 5 | 11-30-2011 08:27 AM |
Totally stupid question: where's my app drawer? | maxbookworm | Nook Developer's Corner | 6 | 01-26-2011 11:13 PM |
DR800 Icons for desktop files | Iñigo | iRex Developer's Corner | 3 | 05-16-2010 07:26 PM |
no desktop icons on boot-up | Unregistered | Lounge | 11 | 08-16-2005 01:47 PM |