![]() |
#16 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need an X server, use xvfb
|
![]() |
![]() |
![]() |
#17 |
Enthusiast
![]() ![]() ![]() Posts: 45
Karma: 220
Join Date: Jul 2010
Device: none
|
Thanks. So, this is what I did (if anybody else is curious) to make it run successfully:
xvfb-run ebook-convert /usr/share/calibre/recipes/san_fran_chronicle.recipe todays_sfgate.mobi Note the command xvfb-run at the beginning, which ran ebook-convert with X support (as I understand it). It successfully produced the mobi file I wanted and now I can automate this all with cron. Thanks! |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Sep 2010
Device: kindle 3
|
I am interested Can you post your script? Thanks.
Quote:
|
|
![]() |
![]() |
![]() |
#19 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kindle 3
|
Hi,
Am away at moment, but will post the script up when I get back tomorrow. You need to edit your crontab to create a cronjib to automate the process. Works brilliantly though, been away for 3 days, but newspapers still arrive on my k3 every morning! |
![]() |
![]() |
![]() |
#20 |
Enthusiast
![]() ![]() ![]() Posts: 45
Karma: 220
Join Date: Jul 2010
Device: none
|
Please do!
I'd love to see your script. I created a basic one, but for whatever reason the files it emailed to my kindle were much uglier in their formatting than the ones Calibre on my laptop was emailing me. Either this is because it's a different version of Calibre or because the options in the script weren't optimal. Seeing what you have done would help me figure out the mystery.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to use
--output-profile kindle in the ebook convert command |
![]() |
![]() |
![]() |
#22 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kindle 3
|
Quote:
wot he said!! |
|
![]() |
![]() |
![]() |
#23 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Nov 2010
Device: Kindle 3rd gen
|
|
![]() |
![]() |
![]() |
#24 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2011
Device: kindle
|
i would also love to have the script, please
|
![]() |
![]() |
![]() |
#25 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kindle 3
|
Sorry to everyone above who requested my script, I've been abroad (hence the need to email me the newspapers!).
Script is attached, replace the *@gmail.com and **** (for password) and *@kindle.com with your details. Rename it to .sh and copy it to your box etc. Then create a crontab and run it when required - it takes a good 10 mins all in on my atom based acer revo. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Daemonizing the calibre-server in Ubuntu | gkbeer | Calibre | 10 | 01-20-2013 12:24 PM |
Calibre crashes X server (Ubuntu 10.10) | mfabry | Calibre | 9 | 10-15-2010 04:12 PM |
Calibre Content Server error in Ubuntu 10.10 | Bodman456 | Calibre | 1 | 07-07-2010 03:26 PM |
Calibre RuntimeError on Ubuntu 8.04 Server | alexbt | Calibre | 3 | 10-13-2009 04:26 AM |
Problems installing Version: 0.4.109 on Ubuntu Server 8.10 | machalla | Calibre | 0 | 12-03-2008 09:23 PM |