Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-03-2015, 07:35 AM   #1
Suffolk Punch
Connoisseur
Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.
 
Posts: 70
Karma: 187210
Join Date: Sep 2010
Location: UK
Device: Sony PRS T1, Kindle 4 NT, Kobo Touch, Kobo Clara HD
Can calibre run a bash script when it's started?

Hi,

I'd like to be able to get Calibre to mount the volume where I store my calibre library, if it isn't mounted when I start Calibre. Can Calibre be persuaded to run a bash shell script of my choosing when it starts?

Martin
Suffolk Punch is offline   Reply With Quote
Old 04-03-2015, 08:19 AM   #2
aleyx
Addict
aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.
 
Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
Better be the other way around: write a script that mounts your volume, then opens Calibre.

N.
aleyx is offline   Reply With Quote
Advert
Old 04-03-2015, 09:04 AM   #3
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: 30,409
Karma: 58055234
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 aleyx View Post
Better be the other way around: write a script that mounts your volume, then opens Calibre.

N.
and you could even unmount it after Calibre ends
theducks is offline   Reply With Quote
Old 04-03-2015, 11:53 AM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Override calibre by creating a script in ~/bin/ which does what you need then runs /usr/bin/calibre

It will then integrate into your desktop and everything.

I use a similar script to always run calibre in debug mode and pipe the output to a logfile.
eschwartz is offline   Reply With Quote
Old 04-03-2015, 02:55 PM   #5
Suffolk Punch
Connoisseur
Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.
 
Posts: 70
Karma: 187210
Join Date: Sep 2010
Location: UK
Device: Sony PRS T1, Kindle 4 NT, Kobo Touch, Kobo Clara HD
Thanks chaps...I can feel a script coming on
Suffolk Punch is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash Script/SQL Query for ISBN in filename? zenrhino Calibre 1 09-26-2010 08:55 AM
Universal Flasher run script Jamp Sony Reader Dev Corner 1 08-26-2009 09:34 AM
Is it possible to execute a bash script from the SD card? godel10 iRex 25 06-25-2009 03:55 PM
iLiad Can't run my first script ragdoll iRex Developer's Corner 4 01-28-2008 06:40 AM
BASH script for *2lrf utilities (thanks Kovid!)... KaiGoth Sony Reader 0 08-05-2007 01:30 AM


All times are GMT -4. The time now is 08:07 PM.


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