Augustina's Technological Blog

Technology, Perl, Linux, and a Woman's perspective on the FOSS community

Archive for the ‘Linux Community’ Category

Managing Ebooks on the Kindle

with one comment

DefectiveByDesign and other Free Speech advocacy groups have been targeting the Kindle for its DRM limited content. This was something I grappled with when I bought my Kindle last year. Of course Amazon wants Kindle users to buy books from their store, but limiting ebook content really limits the usefulness of the Kindle! What if an ebook I want isn’t available through Amazon, but is available in another format through another seller? What about checking out ebooks from the library?

I initially was interested in ebook readers because I use the bus as my main mode of transportation. Also I love to read but I tend to forget to return books to the library and my collection of used books keeps growing. Living in the city, I don’t have a lot of space. If I could have all of my (non-picture) books as ebooks I would be very satisfied.

The great thing about the Kindle is that I’ve been reading A LOT more and it’s a fun device to use.

The not-so-great thing is that Amazon limits the way you can access ebooks DRM’ed by other providers. Fortunately there are ways around these limitations!

Download Free Ebooks in Mobi Format

There are non-DRM books available that the Kindle can read and it’s really easy to do. I use my SD card because I think cables are annoying. Insert the SD card into your computer and create a new folder called “documents”.

There are several free ebook sites on the web, in particular Project Gutenburg and Mobipocket Free Books. Pick a title and download it in “mobi” format. Save it to the “documents” folder you created on your SD card.

Insert the SD card into the Kindle. When you start your Kindle up, you will see the titles you downloaded as “new” items.

Convert Digital Files to Mobi Format

Kindle offers a service that will convert other ebook formats (HTML, PDF, etc) to Mobi format. This service is $.10 USD per book. Alternatively you can convert it yourself. Either use MobiPocket Reader to import the file (it is saved under “My eBooks” in your Documents folder) or download MobiPocket Creator. Note that there may be additional challenges with DRM’ed ebooks. Once converted, copy the files into the “documents” folder either on your Kindle or on your SD card.

Register Your Kindle as a MobiPocket Reader Device

The final workaround involves registering your Kindle as a MobiPocket Reader device. Not only can you read Kindle ebooks on your computer, but you can transfer them to other devices, and even transfer ebooks DRM’ed by other providers to your Kindle. For more detailed instructions on converting the Kindle files to MobiPocket format, see this article.

What you’ll need: A Kindle, an SD Card (or USB Cable to transfer files between your Kindle and your computer), ActivePython 2.x, MobiPocket Reader, Python Scripts (see below for where to get them)

Step 1) Get the Serial Number of your Kindle.

This is under the back cover on the label above the battery. The “Serial No.” is listed under the first barcode.

Step 2) Copy the ebook file from the Kindle to your computer.

Insert the SD card into your Kindle. Open the Content Manager and select a book on your list. Choose the option to save it to the SD card. Alternatively you can download files from your Kindle profile in Amazon to your computer.

Turn off the Kindle and insert the SD card into your computer. Your book is in a folder called “downloads”. I have a folder I created in “Documents” called “Ebooks”.

Step 3) Install Python and download the scripts.

Install Python 2.6 if you haven’t already. Note that the scripts are not compatible with Python 3.x. On Windows, I recommend ActivePython. Next download a small suite of Python scripts from the linked article above, under “Step 4”. Please let me know if the archive is unavailable so I can update this article.

When you extract the archive, you can place the scripts in the Tools\scripts directory of your Python folder and update the system path variable. I placed mine in the same folder I save my ebook files to for convenience. You need to run the scripts from the same location as the files you copied from your Kindle.

Step 4) Create the Mobi file

Open up a command line interface. On Windows type “cmd” either in “Run” (XP) or in the search dialogue of the Windows menu (Vista).

Navigate to the folder containing the files you copied from your Kindle:

cd Documents\Ebooks

Type the following command, replacing yourserialnumber with your serial number:

python kindlepid.py yourserialnumber

The script returns a 10-digit PID as the last item on the printed line. The third to last digit of the PID is an asterisk(*). Make a note of the PID.

Step 5) Open the book in Mobipocket Reader.

Install Mobipocket Reader if you haven’t already done so.

To register your Kindle as a device in Mobipocket Reader, select Reading Devices from the navigation on the left. Click the button located at the upper center part of the window to add your Kindle. I named my Kindle “Kindle” and chose “Other” for device type. Enter your PID in the field that asks for a MobiPocket ID. To open Kindle files in Mobi, change the extension of the “.azw” file to “.mobi”. Select Open or Import to view the file in Mobipocket Reader.

Double click the .mobi file you created to open it in Mobipocket Reader. Use Mobipocket Reader to register other supported devices so you can transfer your ebooks to them!

Written by missaugustina

August 26, 2009 at 6:37 am

Defcon 17 Schedule Posted (+overview of Defcon 16)

leave a comment »

I’m not really a “hacker” in the network security sense, nor am I really into network security.  I went to Defcon last year because a coworker who was planning to attend convinced me I would have fun.  I have other friends who attended in the past and enjoyed it.  I mentioned it to a few friends, they were interested, so we went!

I discovered that Defcon is not just for Internet Security Geeks!  There are different types of “hackers” not all of them computer related.  Defcon hosts a Lockpicking lounge and a Hardware Hacking lounge in addition to a variety of talks covering a variety of subjects, not all internet security related.
Read the rest of this entry »

Written by missaugustina

June 29, 2009 at 9:59 pm

Ada Lovelace Day Post

with one comment

Ada Lovelace is known as one of the first computer scientists. She developed a language and initial functions for the “analytical engine” Charles Babbage envisioned in the 1800’s. Ada Lovelace Day is an international day of blogging to draw attention to women excelling in technology. Several ladies have posted about famous female Computer Scientists that inspired them either to turn to Computer Science or as they were studying it. I guess I could list the usual Grace Hopper, Mary Lou Jepsen, Anita Borg……. but the truth is I didn’t really know much about any of these people until after I’d already graduated and was already on the path so to speak. So instead I’ll talk about how I strive to be a role model for other women 🙂
Read the rest of this entry »

Written by missaugustina

March 14, 2009 at 1:42 pm

As if the “blowjob” ad wasn’t enough

leave a comment »

QSOL published an extremely misogynistic ad in Linux Journal that has been dubbed the “blowjob” ad.  It showed a sultry woman with red lipstick and the line “Don’t worry, our servers won’t go down on you either”.  I was curious to find out more about QSOL and I found another inappropriate ad that lists commands in a context of inuendo:

The “commands” Ad

Frankly, when I saw this I felt sick to my stomach.

If this was fan art or a joke, I wouldn’t care quite as much and might think it was funny in a Beavis and Butthead way.  This is a professional organization that advertises in professional publications!!!  Ignoring the female demographic and resorting to using “sex” to sell servers must mean that their servers SUCK.  If they were any good they wouldn’t have to resort to this nonsense.  It’s disgusting.

Written by missaugustina

October 2, 2007 at 5:49 pm

LinuxFest Northwest 2007

leave a comment »

I went to <a href=”http://www.linuxfest.org”>linuxfest</a&gt; this past weekend and really had a great time.  I had volunteered to help out at the Ubuntu Lo-Co team table but they had it pretty well covered.  I think a Pacific Northwest Lo-Co is a bit broad since we’re too spread out to really meet.  Several people and groups in Seattle do use Ubuntu so I think it’s a shame there really isn’t a LUG or Seattle Ubuntu Lo-Co.  Being at the conference also, to me anyways, emphasized a need for a Linux Chix chapter in Seattle, and I might just have to revive it  (as if i don’t have enough on my plate already).

My favorite sessions were Copyright, XUL, One Laptop Per Child, and Asterisk.  A few big names had sponsored some events which made it fun – SecondLife, Google, and Pogo.  I’d really love to get involved with some game programming on OLPC, especially since they are using PyGame, but I have no idea where or how to get started, there wasn’t much info on their wiki.  XUL was neat as well as an alternative to Adobe’s Apollo/Air.  When I started playing around with the samples, however I realized it’s a mess.  Air is way easier to use out of the box and is better documented.  Hopefully Mozilla works to improve this because XUL could really be a decent Free alternative.

Written by missaugustina

May 2, 2007 at 5:58 pm