![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 126
Karma: 50000
Join Date: Mar 2015
Device: none
|
Where is the ebook-viewer app located?
On my mac the Calibre Ebook Viewer shows up as an independent app when a book is opened, "ebook-viewer". However, I can't seem to find the corresponding ebook-viewer.app file that usually accompanies any Mac app. Where is this file?
I'm wondering because I'd like to make it my default epub/ebook viewer across my whole Mac so any ebook file I double click opens up right in the viewer. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
same place calibre.exe is
![]() calibre2 folder |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Mac is special. You will have to go spelunking in the calibre.app bundle.
Time was, you could install the cli tools to /usr/bin then make launcher scripts, I believe someone may have posted an AppleScript... But that requires escalating to root, and the API used to request root permission to make the symlinks was deprecated or something IIRC. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's inside the calibre.app bundle.
|
![]() |
![]() |
![]() |
#5 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,815
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
[Old shell script instructions deleted. Use Mac alias instead. See post #9 below.]
Last edited by odamizu; 04-06-2015 at 03:17 AM. Reason: updated info |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Someone a while back made an applescript to launch ebook-edit and accept drag-and-drop as well, but I forget when/where.
Something similar might work here. Of course, this would be far easier if OSX worked more like linux, where OS Open With is defined via .desktop files specifying a command to run. Or Windows which uses actual executables for linking and associating stuff. Or maybe just anything other than OSX, with its odd habit of using those weird app bundles with their inscrutable contents. I assume because it is "easier" for the technologically unsophisticated. ![]() Apple does not make things easy... |
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 126
Karma: 50000
Join Date: Mar 2015
Device: none
|
I ended up just making a copy of it and putting it in /Applications to use to open one off files. It won't auto update but I figure I can just recopy it once in a while if there is a significant update.
The other option would be to make either a Symbolic or Hard Link (I'm not sure which is the better choice) and place that outside of the package and I think that should function as if it were the actual file in two places. |
![]() |
![]() |
![]() |
#8 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Copy of what?
Also, symbolic links should work admirably. |
![]() |
![]() |
![]() |
#9 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,815
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
Interesting. Forget my shell script, a Mac alias (similar to symbolic link) does indeed work. (I did the shell script several years ago, which would have meant Calibre 0.x and Mac OS 10.5 or 10.6. At the time an alias did not work for me, and I don't use ebook-viewer much anyway so the shell script got very little use.)
However, drag-and-drop does not seem to work with the ebook-viewer alias, and it still won't take an "Open with" file association to automatically launch when double-clicking an ebook. Last edited by odamizu; 04-06-2015 at 07:07 PM. |
![]() |
![]() |
![]() |
#10 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
An alias should also continue to work if the target is moved (within the same file system) and maybe if the target is renamed (not sure ??)
But they can't be drop targets like Windows shortcuts can. And IIRC they're not easily created - ie no right button drag of a file and create alias here at drop point. BR |
![]() |
![]() |
![]() |
#11 | |||
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,815
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Quote:
Though I did discover that if you put ebook-viewer in the Sidebar (command-drag), you can drop an ebook onto it and ebook-viewer will launch. But it will not open the book. Quote:
|
|||
![]() |
![]() |
![]() |
#12 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
https://www.mobileread.com/forums/showthread.php?t=234094
Pretend this thread is talking about ebook-viewer instead of ebook-edit, it should be the same otherwise. ![]() |
![]() |
![]() |
![]() |
#13 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@odamizu - thanks for the update. Its a few years -- like maybe 10
![]() But we couldn't drop files on the alias - which was the objective, maybe the program was in a bundle or something, can't recall. I gave up on it, the owner was getting anxious, even after several years with his Mac he barely knew how to drive Finder ![]() I think we're in furious agreement that aliases on Mac, like shortcuts on Windows, are to be preferred over symlinks for accessing programs, and for the same reasons - they usually continue to work if the target is moved or renamed. BR Last edited by BetterRed; 04-06-2015 at 06:20 PM. |
![]() |
![]() |
![]() |
#14 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,815
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
@BetterRed - Yes, Mac aliases have improved a lot
![]() @eschwartz - Thanks! Interesting link. I don't use ebook-viewer much, just trying to help the OP. But I like learning new stuff, and the link you suggested is full of good stuff ![]() |
![]() |
![]() |
![]() |
#15 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Yes, and hopefully the OP will also appreciate my update to post #6.
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free Comic Viewer App recommendations? | alansplace | Kindle Fire | 13 | 12-18-2012 03:37 PM |
Get the file path of the ebook in the frontmost Ebook Viewer window | johnsidi | Development | 1 | 07-16-2012 10:37 AM |
Associating ebook files with Calibre ebook viewer | zobop | Library Management | 1 | 06-24-2012 11:07 AM |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
# user css for viewer.py/ ebook-viewer/ prs-650 | tscamera | Calibre | 0 | 01-02-2011 06:28 PM |