| 
			
			 | 
		#136 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763 
				Karma: 24088559 
				Join Date: Dec 2010 
				
				
				
				Device: Kindle PW2 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#137 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I will give it a try tomorrow to see if I can get it to work on macOS and if so, I will let you know how.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#138 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 324 
				Karma: 3200000 
				Join Date: Oct 2015 
				Location: Madison, WI 
				
				
				Device: Kindle 5th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 And thank you very much for this! Would love to get this working in Sigil and perhaps I can learn what I've done wrong here.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#139 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Phil 
		
	
		
		
		
		
		
		
		
		
		
		
	
	You don't need to use the full Calibre (add to Library) if you don't want to. There are a couple of standalone pieces included. Viewer, Editor to name a few.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#140 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 324 
				Karma: 3200000 
				Join Date: Oct 2015 
				Location: Madison, WI 
				
				
				Device: Kindle 5th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks very much! I admit I've mainly used calibre only to manage my personal library, so I'd have likely overlooked those standalones.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#141 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 You may need to 'Register' the Editor as a possible 'handler' for EPUB (it does not need to be Default)  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#142 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Okay,  I got it to work on macOS like a charm but I had to fix some executable permissions that were not properly set when the plugin zip was unpacked.  For executable scripts used in plugins, I typically have the plugin.py script handle that since all zip utilities handle it differently. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	After installing mono on macOS and after installing the ePUBOptimizer plugin in Sigil but before running it yet, use Terminal.app to do the following: #first check to make sure mono is in the path which mono # it should respond with # /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono # Then add the user execute permission ot the compiled binaries # for osx that come with the plugin cd cd Library/Application*Support cd sigil-ebook/sigil/plugins cd ePUBOptimizer cd osx chmod u+x ./gifsicle chmod u+x ./jpegtran chmod u+x ./optipng exit Then you should be able to use the ePUBOptimizer plugin on macOS successfully but be patient as the first launch of mono takes a lot of time. Subsequent runs of mono are a bit faster.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#143 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 324 
				Karma: 3200000 
				Join Date: Oct 2015 
				Location: Madison, WI 
				
				
				Device: Kindle 5th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Code: 
	which mono Code: 
	/Library/Frameworks/Mono.framework/mono Code: 
	/Library/Frameworks/Mono.framework/Versions/Current/lib/libmono-2.0.dylib  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#144 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Your installation of mono is broken.  The"mono" found by "which" should be a an executable command/script/program and not a dynamic library (.dylib). 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I would delete that entire Mono.framework you installed and then get a new installer. Download the stable channel latest build, which will end up with an installer .pkg file. from here: https://www.mono-project.com/download/stable/ Click the macOS tab (if not auto detected) and then click on the "Download Mono 6.12.0 (Stable channel)" button (on the right side). Once downloaded, manually drag the mono pkg file to your Desktop and run the installer by double clicking. Last edited by KevinH; 09-30-2021 at 06:34 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#145 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 324 
				Karma: 3200000 
				Join Date: Oct 2015 
				Location: Madison, WI 
				
				
				Device: Kindle 5th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Perfect, I was hoping it was something like that. I'll give er a shot.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#146 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 324 
				Karma: 3200000 
				Join Date: Oct 2015 
				Location: Madison, WI 
				
				
				Device: Kindle 5th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Just to kinda temporarily close the loop on this: still not finding mono and the installer (6.12 stable) did the exact same thing--stuck a mono in the same place and it's a symlink to that dynamic library. But I think it's probably a me thing here, maybe in part because my Mac's not particularly up-to-date (still on Catalina), so I'll do a little housekeeping before coming back to it. Thanks a ton to everyone for the help, if I do get it figured out I'll be sure to post up about it.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#147 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I tested on Catalina as well. Are you sure you completely deleted the old Mono.framework and all its contents first? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	In Terminal.app what does this command show: cd /Library/Frameworks/Mono.framework find ./ -name "mono" It should print the paths to all files called mono within that framework.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#148 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 324 
				Karma: 3200000 
				Join Date: Oct 2015 
				Location: Madison, WI 
				
				
				Device: Kindle 5th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Wow, thank you--I'm fairly sure I'd gotten rid of it completely, but I'll try again. At the moment I haven't got a /Library/Frameworks/Mono.framework/ at all, because I've since removed it again (via the instructions at the bottom of https://www.mono-project.com/docs/ab...atforms/macos/), which is perhaps a good sign. I'll keep at it and come back.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#149 | ||
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hmm ...  "Mono" should be a symlink to the .dylib of the framework but the command is "mono". 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
 Quote: 
	
 One of the following paths should be in your PATH after an install: /Library/Frameworks/Mono.framework/Versions/Current/Commands or /Library/Frameworks/Mono.framework/Versions/Current/bin as they are symlinked to each other. Hope something here helps. KevinH  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#150 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 324 
				Karma: 3200000 
				Join Date: Oct 2015 
				Location: Madison, WI 
				
				
				Device: Kindle 5th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks a ton—I don’t get a lot of desk time on weekends but am excited to poke around over the next week or so based on this to try and get er working. I’ll be back!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Comic optimizer script | rhon | Kobo Reader | 0 | 11-08-2012 07:04 PM | 
| Mokle - Mangas Optimizer for Kindle | devorez | Kindle Developer's Corner | 11 | 08-14-2012 08:15 PM | 
| Patent/Heavy graphics pdfs and Adobe PDF Optimizer | andrewscheinman | iRex | 4 | 12-26-2009 12:39 PM | 
| epub, ePub, EPUB, warum blos ePub? | flowoeB | Lounge | 5 | 11-27-2009 10:37 AM | 
| PRS-500 PDF file optimizer | phigdon | Sony Reader Dev Corner | 1 | 04-02-2007 12:40 AM |