Topic: Ebook Reading

Kindle it is not but I discovered a simple trick that makes reading ebooks in the mostly evil PDF format just a little easier. If you were on IRC #crunchbang today you might have heard me rant about it.

<kestrel> Just made a mod to my menu that is cool. Added "Current Ebook" to the main menu and the command is "evince ~/ebook/Mastering\ the\ Universe.pdf"
<kestrel> Two cool things about that. One - evince remembers what page I'm on and ...
<kestrel> Two,  W-Space brings up the menu and "c" key launches "Current Ebook" because it has no sub menu and is the first menu item starting with a "c".
<kestrel> Fast and sweet. Easy ebook reader.

I have to change link when done with this book but that is not a problem. I usually read one at a time. If I was reading two or more books at a time I could add them separately. Great for links to reference books. Now only if evince would allow multiple bookmarking and notes.

Customary screenshot.
http://xs435.xs.to/xs435/09023/2009-01-07--1231375370_1280x1024_scrot827.png.xs.jpg

My web activities: Twitter | Identi.ca | Facebook | Blog

Re: Ebook Reading

Great tip! I did not realise that Evince could do that. Live and learn. smile

Perhaps this could be scripted so that you could just drop your current PDF file into a directory? Then you would not have to manually edit your Openbox menu item each time you changed books. I wrote a quick shell script which could do the job: http://crunchbanglinux.org/pastebin/63 - it is not the best script in the world, but it does the job. Please feel free to improve, if you like. smile

Re: Ebook Reading

corenominal: thanks for the great little script.

Implemented.

One issue I'll explore is that some of my PDF's have spaces in there names. Not a problem, I can rename them but it would be nice if the script could handle spaces in file names if present. Also I got to thinking that a piped menu could easily be created to show all the pdf's in a directory each as a menu option.

Thanks for a start with this little script. Fun fun fun.

My web activities: Twitter | Identi.ca | Facebook | Blog

Re: Ebook Reading

kestrel wrote:

One issue I'll explore is that some of my PDF's have spaces in there names. Not a problem, I can rename them but it would be nice if the script could handle spaces in file names if present.

Oops, good catch! smile I forgot to quote the $file variable. The following revision should now handle file names with spaces:
http://crunchbanglinux.org/pastebin/64

Re: Ebook Reading

Yes! Updated an implemented. Thanks, works great.

My web activities: Twitter | Identi.ca | Facebook | Blog

Re: Ebook Reading

I have done a bit more work on the script and it now includes the option to run as a pipemenu. By using the "--pipemenu" argument it should build a menu for each PDF file located within the directory set at the top of the script. The pipemenu can be added to Openbox's main menu with an entry such as:

<menu execute="current-pdf.sh --pipemenu" id="ebooksmenu" label="Ebooks"/>

The new version can be found at: http://crunchbanglinux.org/pastebin/66

Again, it is not the best script ever written, so please feel free to improve as you see fit. smile

Re: Ebook Reading

Nice work. The pipemenu is a great addition smile

Re: Ebook Reading

Really, thank you Philip.

I never expected you to do all this work. Of course, you got all the fun and glory also.

I'm getting a little collection of pipemenus. Seems fodder for a blog post.

My web activities: Twitter | Identi.ca | Facebook | Blog

Re: Ebook Reading

Screen shot of latest menu by corenominal.
http://xs135.xs.to/xs135/09026/2009-01-10--1231623425_1024x600_scrot523.png.xs.jpg

My web activities: Twitter | Identi.ca | Facebook | Blog

Re: Ebook Reading

Sorry about posting to an oldish thread but has anyone managed to get Calibre (http://calibre.kovidgoyal.net/) running under !#

I get some install errors, on my eee 901. I think its being packaged for jaunty so I'll probably just wait.  In windows it looks like a great ereader and compiler and its getting good reviews. It compiled some html files into an epub book in a fraction of the time the plucker distiller took. and the file size looks to be smaller too. Very neat.

cimh