Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 09-05-2013, 10:23 PM   #1
asllearner
Member
asllearner began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2011
Device: none
mac osx open assign ebook viewer to epub files mac osx

On mac osx I have created an automator app that opens a shell script:

Code:
 ebook-viewer "$1"
I put the app in my applications folder. Then I assigned epub files to open with this app.

This was working fine, especially that somehow if I opened multiple files, I would get multiple instances of the epub viewer. This was desirable, but this seems to have stopped working. If I try to open a second file, nothing happens until I (later) close the old one, at which point the second file opens automatically....

Can I get the old behaviour back?

thx
asllearner is offline   Reply With Quote
Old 09-06-2013, 12:46 AM   #2
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: 42,108
Karma: 19574558
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There have been no changes to ebook-viewer in this regard. view multiple books from within calibre or by running ebook-viewr in a terminal and you will see that it works.
kovidgoyal is online now   Reply With Quote
Advert
Old 09-07-2013, 12:56 AM   #3
asllearner
Member
asllearner began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2011
Device: none
Smile Yes, but now what?

I see. quite so. From within calibre I can open several volumes. If I open several terminals, I can open several versions. So perhaps my so-called "previous behavior" was this.

So I am wondering if I can get automator to behave the same way.

In more detail, I have discovered:

Within one terminal session, if I type
Code:
$ ebook-viewer "/Users/.../book1.epub"
for example, it jumps to the next line, outputs:
Code:
InputFormatPlugin: EPUB Input running
on /Users/.../book1.epub
Found HTML cover titlepage.xhtml
but hangs there. It does not give another bash. I can continue to type things at this point nothing will happen. If I ctrl-c, ebook-viewer stops.
Code:
[1]+  Stopped                 ebook-viewer "book1.epub"
and I am back in my shell. However the program itself is still in my dock, though it is hung. I can see why it might behave this way, probably just how it is supposed to, but I want to know how to induce a different behavior.

If I try to use the automator app setting it up that way I did (a suggestion I got from somewhere on this forum, though I don't have the original link handy) and open from finder I get behavior similar to if I was in a single terminal session. What I want to do is get automator to make individual sessions...

I know it's out of calibre's purview, but if anyone has any suggestions...
asllearner is offline   Reply With Quote
Old 09-07-2013, 01:19 AM   #4
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: 42,108
Karma: 19574558
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
$ ebook-viewer "/Users/.../book1.epub" &
kovidgoyal is online now   Reply With Quote
Old 09-13-2013, 05:17 AM   #5
asllearner
Member
asllearner began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2011
Device: none
yes, we have no bananas!

Thanks!!!
asllearner is offline   Reply With Quote
Advert
Reply

Tags
ebook-viewer, epub files, mac os x

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac/OSX Quicklook Plug-In for ePub kbullkar ePub 22 03-09-2015 01:30 PM
Sigil on Mac OSX 10.5.8 europas_ice Sigil 6 05-08-2013 09:21 PM
ePub & PDF decryption on Mac OSX edembowski ePub 195 02-25-2011 05:13 AM
Sony eBook Library software and Mac OSX 10.4?? nathanb Reading and Management 24 11-18-2009 10:26 AM
Mac OSX vs Windows XP Alexander Turcic Lounge 5 06-05-2003 02:30 PM


All times are GMT -4. The time now is 02:12 AM.


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