08-09-2023, 04:45 AM | #16 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Use your own Apps Icons (untested):
From: https://4pda.to/forum/index.php?show...ost&p=76488379 Draw 2 icons, in bmp format, 256 gradations of gray, uncompressed. desktop_app_applicationname.bmp is unpressed desktop_app_applicationname_f.bmp - pressed Put in the "system/resources/Line" folder. Last edited by nhedgehog; 08-09-2023 at 05:54 AM. |
08-09-2023, 10:58 AM | #17 |
Groupie
Posts: 185
Karma: 194590
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
Cool. For me these worked, in "/mnt/ext1/system/resources/Line/" (no need to remount rw "/system"). 256x256 would have been two big, 106x128 (non square) is fine. As it appears that the icons are top aligned, probably somewhat smaller, like 96x96 would have been the best match with the stock round icons.
|
Advert | |
|
08-09-2023, 01:12 PM | #18 |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
The icons didn't work on my HD3 (PB632). I also tried resizing them to 96x96, 32x32 and 16x16 but no dice.
A BMP image for the sleep screen (taskmgr_lock_background.bmp) placed in "/mnt/ext1/system/resources/Line/" works correctly however. |
08-09-2023, 01:20 PM | #19 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
Seems as though image sizes must be specific for device. @EastEriq, what device do you have. Maybe I can create a running list of devices and icon sizes
|
08-09-2023, 01:48 PM | #20 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
I tried the icons from @EastEriq at 96x96 and 106x128 on my Era but neither seemed to update the image for KoReader.
|
Advert | |
|
08-09-2023, 02:07 PM | #21 |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Ah... they do work, but seemingly only for the default built-in system apps, not "user's apps".
I tested it with "desktop_app_gallery.bmp" and it shows, but not with koreader. To blend in with the existing icons on my HD3 an image size of 96x96 is best, ensures the text labels underneath line up. I'd create a white 96x96 background, then centre a 64x64 icon within it to match the icon spacing. Last edited by neil_swann80; 08-09-2023 at 02:52 PM. |
08-09-2023, 03:35 PM | #22 |
Groupie
Posts: 185
Karma: 194590
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
I'm on firmware 5.20, presumably this may still be less modder-unfriendly than 6.X.
As for icon height, even 96 is actually still a bit too high on my device, judging from the alignment of the caption. Maybe 88 would match that of the stock icons, but whatever (one could decompile the theme to check...). As for horizontal alignment, it seems that icons are simply centered, so width might be larger. Trial and error. Besides, I doubt if related, I recall that /mnt/ext1/system/language/XX.txt contains the localized names of the captions of the icons. There the format is @Koreader=KOReader where the initial after @ is uppercased, whereas in the icon name not (I used the spelling as it appears in /mnt/ext1/appilcations/*.app). I attach another set of icons which WFM, without investing too much in aesthetics. ETA: icons worked for me only after a device reboot, of course ETA2: but the icons I have attached here are all 128pix high - I must be mixing up. Last edited by EastEriq; 08-09-2023 at 04:40 PM. |
08-09-2023, 05:34 PM | #23 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
Hmm, FW 6.8 must be different. I don't see that @Koreader=KOReader text file you mentioned.
Something to keep looking into |
08-09-2023, 05:48 PM | #24 |
Groupie
Posts: 185
Karma: 194590
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
To my understanding, you can create that file (normally absent, XX is the code of your localization language) if you want customized names under your icons different than the default. The first line of the file has to be the full name of the language, then one app name per line. I forgot where on the fora I found this.
Look in /ebrmain/language for the real thing, the full set of localizations. Which means, probably the file in /mnt/ext1/system/language can override any string, not just the app icon labels. |
08-10-2023, 01:02 AM | #25 |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
The alias file is located in: /ebrmain/cramfs/language
On my HD3 (FW 6.*) I copied /ebrmain/cramfs/language/en.txt to /mnt/ext1/system/language/en.txt then added: @koreader=KOReader Make sure you add the line BEFORE the section for: [vivlio] I can confirm it changes the app text label correctly. This is very useful, thanks! Unfortunately, however I rename koreader (tried all lowercase, just K capitalized etc) I still cannot get the new icon to show. It feels as if we're very close though. I wonder what we're missing? Last edited by neil_swann80; 08-10-2023 at 06:41 AM. |
08-10-2023, 05:21 AM | #26 |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
It looks like you can hide apps and create/move between sections within the apps menu page without root just by editing:
mnt/ext1/system/config/desktop/view.json If you mess up, or want to reset you can delete this file and a default one is recreated at reboot. The info in the file seems relevant also, especially the part: Code:
"Fields - application key id, must start from \"U_\" for user application\n", "Support application subfields:\n", "> \"path\" - path to application (Required for user apps. Support apps only from userspace)\n", ... "Examples:\n", "1) \"U_MyApp\": {\n", " \"path\": \"applications/my_app.app\", \n", " \"param\": [\"-a\", \"25\"],\n", " \"title\": \"My application\",\n", " \"icon\": { \"path\": \"applications/icons/my_app_icon.bmp\" },\n", " \"focused_icon\": \"desktop_app_calc_f.bmp\"\n", " }\n", Last edited by neil_swann80; 08-10-2023 at 08:22 AM. |
08-10-2023, 08:50 AM | #27 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
I tried adding to the view.json file in ebrmain late last night but I got an error along the lines of U_Koreader can't be found. It wad late so I could have messed up the Json syntax. I'll give it another go today
|
08-10-2023, 08:56 AM | #28 | |
Groupie
Posts: 185
Karma: 194590
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
Quote:
Code:
Italian @Pb-mahjong=Solitario Mahjong @Pbterm=Terminale @Pi=Editor PI @Koreader=KOReader @Utelnetd_start=Telnet (attiva) @Utelnetd_stop=Telnet (ferma) @Jailbreak=~Jailbreak @Uninstall=~Uninstall Jailbreak @Services=~Install Services ( ~ is to have the latter entries at the bottom of the alphabetic list) |
|
08-10-2023, 10:31 AM | #29 |
Connoisseur
Posts: 78
Karma: 7126
Join Date: May 2023
Device: PocketBook Era
|
Can confirm EastEriq's worked for me. In /mnt/ext1/system/language/en.txt I have this:
English @koreader=KOReader @pbterm=PB Term @Jailbreak=Jail Break @PbDbFixer= Database Fix Still trying with the custom images . If and when this is solved (thanks for all the replies and help everyone) I will create a git hub project to document all of this |
08-10-2023, 10:44 AM | #30 |
0000000000101010
Posts: 5,738
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
I'm still trying with custom images for the user apps... but so far no dice!
The "User's" section in the apps menu screen isn't mentioned in view.json, so I figure there must be another file/process that generates this section. Looking in the original en.txt file I can see the entry: @Users=User's Changing the alias for @Users does change it on the apps menu screen... so I've started a string search for "@Users" on my device to see where it's referenced. I'll let you know if I discover anything. Last edited by neil_swann80; 08-10-2023 at 10:48 AM. |
|
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 |