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

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2012, 12:00 PM   #1
MarkColeman
Junior Member
MarkColeman began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2012
Location: Cardiff, Wales, UK
Device: Kobo Touch
Help with Calibre Portable and Linux

Hi

Apologies if this has been asked before, I have looked in the forums but cannot see anything.

I would like to set Calibre up to store books on a network drive.

From what I've been able to figure out myself, it seems as if I need to setup Calibre portable but I'm struggling to do so.

I am running v0.8.40 on Ubuntu 11.04 and tried to configure the calibre-portable.bat file with the location of my books but nothing happens when I run it.

If anyone could provide some advice, I would be very grateful.

Thanks
MarkColeman is offline   Reply With Quote
Old 02-19-2012, 05:26 PM   #2
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: 2,312
Karma: 5761596
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PRS-350, Nexus S, Galaxy S, Nook Color, iPhone4, iPT4, iPad 2012
Calibre Portable is Windows only. Don't know what you need to do to create a Linux equivalent. Sounds to me you only want the library on the network drive while running the actual program locally. If so, all you need to do is copy the calibre library to the network drive and add it to Calibre via the Switch/Create Library option.
ilovejedd is offline   Reply With Quote
 
Advertisement
Old 02-20-2012, 06:45 AM   #3
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Be aware that calibre is not yet network friendly, in that you can manage to mess up your files by having them open on more than one machine. You can also get into trouble if you try to work on files in both Linux and Windows, as file name issues can occur, since Linux and Windows do not treat file names the same.
mrmikel is offline   Reply With Quote
Old 02-22-2012, 04:52 PM   #4
MarkColeman
Junior Member
MarkColeman began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2012
Location: Cardiff, Wales, UK
Device: Kobo Touch
ilovejedd : thats exactly what I want to do but the metadata.db file corrupts when its on a network drive.

Mrmikel: I only use Linux and won't be using windows at all, or access from more than one machine.

Looking at the Calibre site, the way to separate the metadata.db from the actual epub files is to configure the calibre-portable.bat file and set the CALIBRE_OVERRIDE_DATABASE_PATH to point to a DB on the local drive. That doesn't seem to work for me though.

Thanks for the response though, I'll keep trying to figure it out.
MarkColeman is offline   Reply With Quote
Old 02-22-2012, 04:59 PM   #5
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: 2,312
Karma: 5761596
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PRS-350, Nexus S, Galaxy S, Nook Color, iPhone4, iPT4, iPad 2012
I have no idea how to set-up environment variables in Linux. If you can set the CALIBRE_OVERRIDE_DATABASE_PATH via shell or something, it might work.
ilovejedd is offline   Reply With Quote
Old 02-26-2012, 04:02 PM   #6
MarkColeman
Junior Member
MarkColeman began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2012
Location: Cardiff, Wales, UK
Device: Kobo Touch
ilovejedd: thanks, I've just realised I've been an idiot. The calibre-portable.bat needs to be rewritten as a script for linux. Think I may be out of my depth, but I'll give it a go.....
MarkColeman is offline   Reply With Quote
Old 02-26-2012, 05:10 PM   #7
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,106
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by MarkColeman View Post
ilovejedd: thanks, I've just realised I've been an idiot. The calibre-portable.bat needs to be rewritten as a script for linux. Think I may be out of my depth, but I'll give it a go.....
If you have not already started then do not bother. I have already done that and am in the process of testing the results. I will upload the results when testing completes.
itimpi is offline   Reply With Quote
Old 02-27-2012, 11:02 AM   #8
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,106
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
As promised, here is a version of the Calibre-Portable.sh file for Linux. Hopefully the embedded comments are sufficient to allow any tweaking if you want something other than the default settings.

I have also included a slightly improved version of the Calibre-Portable.bat file for use with Windows.

KOVID: You might want to update the version in the calibre/resources folder with these versions.
Attached Files
File Type: zip Calibre Portable.zip (5.3 KB, 208 views)
itimpi is offline   Reply With Quote
Old 02-27-2012, 02:10 PM   #9
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: 26,437
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Done.
kovidgoyal is offline   Reply With Quote
Old 03-05-2012, 06:07 PM   #10
MarkColeman
Junior Member
MarkColeman began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2012
Location: Cardiff, Wales, UK
Device: Kobo Touch
Hi itimpi, sorry I haven't been online for a bit or I woudl have said thanks for taking the time to do this, it's much appreciated much sooner.
MarkColeman is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Portable cstandifird Devices 3 01-24-2012 03:29 PM
Portable Calibre? hermes Related Tools 2 06-02-2011 03:50 PM
Calibre Portable beckywc Calibre 4 12-21-2010 12:13 PM
Portable Linux version of Sigil readx Sigil 9 09-03-2010 03:59 AM
Portable Linux-Mobile-Guide for iSilo and Plucker Colin Dunstan Lounge 0 08-31-2005 06:48 AM


All times are GMT -4. The time now is 09:07 AM.


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