View Full Version : Mobipocket Reader 6.2 under Wine

01-31-2009, 11:59 AM
So I figure this out after I'm done needing to run Mobipocket Reader over and over to test oeb2mobi output, but it actually is possible to run version 6.2 under Wine. I'm not sure how many other people this might help, but thought I'd share just in case. The two necessary bits at least under my version of Wine (1.0.1) are to make sure there isn't an existing library directory ("~/My eBooks") and to directly pass the desired book as an argument to reader.exe. So not so good for the "library" functionality, but at least it's possible to read books, check formatting, etc with it. I've got the following shell script for maximum simplicity:

#! /bin/bash

export WINEDEBUG="-all"
export WINEPREFIX="$HOME/.wine"
READER="$DRIVE_C/Program Files/ Reader/reader.exe"

rm -rf "$HOME/My eBooks"
exec wine "$READER" "$@"

And now you know.