Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-01-2019, 09:04 PM   #1
fredex
Enthusiast
fredex began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: none
Calibre on Wine: book import from Kindle does not display file dates

I have, in the past run Calibre on Windows 10, to import Kindle books, and in that environment the file listing shown in Calibre includes the date/time for the files from which to choose.

I am now running Calibre in Wine on Ubuntu Linux, and importing kindle books works fine*, HOWEVER, Calibre's import file listing does not show the file dates. this makes it hard to find the one(s) I want to import, since Amazon kindly uses gibberish for the file names.

Is this a bug, or a feature? Any known way around it?

thanks in advance!

Fred

*to import Kindle books into Calibre you need to go read Apprentice Alf's blog and follow the instructions there. https://apprenticealf.wordpress.com/
fredex is offline   Reply With Quote
Old 05-01-2019, 09:33 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Try setting the CALIBRE_NO_NATIVE_FILEDIALOGS environment variable to 1. See ==>> https://manual.calibre-ebook.com/cus...ment-variables

Curious : why are you running Calibre for Windows under Wine on Linux and not Calibre for Linux on Linux.

BR
BetterRed is offline   Reply With Quote
Old 05-01-2019, 11:11 PM   #3
fredex
Enthusiast
fredex began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: none
Quote:
Originally Posted by BetterRed View Post
Try setting the CALIBRE_NO_NATIVE_FILEDIALOGS environment variable to 1. See ==>> https://manual.calibre-ebook.com/cus...ment-variables

Curious : why are you running Calibre for Windows under Wine on Linux and not Calibre for Linux on Linux.

BR
because Kindle for PC only works on windows/Wine, there is no native linux version. (see the footnote in my original post).

thanks for the pointer to the environment variable, I'll give that a whirl.
fredex is offline   Reply With Quote
Old 05-01-2019, 11:58 PM   #4
fredex
Enthusiast
fredex began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: none
Yup, that works. Took a little messing around to get it set up correctly in Wine, but it works great.

thanks for the pointer!

Fred
fredex is offline   Reply With Quote
Old 05-02-2019, 01:23 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by fredex View Post
because Kindle for PC only works on windows/Wine, there is no native linux version. (see the footnote in my original post).

thanks for the pointer to the environment variable, I'll give that a whirl.
That's another good reason for me not to buy a kindle

Glad file dialogue tip worked, I was looking in Look and Feel then I remembered it was an env-var.

BR
BetterRed is offline   Reply With Quote
Old 05-02-2019, 02:02 AM   #6
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by BetterRed View Post
That's another good reason for me not to buy a kindle
An e-ink Kindle actually provides a way to get copies with removable DRM.

Kindle for PC/Mac is meant for reading on just PC/Mac. It doesn't transfer content to devices like iTunes for example.

Mind, the roadblocks Amazon has recently put in place has me wary of buying Kindle ebooks.

P.S. Besides, doesn't ADE and Kobo for Desktop require Wine as well?

Last edited by ilovejedd; 05-02-2019 at 02:08 AM.
ilovejedd is offline   Reply With Quote
Old 05-02-2019, 05:06 AM   #7
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
I see you've got a solution now but note that just because you run K4PC via Wine doesn't mean you have to run Calibre via Wine.

I run K4PC via Wine on Linux Mint 19 and run Calibre natively. Everything works fine.
latepaul is offline   Reply With Quote
Old 05-02-2019, 10:46 AM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by latepaul View Post
I see you've got a solution now but note that just because you run K4PC via Wine doesn't mean you have to run Calibre via Wine.

I run K4PC via Wine on Linux Mint 19 and run Calibre natively. Everything works fine.
Been a while since I tried Dual boot and Wine. (I now mostly use Mint on a USB stick to recover stuff)
But it annoyed me that I could not use things like the native (Linux) Firefox INTEGRATED with Wine. I always had to do some clunky 'work-around' if I wanted to cross the OS border.
Has this changed?
theducks is offline   Reply With Quote
Old 05-02-2019, 12:18 PM   #9
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
Quote:
Originally Posted by theducks View Post
Been a while since I tried Dual boot and Wine. (I now mostly use Mint on a USB stick to recover stuff)
But it annoyed me that I could not use things like the native (Linux) Firefox INTEGRATED with Wine. I always had to do some clunky 'work-around' if I wanted to cross the OS border.
Has this changed?
Not sure what you mean. I know there's some attempt to set things up so if your Windows-app-running-under-Wine needs to launch a URL it launches in Firefox - is that what you're talking about?

I'm pretty sure I've had that work, but I can believe there are (still) cases where it doesn't.

But since I mostly use Wine for K4PC and ADE I don't need to do that.
latepaul is offline   Reply With Quote
Old 05-02-2019, 01:05 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by latepaul View Post
Not sure what you mean. I know there's some attempt to set things up so if your Windows-app-running-under-Wine needs to launch a URL it launches in Firefox - is that what you're talking about?

I'm pretty sure I've had that work, but I can believe there are (still) cases where it doesn't.

But since I mostly use Wine for K4PC and ADE I don't need to do that.
Yep, but Win firefox had to be installed. I wanted the ability to designate Linux side apps eg Use Linux:Firefox, Use Linux:Calibre, Use Wine: Notepad++
theducks is offline   Reply With Quote
Old 05-02-2019, 01:58 PM   #11
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
Quote:
Originally Posted by theducks View Post
Yep, but Win firefox had to be installed. I wanted the ability to designate Linux side apps eg Use Linux:Firefox, Use Linux:Calibre, Use Wine: Notepad++
Still not quite sure what you mean. I suspect you have a different workflow in mind.

In general when I'm running Linux - which is most of the time - I use Linux apps. I only use Wine for those apps I need to run under Wine and those aren't trying to launch other apps. So if I want a browser I launch (Linux) Chrome in the normal way, same with Calibre, same with whatever the default text editor is (if it's actual serious editting I'll open a terminal+vim).

I'm sure your use case is valid but it sounds more sophisticated than mine.
latepaul is offline   Reply With Quote
Old 05-02-2019, 03:11 PM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by latepaul View Post
Still not quite sure what you mean. I suspect you have a different workflow in mind.

In general when I'm running Linux - which is most of the time - I use Linux apps. I only use Wine for those apps I need to run under Wine and those aren't trying to launch other apps. So if I want a browser I launch (Linux) Chrome in the normal way, same with Calibre, same with whatever the default text editor is (if it's actual serious editting I'll open a terminal+vim).

I'm sure your use case is valid but it sounds more sophisticated than mine.
Not really. Simply, if the Wine side needs/wants an app that there is a Linux version, it should pass the call, not make me install another under Wine. I have many bookmarks in FF, why should I need to migrate those to FF wine.
I've enough
theducks is offline   Reply With Quote
Old 05-02-2019, 04:21 PM   #13
fredex
Enthusiast
fredex began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: none
Quote:
Originally Posted by latepaul View Post
I see you've got a solution now but note that just because you run K4PC via Wine doesn't mean you have to run Calibre via Wine.

I run K4PC via Wine on Linux Mint 19 and run Calibre natively. Everything works fine.
True, you don't HAVE to run both proggies under Wine,... however, if you want to use Calibre to remove DRM from the kindle book it is just easier if both programs run on the same windows installation (or the same Wine installation).

since my Windows Insider installation of Win10 blew up I've given up on it entirely and just do the Wine thing now.

I actually have my "main" calibre in linux, too. after processing the ebook in the Wine version I export the book from there and import it into the Linux Calibre. (there are many ways to remove the fur from a feline, this just happens to be the one I chose.)
fredex is offline   Reply With Quote
Old 05-02-2019, 07:12 PM   #14
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
Quote:
Originally Posted by theducks View Post
Not really. Simply, if the Wine side needs/wants an app that there is a Linux version, it should pass the call, not make me install another under Wine. I have many bookmarks in FF, why should I need to migrate those to FF wine.
I've enough
Ok. It was your talk of 'designating' certain apps as either Linux or Wine that confused me. As I said I don't launch other programs from K4PC or ADE.

But to return to the point of your original question, since I'm now at my home PC and have tested it, I can confirm that if I click on a menu item in K4PC that launches a URL it uses the Linux default browser to do so. This is the one set by xdg-settings/the one that xdg-open uses. Mine is Chrome but I switched to Firefox and that worked too.

But I don't blame you for being wary of Wine. Last time I tried to install ADE I failed and what I'm using now is the whole prefix dir restored from a backup.

That wariness is also why I expressed surprise at someone running Calibre under Wine when IMO they don't need to. But to each his own.
latepaul is offline   Reply With Quote
Old 05-07-2019, 04:29 PM   #15
jmontano
Enthusiast
jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.jmontano ought to be getting tired of karma fortunes by now.
 
jmontano's Avatar
 
Posts: 34
Karma: 429416
Join Date: Jul 2003
Location: Colombia
Device: Kindle
Quote:
Originally Posted by theducks View Post
Not really. Simply, if the Wine side needs/wants an app that there is a Linux version, it should pass the call, not make me install another under Wine. I have many bookmarks in FF, why should I need to migrate those to FF wine.
I've enough
Trying to open the equivalent windows app is an annoying WINE default setting. But you can override it

Here are some tips from Arch Linux wiki
jmontano is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Import to Calibre from file path notbuu Development 2 10-13-2016 11:56 AM
calibre library error No such file or directory after import tsavino Calibre 2 06-06-2014 03:20 PM
Re-Import Kindle Book to Calibre w/o Losing Metadata? enuddleyarbl Library Management 3 09-03-2013 10:53 AM
Can I import meta data without a book file? fbrII Calibre 3 01-30-2012 01:16 PM
Calibre doesn't import all of PRC file MSJim Calibre 5 06-01-2010 02:26 PM


All times are GMT -4. The time now is 11:39 AM.


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