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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-14-2011, 12:26 PM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,988
Karma: 1285294
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
customise the view option in main toolbar

apologies if asked already but search of forum was not useful.

rather than the drop down menu on the view button in main toolbar, I'd like dedicated buttons for view epub, view mobi. oth with kb shortcuts. is that on anyone's to-do list ?
cybmole is offline   Reply With Quote
Old 01-14-2011, 05:59 PM   #2
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Quote:
Originally Posted by cybmole View Post
apologies if asked already but search of forum was not useful.

rather than the drop down menu on the view button in main toolbar, I'd like dedicated buttons for view epub, view mobi. oth with kb shortcuts. is that on anyone's to-do list ?
Firstly, do you know about using Alt-V and then clicking on the format in the list in the popup window?

If that is not sufficient - e.g. you want a keyboard shortcut dedicated to opening each format without clicking the mouse then you could do this by writing a gui plugin. Unfortunately if you want each format to be it's own button on the toolbar then you would have to write each one as it's own plugin which would lead to madness . You could do one as a single dropdown button (like the Add button) pretty easily and configure the keyboard shortcuts for that menu.
kiwidude is offline   Reply With Quote
Old 01-14-2011, 06:08 PM   #3
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Just one further thing on the Alt-V trick - there is a bug (in my version of Calibre at least, which is 0.7.37). If you do it on a book with no formats you get a nasty error dialog. If you hit V instead you get a message telling you the book has no formats which you would expect.

Tracker is down so I can't create an issue for it - when it is up again I will do so but this is the sort of thing that if Kovid spots this post first will magically fix itself.
kiwidude is offline   Reply With Quote
Old 01-15-2011, 03:35 AM   #4
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,988
Karma: 1285294
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
actually, just dedicated keyboard shortcuts would be fine for me - is that easier to do ?

i see that I can do it all without mouse already - alt V, arrow keys, enter - but somthing like alt-v-m to view mobi would be slicker
cybmole is offline   Reply With Quote
Old 01-15-2011, 04:22 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by cybmole View Post
actually, just dedicated keyboard shortcuts would be fine for me - is that easier to do ?

i see that I can do it all without mouse already - alt V, arrow keys, enter - but somthing like alt-v-m to view mobi would be slicker
That is already doable via the "Open with" GUI plugin.
DoctorOhh is offline   Reply With Quote
Old 01-15-2011, 04:28 AM   #6
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,988
Karma: 1285294
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
ok - i have that plug in installed already, ( for its open with sigil option ) but I will need help with the configuration & syntax

i'd like 3 key combos for view epub & view mobi ( as most of the 2 key combos are already taken )
cybmole is offline   Reply With Quote
Old 01-15-2011, 04:45 AM   #7
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by cybmole View Post
ok - i have that plug in installed already, ( for its open with sigil option ) but I will need help with the configuration & syntax

i'd like 3 key combos for view epub & view mobi ( as most of the 2 key combos are already taken )
The tweak gives this as a simple example.

Code:
_('Ctrl+Shift+1')
In the tweak replace the last none with the above. Change as needed.
DoctorOhh is offline   Reply With Quote
Old 01-15-2011, 04:50 AM   #8
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Quote:
Originally Posted by dwanthny View Post
That is already doable via the "Open with" GUI plugin.
Of course it is, how quickly I forget

Just setup a configuration line in tweaks for each format you want to open with a shortcut and get it to execute the ebook-viewer.exe located within your program files\calibre2 folder (assuming you are on Windows).

For instance add a line like this in there to open EPUB with an Alt+Shift+E shortcut:
('EPUB (Calibre)', 'EPUB', 'C:\\Program Files\\Calibre2\\ebook-viewer.exe', None, 'library.png', 'Alt+Shift+E')

Alternatively you could wait a week and there will be a new version of that "Open with" plugin with a gui configuration dialog instead, which should make it a little bit easier to configure. You will have to "redo" any custom configuration when you install it anyway, the price of progress
kiwidude is offline   Reply With Quote
Old 01-15-2011, 09:26 AM   #9
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,988
Karma: 1285294
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
thansk - so combining info fromt he last 2 posts - I should add
'EPUB (Calibre)', 'EPUB', 'C:\\Program Files\\Calibre2\\ebook-viewer.exe', None, 'library.png', 'Alt+V+E'

or does the 2nd keystroke have to be a "special "key like shift or ctrl

i see that the other tweak lines in that section of calibre preferences are enclosed in [ ] - so is that also needed ?
maybe I should wait a week & try setting up all my preferences in the new version
cybmole is offline   Reply With Quote
Old 01-15-2011, 11:38 AM   #10
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Quote:
Originally Posted by cybmole View Post
thansk - so combining info fromt he last 2 posts - I should add
'EPUB (Calibre)', 'EPUB', 'C:\\Program Files\\Calibre2\\ebook-viewer.exe', None, 'library.png', 'Alt+V+E'

or does the 2nd keystroke have to be a "special "key like shift or ctrl

i see that the other tweak lines in that section of calibre preferences are enclosed in [ ] - so is that also needed ?
maybe I should wait a week & try setting up all my preferences in the new version
If you aren't confident to make the change, you may as well wait. You would need at least () brackets around the line above, as this means it represents one "set" of values, contained in the list represented by []. i.e. at a minimum your tweak value would look like this for a single menu item:
[('EPUB (Calibre)', .... )]
For multiple menu items, just add a comma between each () set i.e.
[('EPUB (Sigil)', ....),
('EPUB (Calibre)', ...)]

In terms of the keyboard shortcut - I believe you will get in trouble trying to do a key sequence involving Alt+V because it is already used by Calibre as I mentioned above. Multi-key sequences cannot have a single key sequence in conflict as you would have there. Assuming you did find a key combination that is not in use to use as a "multi-key" sequence, I believe the syntax is to comma separate the keys - e.g. 'Alt+1,E' for pressing Alt+1 then E.
kiwidude 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
Suggestion: A "view newly added books" option Daemon Calibre 5 08-23-2010 05:56 AM
For those who might like to customise firmware - check this out jusmee Astak EZReader 0 02-05-2010 07:50 PM
LrfAppender: IE toolbar similar to "Toolbar for Librie" mumurik LRF 1 10-13-2009 05:01 AM
LrfAppender: IE toolbar similar to "Toolbar for Librie" mumurik Sony Reader Dev Corner 1 10-06-2009 04:33 AM
Customise Buttons PieOPah Sony Reader 6 11-21-2008 07:45 PM


All times are GMT -4. The time now is 05:31 AM.


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