View Single Post
Old 05-16-2015, 02:48 AM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by eschwartz View Post
Works fine for me, on linux.
Linux here too. Kubuntu 14.04. Firefox 38.0

Quote:
Originally Posted by Glorfindel View Post
Sounds like a problem with ff. Are you selecting 'download' and then opening it from Firefox, or selecting 'open' and letting firefox do its thing?
I select "open", with a hand-picked program (it defaults to calibre, I have to search for /usr/bin/ebook-viewer, it usually sticks, but sometimes it defaults back to calibre, which is another annoyance).

Quote:
Originally Posted by kovidgoyal View Post
So use

ebook-viewer --detach file.epub
If I only knew how... With this damned firefox I don't see a way to specify the command line, I can't even find what the default for epub is, unless I know it's called "documento de libro electrónico".

Quote:
so your real question is why does firefox not have working stdout itself.
Ah... I may have an idea for that... but I have to restart firefox (which I had already done before), so I'll post this and come back.

I'm back, and it's fixed. So, it turns out I had started firefox from a terminal (to debug some other problem), but had closed the terminal. Since then, I had restarted firefox several times, but always from firefox itself (disabling/enabling some plugin and clicking on restart now), so it seems firefox remained in a no-valid-stdout state. Now I have closed it and opened it again from the desktop icon, and opening books works fine.

Now the question(s): Why did it work with an AZW3 file? And could the ebook-viewer application switch to "detached" mode automatically if no stdout is found, so that this doesn't happen again?

Last edited by Jellby; 05-16-2015 at 03:00 AM.
Jellby is offline   Reply With Quote