Installing Microsoft Reader on Linux (and why Microsoft Reader rules)

As I suddenly found myself using Linux as my primary OS last year, I had to do something about my bookworm'ey itch, and tried a few solutions to the lack of Microsoft Reader on Linux.

  • I tried using a second computer as my “book computer” - 50 minutes of work, one chapter of a book is what works for me. Too much fan noise (my PCs, like me, are pretty old by now) and sheer waste of electricity.
  • I tried a virtualbox XP installation - the problem with a virtual OS is, if I run it fullscreen, I can't use the linux software, and if I run it windowed, the Microsoft Reader window is too small. I can dedicate my second monitor to the XP virtual installation, but that is plain inefficient.
  • I tried keeping my pocket pc with me while working, but what is the use of a large LCD when you end up reading on a 3.5 inch screen.

This weekend, I finally managed to make Microsoft Reader work on Linux with Wine. I had to waste use a couple of hours doing so, but at the end, it was worth it. So here is the fast and clean way of installing Microsoft Reader on Linux, what you need is:

  • Have a Linux installation (obviously) - I'm on Kubuntu, this should work with *buntu.
  • The following software installed: wine, msttcorefonts, cabextract - You can install it with the usual: sudo aptitude install wine msttcorefonts cabextract 
  • IE for Linux - for some reason, this is a pre-requisite of Microsoft Reader on Wine.
    • Instructions on how to install IE6 for Linux can be found here: http://howtoforge.com/ubuntu_internet_explorer_p2  
    • You might need mfc42.cab - in which case, just follow the link on the page, and copy the cab to the folder used by ies4linux, which was /home/rv/.ies4linux/downloads
       for me.
  • Now you need to visit the Microsoft Reader download page in IE6, and when prompted, "Open" the file from its current location. If everything goes well, you should end up with Microsoft Reader installed - now you just need to run it.
  • To run the program, you can either tinker with the Wine configuration settings to export the required wine prefix or you can create a shell script containing:
    • #!/usr/bin/env bash
      # Script to run MS Reader
      cd
      export WINEPREFIX="/home/rv/.ies4linux/ie6"
      wine "/home/rv/.ies4linux/ie6/drive_c/Program Files/Microsoft Reader/msreader.exe"
    • Save it as something like msreader.sh, modify the /rv/ part (which is my username), set the file rights to a+x via: chmod a+x msreader.sh and perhaps, create a shortcut to the file on your desktop.
  • Running the msreader.sh should run MS Reader now!
  • There is the small problem of actually opening .lit files in it - you have two options. You can either:
    • Modify the script above so that the filename/complete path is passed to the shell script and used in the wine… line. This can also be set up with the ubuntu file associations so that you can open .lit files directly by clicking them. Or, you can
    • Copy the .lit files you have in your "My Library" folder (which is what I did).
    • I ended up with a library folder at: /home/rv/.ies4linux/ie6/drive_c/windows/profiles/rv/My Documents/My Library
  • Start the reader, and the new .lit files should be automatically detected and populated inside your library!

I was experimenting with tellico this weekend (which deserves its own post), and realized that in the last 20 years, I have read a lot more ebooks than paper books (which makes me happy when I think of all the trees I have saved). At this point in time, I can safely say that Microsoft Reader is the best ebook software around. Of course, you can read books in other formats, plain text, html, pdf or even doc, and there are lots of other readers (like Mobipocket) to choose from, but nothing beats Microsoft Reader so far. A few reasons why…

  • the Microsoft proprietary ClearType technology is simply the best option for long reading sessions on LCD/TFT screens. Once you get used to the lack of paper texture and the smell of an old book (one does miss it the first few months), you will probably find yourself reading more and more books on MS Reader.
  • The Microsoft .lit format works on Pocket PCs transparently, and the PPC version of Microsoft Reader comes pre-installed with most of the Windows Mobile versions. So, like an ipod, you can keep your library synchronized, and pick up on your PPC where you left off on your laptop/desktop. I can't part with my ancient XDA II (now 5 years old), and iphone is a little bit less attractive due to Microsoft Reader - strange but true.
  • You can use the "Read in Microsoft Reader" plugin for Microsoft Word to convert most of the standard text formats that Word can open - to .lit format, and have a single interface for most of your digital library.
  • If you are comfortable with IRC and DCC, channels like #bookz, #ebooks etc. on Undernet is all you need to download and read sample hundreds of thousands of legal (and otherwise) books that are already converted to the .lit format.

It took me a couple of hours of search and experimentation (mixed with answering a few emails) to get all the steps right, so I hope this post saves somebody a few minutes of their lives.

Desktop Tower Defense - An Inspiration to Young Entrepreneurs

DTD turned one week old recently. I used to play a lot of Desktop Tower Defense (or DTD as it is more commonly known) when it was launched and went crazily viral, thanks to a bunch of popular blogs that covered it.

Paul and Dave, the two guys behind DTD, shared the figures (100,000$) that they have earned in the first year of this small but addictive game on their blog. They also shared the story of the creation of DTD. It is a must read for the young web entrepreneurs of Pakistan (and elsewhere). This one small flash game enabled them to quit their day jobs and start their own casual game firm by the name of Casual Collective. So go read it!

Bomb Blast in Islamabad Today

An italian restaurant in Islamabad that had the misfortune to be a popular foreigner hangout was blown up by a planted bomb a few hours ago. You can read all about it on google [link] so I won't regurgitate the facts here, but I just need to get a few thoughts off my chest, that came to my mind after hearing the news.

Firstly, the terrorists are finally getting some common sense and not blowing themselves up - which is bad new for us. Secondly, how come nobody has taken the responsibility for the last few bomb blasts?! Normally, Taleban/Al Quaida etc. rush forward and tell why they did it, but unless I have missed some important news, these attacks are the work of an anonymous peace-hating terrorist entity. Why aren't Al-Quaida/Taleban etc. being blamed explicitly this time? I thought their sole purpose of existence was to take the blame for terrorist attacks, bombings, floods and earthquakes etc. Thirdly, can we please stop "strongly condemn"ing these attacks please, its getting irritating now.

Bell Canada was researching a possible outsourcing setup (which would have turned into a big thing eventually, them being Ma Bell and all) a couple of months ago, but they dropped the idea right after the GPO blast happened. I know of two small software shops whose investors have lost their confidence in Pakistan and are pulling out of here next month - and the security situation played a significant part in driving them out. The last time I saw a similar mass exodus was post-9/11, when Align Technology pulled out of Lahore and left 1000 or so odd people jobless in Lahore, with an expertise that had no other potential employers (virtual orthodontics treatment).

With this latest attack aimed at the foreigners, we won't exactly be attracting more international business, which is a real pity. Perhaps the indian IT industry has hired this new generation of freelance terrorists to push the tiny share of business that comes to Pakistan back into India. Yep, that's one good scapegoat.

We don't need to be bombed back to the stone ages by the US of A, they can save their bombs for Iraq and Afghanistan. We are a self-sufficient nation and will gladly do the job ourselves TYVM.