![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2011
Device: kindle, ipad
|
Disable open output folder when saving to disk
When saving to disk... Calibre opens the output folder in explorer after the save is complete. I (always) already have the output folder open before launching Calibre, so it just creates lots of windows I have to close...
Is there any option to disable this behavior? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,176
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Edit the source and comment out the one line that does it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2011
Device: kindle, ipad
|
Thanks kovidgoyal... can you clarify about what source (located where, what file) to edit...? I poked around and found a "save_to_disk.py" file that seemed promising, but I didn't see anything in it that actually performed a shell 'open' action or anything, just program 'flags' like those exposed in the UI...
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,176
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
actions/save_to_disk.py
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Code:
open_local_file(path) |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2011
Device: kindle, ipad
|
Thanks to both of you... and sorry to continue the questioning, but the relative path starting with "actions\" is unfamiliar to me. I'm running v0.8.14 on WinXP, and at a glance, the only "save_to_disk.py" file I have is under the "C:\Documents and Settings\user\Application Data\calibre\" folder, and doe not contain any line with the "open" string in it...
|
![]() |
![]() |
![]() |
#7 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Outside of my current skillset. Good Luck. |
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2011
Device: kindle, ipad
|
I'm handy with code (from a previous life :-))... though I can't say I've used an app before that "runs from source". Is this in fact an open source project where if I made the required changes - I could submit code changes to include an 'option' to disable the opening of the output folder...?
Edit: so as not to have 'local' source changes on my box only - that I then need to sort through every time I upgrade the source to latest version - such as you described (not a BIG deal with so minor a change - but I need LESS things in general to remember to maintain on my pc - not more :-))... |
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Yes, you can submit code to do this, but it will have to pass muster with Kovid before it's accepted, and option creep (too many choices) is a concern. It might be more acceptable as a "tweak" option rather than a checkbox option on a main Preferences screen. |
|
![]() |
![]() |
![]() |
#11 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,720
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
I would +1 this being added as an option somehow (be it tweak or preference, whatever Kovid will accept).
|
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
|
If such a tweak existed, I'd want to use it
![]() |
![]() |
![]() |
![]() |
#13 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2011
Device: kindle, ipad
|
I'll probably be sitting in my house watching Irene blow down some trees this weekend :-)... so maybe I'll have time to investigate a code change for a Tweak that would suppress the shell open... I think a Tweak is more than good enough for such a request, no need to make it a check-box item.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Saving to Disk | paulfiera | Calibre | 3 | 07-20-2011 10:21 AM |
Losing files when saving saving to disk | theaccountant | Library Management | 4 | 03-10-2011 02:38 PM |
Format for saving to disk? | Rusherman | Calibre | 1 | 12-31-2010 02:20 PM |
Saving to disk | htaylor | Calibre | 2 | 01-04-2009 08:29 PM |
Saving to Disk issues | scruffy | Calibre | 5 | 09-03-2008 12:10 AM |