Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-27-2014, 03:49 AM   #1
calibre4evar
Junior Member
calibre4evar began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2014
Device: android nexus 7
keyboard shortcut for TOC in viewer?

Hello, and excuse me for needing help with such a silly question. I have a Calibre installed on my linux. I wanna press F9 to toggle the TOC (table of contents) like in my evince, instead of having to click the button on the left of the interface.

Can I configure my Calibre to accept this shortcut? Or is there at least a different shortcut? When exploring a book it is very useful to toggle the TOC, especially as I have a rotated monitor and there isn't enough width for both the TOC and the text.

Thank you very much!!! Long live the Calibre and her creator!!!
calibre4evar is offline   Reply With Quote
Old 12-27-2014, 04:00 AM   #2
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Click the preferences button in the viewer
kovidgoyal is online now   Reply With Quote
Advert
Old 12-27-2014, 04:12 AM   #3
calibre4evar
Junior Member
calibre4evar began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2014
Device: android nexus 7
Quote:
Originally Posted by kovidgoyal View Post
Click the preferences button in the viewer
Thank you for such prompt reply Kovid! But I don't see an existing "TOC" action in the keyboard shortcuts tab... and it doesn't seem I can add new shortcuts to that list, only modify existing ones... Or I'm missing something?
calibre4evar is offline   Reply With Quote
Old 12-27-2014, 04:23 AM   #4
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Show/Hide the Table of Contents

And note that you need to be clicking the preferences button in the viewer not in the main calibre window.
kovidgoyal is online now   Reply With Quote
Old 12-27-2014, 04:51 AM   #5
calibre4evar
Junior Member
calibre4evar began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2014
Device: android nexus 7
Aha, again the distros-behind-upstream problem, created by the "calibre requires bleeding edge libs" problem... pyqt >= 5.3.1, seriously, the calibre can't work without that?!?

Maybe I'll try to backport just the Show/Hide feature.
calibre4evar is offline   Reply With Quote
Advert
Old 12-27-2014, 05:26 AM   #6
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just use the official calibre binary from http://calibre-ebook.com/download_linux, then you dont have to worry about your distro's inability to keep up.
kovidgoyal is online now   Reply With Quote
Old 12-27-2014, 10:03 AM   #7
calibre4evar
Junior Member
calibre4evar began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2014
Device: android nexus 7
Quote:
Originally Posted by kovidgoyal View Post
Just use the official calibre binary from http://calibre-ebook.com/download_linux, then you dont have to worry about your distro's inability to keep up.
The requirements on the download page are only for source building? Won't there be weird crashes if I install the binaries (via linux-installer.py) on a system that has older libs (e.g. pyqt = 5.2.1)?

In any case I added the required lines to ./src/calibre/gui2/viewer/keys.py for the time being -- easiest backport ever!!! Except nothing happens when I press ctrl-T. It even allows me to redefine the shortcut, e.g. to F9, and still nothing happens.
calibre4evar is offline   Reply With Quote
Old 12-27-2014, 11:35 AM   #8
calibre4evar
Junior Member
calibre4evar began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2014
Device: android nexus 7
Whew, finally got it!!! I had to add a line to main.py as well.

I am calibre hacker now!!!
calibre4evar is offline   Reply With Quote
Old 01-05-2015, 12:28 AM   #9
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: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Alternatively, you can simply install the binary release Kovid suggested. It contains all dependencies bundled locally so you don't have to worry about what libs are installed.

Or get yourself a decent rolling release distro like ArchLinux*.


* -- reminds me I need to go bug them about not stripping modified libs in favor of system copies...
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard Shortcut: Rename CRB_Clive General Discussions 1 04-01-2014 01:32 PM
Ebook-viewer loses settings unless via shortcut Vortex Calibre 14 03-24-2014 06:37 AM
TOC Shortcut? runtmms Amazon Kindle 12 11-14-2010 05:36 PM
Keyboard Shortcut Issue in viewer bigpallooka Calibre 2 10-21-2010 01:32 AM
Add keyboard shortcut? Chris Edwards Amazon Kindle 0 09-25-2010 01:58 PM


All times are GMT -4. The time now is 04:17 AM.


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