Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-08-2024, 02:15 PM   #76
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,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Should anyone wish to change the control panel icons (Wifi, BT, Flight Mode etc) new icons for those can be placed in the same directory as the lock screen image e.g.
/mnt/ext1/system/resources/Line/

The names are:
Code:
"SH_POWEROFF"
	"icon":       "taskmgr_off",
	"icon_focus": "taskmgr_off_f"

"SH_SCREENSHOT"
	"icon":       "taskmgr_screenshot",
	"icon_focus": "taskmgr_screenshot_f"

"SH_LOCK"
	"icon":       "taskmgr_lock",
	"icon_focus": "taskmgr_lock_f"

"SH_AUTOROTATE"
	"icon":	      "ctrl_panel_auto_rotate",
	"icon_focus": "ctrl_panel_auto_rotate_f"

"SH_FRONTLIGHT"
	"icon":	      "ctrl_panel_frontlight",
	"icon_focus": "ctrl_panel_frontlight_f"

"SH_SEARCH"
	"icon":	      "ctrl_panel_search",
	"icon_focus": "ctrl_panel_search_f"

"SH_SETTINGS"
	"icon":	      "ctrl_panel_settings",
	"icon_focus": "ctrl_panel_settings_f",

"SH_SYNC"
	"icon":	      "ctrl_panel_sync",
	"icon_focus": "ctrl_panel_sync_f"

"SH_FLIGHTMODE"
	"icon":	      "ctrl_panel_flight_mode",
	"icon_focus": "ctrl_panel_flight_mode_f"

"SH_TASKMANAGER"
	"icon":	      "ctrl_panel_taskmgr",
	"icon_focus": "ctrl_panel_taskmgr_f"

"SH_BLUETOOTH"
	"icon":	      "ctrl_panel_bluetooth",
	"icon_focus": "ctrl_panel_bluetooth_f",

"SH_WIFI"
	"icon":	      "ctrl_panel_wifi",
	"icon_focus": "ctrl_panel_wifi_f",

"SH_NIGHTMODE"
	"icon":	      "ctrl_panel_night_mode",
	"icon_focus": "ctrl_panel_night_mode_f"
This info is from:
/ebrmain/config/control_panel/shortcuts_db.json
It lists all the app pathnames as well, so very similar to view.json.

/mnt/system/config/control_panel/user_shortcuts.json
simply contains the list of the control panel apps currently active, e.g.
Code:
{"shortcuts":[{"id":"SH_WIFI"},{"id":"SH_BLUETOOTH"},{"id":"SH_FLIGHTMODE"},{"id":"SH_NIGHTMODE"},{"id":"SH_POWEROFF"}],"version":1}
The "id" all being the same as found in shortcuts_db.json.

If you add user apps to the control panel and then check user_shortcuts.json the apps are prefixed with UR_ rather than the system apps with SH_ (e.g. UR_koreader).

I've tried copying shortcuts_db.json across to the user area and adding an entry for koreader, but no luck.

I also edited /ebrmain/config/control_panel/shortcuts_db.json directly, adding the koreader info, but no luck with this either, still no change of icon.

For the moment you can only change the system control panel icons.

Last edited by neil_swann80; 03-08-2024 at 03:03 PM.
neil_swann80 is online now   Reply With Quote
Old 03-17-2024, 12:17 PM   #77
Michal Jancik
Sorry for my English
Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.
 
Michal Jancik's Avatar
 
Posts: 464
Karma: 3009898
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
At least KORADER icons can be changed easily

Attached Thumbnails
Click image for larger version

Name:	mread_kor_custom.png
Views:	546
Size:	37.7 KB
ID:	206959  
Michal Jancik is offline   Reply With Quote
Advert
Old 03-17-2024, 02:40 PM   #78
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,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Quote:
Originally Posted by Michal Jancik View Post
At least KORADER icons can be changed easily
Nice! Got a link for them? Or were they self-made?
neil_swann80 is online now   Reply With Quote
Old 03-17-2024, 02:46 PM   #79
Michal Jancik
Sorry for my English
Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.
 
Michal Jancik's Avatar
 
Posts: 464
Karma: 3009898
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
Quote:
Originally Posted by neil_swann80 View Post
Nice! Got a link for them? Or were they self-made?
Yes, made in HOME

Icons downloaded from: : https://www.svgrepo.com/collection/web-design-11/
(open licensed)

Basically, just move the downloaded icons to folder (Pocketbook): \applications\koreader\resources\icons\mdlight and rename them according to the original name of the icon you want to replace. Certainly nothing complicated for you.

At the moment I need to choose the right (adequate) icons for the top menu.

Attached Thumbnails
Click image for larger version

Name:	kor_ui_custom_1.png
Views:	526
Size:	16.5 KB
ID:	206962  

Last edited by Michal Jancik; 03-17-2024 at 03:00 PM.
Michal Jancik is offline   Reply With Quote
Old 03-17-2024, 04:32 PM   #80
Michal Jancik
Sorry for my English
Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.Michal Jancik ought to be getting tired of karma fortunes by now.
 
Michal Jancik's Avatar
 
Posts: 464
Karma: 3009898
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
KOREADER ICON REMPLACEMMENT
(unofficial releases, custom versions)

V1.0

PREVIEW CLICK HERE :
Spoiler:


Etract to root folder of Pocketbook

Only the main icons were changed, the script was not interfered with.
Extract directly to the reader pocketbook, or the icons themselves from the mdlight address book.
Attached Thumbnails
Click image for larger version

Name:	KOR_ALFA_1.png
Views:	556
Size:	72.7 KB
ID:	206966  
Attached Files
File Type: zip koreader_gui_update.zip (172.4 KB, 223 views)

Last edited by Michal Jancik; 03-17-2024 at 04:38 PM.
Michal Jancik is offline   Reply With Quote
Advert
Old 06-29-2024, 08:43 PM   #81
certciv
Member
certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.
 
Posts: 11
Karma: 56298
Join Date: Jun 2024
Location: Los Angeles, CA United States
Device: PocketBook Era Color
On the Era I discovered that any app icon can be changed in "/mnt/ext1/system/config/desktop/view.json". That includes built in applications. The replaced icons also work on the home page. To change the dictionary icon for example:


Code:
        "PB_Dictionary": {
			"icon": "[path to .bmp]",
			"focused_icon": "[path to .bmp]"

	}
The only bug is that these custom icons don't work in the home page's "Replace application" context menu. That's a minor issue though, since accessing the context menu to change home page applications is rarely done.
certciv is offline   Reply With Quote
Old 06-30-2024, 01:02 AM   #82
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,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Quote:
Originally Posted by certciv View Post
On the Era I discovered that any app icon can be changed in "/mnt/ext1/system/config/desktop/view.json". That includes built in applications.
Indeed. This was discussed on page 3. There's forum user created icons on page 4 if you need them.
neil_swann80 is online now   Reply With Quote
Old 06-30-2024, 03:41 AM   #83
certciv
Member
certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.
 
Posts: 11
Karma: 56298
Join Date: Jun 2024
Location: Los Angeles, CA United States
Device: PocketBook Era Color
Oh, I missed that.

I actually spent the evening replacing most of my Era Color's icons with color versions. After all why not use color if you've got it! They are as close to the original designs as I could make them, with a few improvements where I thought they could use more than a little color. My view.json is in the zip file as well.

Photos of the final product are attached. Screenshots render colors like they would appear on an LCD, not on color e-ink. Color adjustment can actually be a little tricky to get the intended effect on e-ink, so some of the bitmap colors are a bit strange viewed on a monitor.

The only issue with this on the Era Color is shown on the fourth image. I'm not sure why custom icons do not render on the home page's "Replace application" context menu. I've tried a bunch of encodings, quite a few image sizes, and even a few different programs to see if that would make a difference. Nothing worked. I'm starting to think it's an actual bug.
Attached Thumbnails
Click image for larger version

Name:	color_icons_01.jpg
Views:	137
Size:	579.3 KB
ID:	209285   Click image for larger version

Name:	color_icons_02.jpg
Views:	132
Size:	573.7 KB
ID:	209286   Click image for larger version

Name:	color_icons_03.jpg
Views:	116
Size:	332.7 KB
ID:	209287   Click image for larger version

Name:	color_icons_04.jpg
Views:	132
Size:	475.7 KB
ID:	209288  
Attached Files
File Type: zip color_icons.zip (81.5 KB, 105 views)
certciv is offline   Reply With Quote
Old 06-30-2024, 03:47 AM   #84
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,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Quote:
Originally Posted by certciv View Post
I actually spent the evening replacing most of my Era Color's icons with color versions. After all why not use color if you've got it! They are as close to the original designs as I could make them, with a few improvements where I thought they could use more than a little color. My view.json is in the zip file as well..
That's great, thanks for sharing!
neil_swann80 is online now   Reply With Quote
Old 09-23-2024, 09:40 PM   #85
GreyFox
Militaires Sans Frontière
GreyFox began at the beginning.
 
GreyFox's Avatar
 
Posts: 19
Karma: 32
Join Date: May 2024
Device: PocketBook Era Color
Quote:
Originally Posted by certciv View Post
Oh, I missed that.

I actually spent the evening replacing most of my Era Color's icons with color versions. After all why not use color if you've got it! They are as close to the original designs as I could make them, with a few improvements where I thought they could use more than a little color. My view.json is in the zip file as well.

Photos of the final product are attached. Screenshots render colors like they would appear on an LCD, not on color e-ink. Color adjustment can actually be a little tricky to get the intended effect on e-ink, so some of the bitmap colors are a bit strange viewed on a monitor.

The only issue with this on the Era Color is shown on the fourth image. I'm not sure why custom icons do not render on the home page's "Replace application" context menu. I've tried a bunch of encodings, quite a few image sizes, and even a few different programs to see if that would make a difference. Nothing worked. I'm starting to think it's an actual bug.

Amazing work! I have an issue though, I put these icons in the correct folder and put the view.json in the correct spot and while all the icons are in color, I can not place KOReader onto my home bar. It was on the home bar before I
added your view.json
GreyFox is offline   Reply With Quote
Old 09-23-2024, 09:46 PM   #86
GreyFox
Militaires Sans Frontière
GreyFox began at the beginning.
 
GreyFox's Avatar
 
Posts: 19
Karma: 32
Join Date: May 2024
Device: PocketBook Era Color
Quote:
Originally Posted by GreyFox View Post
Amazing work! I have an issue though, I put these icons in the correct folder and put the view.json in the correct spot and while all the icons are in color, I can not place KOReader onto my home bar. It was on the home bar before I
added your view.json
Never mind, two restarts fixed it.
GreyFox is offline   Reply With Quote
Old 10-13-2024, 03:29 AM   #87
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,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
FYI... for the most recent firmwares you may need to edit the JSON (view.json) version to 6 with the line:
Code:
 "version": "6",

Last edited by neil_swann80; 10-13-2024 at 10:09 AM.
neil_swann80 is online now   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 01:47 AM.


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