Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-03-2025, 01:42 AM   #16
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes as long as the plugin uses the get_icons() function and the icon theme has icons named plugin_name/icon_name.png it should work.
kovidgoyal is offline   Reply With Quote
Old 03-03-2025, 03:47 AM   #17
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Question

Quote:
Originally Posted by kovidgoyal View Post
Yes as long as the plugin uses the get_icons() function and the icon theme has icons named plugin_name/icon_name.png it should work.
It seems not work. I try to modify the icon of a plugin named “Send to Kindle”. I check the original icon is '/Users/xxx/Library/Preferences/calibre/plugins/Send to Kindle/images/icon.png’. In my icon pack, I created a folder named “send_to_kindle” and placed “icon.png” in it. It’s not worked.

Then I installed the theme “Setenove Blue” which is an icon pack has customed the icon of “Kindle Collections” and I also installed this plugin, it’s not worked too. Something went wrong. Is it only work for other platforms? I only tested on macOS for now.

P1: original icon path of the plugin
P2: icon path in this icon theme
P3: get_icons() function in the plugin’s code
Attached Thumbnails
Click image for larger version

Name:	original path.png
Views:	45
Size:	25.8 KB
ID:	214050   Click image for larger version

Name:	icon pack path.png
Views:	43
Size:	21.8 KB
ID:	214051   Click image for larger version

Name:	get_icons.png
Views:	51
Size:	87.7 KB
ID:	214052  
redbreast is offline   Reply With Quote
Advert
Old 03-03-2025, 03:59 AM   #18
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
and here’s the plugin’s name.
Attached Thumbnails
Click image for larger version

Name:	plugin name.png
Views:	51
Size:	87.2 KB
ID:	214053  
redbreast is offline   Reply With Quote
Old 03-03-2025, 06:23 AM   #19
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The plugin has to do

get_icons('images/icon.png', 'Send To Kindle')

and in your icon theme, there needs to exist the file

Send To Kindle/images/icon.pg


then it will work. From the screenshot you posted, the plugin is using
_(self.name) which will result in a translated version of the plugins name, which could be anything, depending on the users calibre UI language.
kovidgoyal is offline   Reply With Quote
Old 03-03-2025, 07:15 AM   #20
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Talking Plugin icon works!

Quote:
Originally Posted by kovidgoyal View Post
The plugin has to do

get_icons('images/icon.png', 'Send To Kindle')

and in your icon theme, there needs to exist the file

Send To Kindle/images/icon.pg


then it will work. From the screenshot you posted, the plugin is using
_(self.name) which will result in a translated version of the plugins name, which could be anything, depending on the users calibre UI language.
Thanks for the hint. After placing the icon in specific folder named by a specific language -- `plugin_name_in_lang/images/icon.png`, it actually works! And that “Setenove” series icon pack seems made a mistake, it didn’t place the icons in `image` folder, no wonder it didn’t work, in a different way.
redbreast is offline   Reply With Quote
Advert
Old 03-04-2025, 01:36 AM   #21
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Ah. Another reason that plugin icon doesn’t work is, some developers actually didn’t use the `get_icons()` function, including the “Kindle Collections” plugin that I mentioned above. Seems like they create their own method to get the icon.

I just leave a complain here, please use the `get_icons()` function in plugin development so that theme maker can modify the plugin icons.

Last edited by redbreast; 03-04-2025 at 01:40 AM.
redbreast is offline   Reply With Quote
Old 03-04-2025, 04:35 AM   #22
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Wink What plugin do you commonly use?

I am doing plugin icons. If you guys have some commonly used plugins want to be fitted in this icon pack, leave a reply here, then I will check if its icon could be customized.

Last edited by redbreast; 03-04-2025 at 04:38 AM.
redbreast is offline   Reply With Quote
Old 03-04-2025, 01:54 PM   #23
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Excellent icon pack! Congratulations on the work
dunhill is offline   Reply With Quote
Old 03-04-2025, 10:55 PM   #24
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Wink

Quote:
Originally Posted by dunhill View Post
Excellent icon pack! Congratulations on the work
Thanks! It’s not the final look, I am still adjusting one or two specific icons and doing several plugin icons. Final version will be posted after next Calibre version, I need its well functioning icon cover generator.
redbreast is offline   Reply With Quote
Old 03-05-2025, 01:27 AM   #25
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Exclamation New Color Setting

Quote:
Originally Posted by redbreast View Post
Unzip and import it in "Preferences - Look & feel - Adjust colors", then you will get the same color setting just like the screenshots above!
I made a little mistake in the previous color setting. Download this new color setting please.
Attached Files
File Type: zip Figma Color Setting v1.1.calibre-palette.zip (950 Bytes, 58 views)
redbreast is offline   Reply With Quote
Old 03-05-2025, 01:41 AM   #26
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
If you want black choosing-text in light theme, you can still download the first color setting. But I will link to the new color setting, in the final metadata of this icon pack.
redbreast is offline   Reply With Quote
Old 03-06-2025, 11:24 PM   #27
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Cool Finally it’s ready for publish!

I downloaded the preview version and packed an icon pack with a working icon theme cover! Finally it’s ready for upload. I’ve adjusted some icons and added some new after the first screenshot. Welcome to download and use and tell me if you like it! Like before, I attached some new screenshots below.
Attached Thumbnails
Click image for larger version

Name:	icon-theme-cover.jpg
Views:	58
Size:	80.3 KB
ID:	214152   Click image for larger version

Name:	final shoot.png
Views:	61
Size:	357.7 KB
ID:	214153   Click image for larger version

Name:	light main.png
Views:	56
Size:	1,008.3 KB
ID:	214154   Click image for larger version

Name:	dark main.png
Views:	56
Size:	1,009.9 KB
ID:	214155   Click image for larger version

Name:	light cover.jpg
Views:	53
Size:	453.0 KB
ID:	214156   Click image for larger version

Name:	preferences.png
Views:	50
Size:	598.8 KB
ID:	214157   Click image for larger version

Name:	edit_metadata.jpg
Views:	46
Size:	449.9 KB
ID:	214160   Click image for larger version

Name:	right click menu.png
Views:	43
Size:	440.5 KB
ID:	214161  
Attached Files
File Type: zip flat_design.zip (949.0 KB, 73 views)
redbreast is offline   Reply With Quote
Old 03-07-2025, 08:29 AM   #28
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Wink Bonus: Custom App Icon for macOS

To maintain a consistent visual identity, I've also created an app icon for macOS, which can be used as follows:

1. Copy the library.png (the first attachment), paste it to calibre’s original icon path. (On macOS, /Applications/calibre.app/Contents/Resources/resources/images.)

2. Copy the library.png. In Finder, go to /Applications, left click the Calibre.app then press CMD+I. In the pop-up info window, left click the icon on the top, then press CMD+V.

Then you should get the effect like the screenshots.
Attached Thumbnails
Click image for larger version

Name:	library.png
Views:	33
Size:	507.6 KB
ID:	214174   Click image for larger version

Name:	on menu.png
Views:	34
Size:	51.2 KB
ID:	214175   Click image for larger version

Name:	on bar.png
Views:	33
Size:	31.1 KB
ID:	214176  
redbreast is offline   Reply With Quote
Old 03-07-2025, 10:00 AM   #29
fogice
Addict
fogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Time
 
Posts: 255
Karma: 49504
Join Date: May 2014
Device: Kobo Libra 2
Quote:
Originally Posted by redbreast View Post
To maintain a consistent visual identity, I've also created an app icon for macOS, which can be used as follows:

1. Copy the library.png (the first attachment), paste it to calibre’s original icon path. (On macOS, /Applications/calibre.app/Contents/Resources/resources/images.)

2. Copy the library.png. In Finder, go to /Applications, left click the Calibre.app then press CMD+I. In the pop-up info window, left click the icon on the top, then press CMD+V.

Then you should get the effect like the screenshots.
Is it still the case that a custom MacOS icon needs to be re-applied after every Calibre update? It would be lovely if this could become the default icon...
fogice is offline   Reply With Quote
Old 03-07-2025, 12:03 PM   #30
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Quote:
Originally Posted by fogice View Post
Is it still the case that a custom MacOS icon needs to be re-applied after every Calibre update? It would be lovely if this could become the default icon...
I am afraid it needs to be re-applied after update. And here’s a light version I feel better.
Attached Thumbnails
Click image for larger version

Name:	library.png
Views:	35
Size:	530.5 KB
ID:	214178   Click image for larger version

Name:	starter.png
Views:	28
Size:	50.2 KB
ID:	214179   Click image for larger version

Name:	bar.png
Views:	29
Size:	33.8 KB
ID:	214180  
redbreast is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[icon] redrawn icon pack based on SF Symbols redbreast Calibre 0 02-28-2025 07:35 AM
[Icon] Modern Mac theme based on SF Symbols utterances Development 9 07-18-2024 12:07 AM
Original Dark Icon Pack Update dunhill Development 2 04-21-2024 04:29 PM
Icon pack Dark Blue poher Development 9 09-11-2015 11:25 AM
iPhone The Icon: Battery Pack for iPhone kjk Apple Devices 8 06-11-2010 11:24 PM


All times are GMT -4. The time now is 06:17 AM.


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