Running EditPad Lite on Linux Using Wine
While there is no native Linux version of EditPad Lite 7, it is perfectly possible to run the Windows version of EditPad Lite 7 on Linux using Wine. Wine is an application designed to run Windows applications on Linux. Aside from a few very minor glitches, this works just fine. Wine is free software and does not require you to have a license to Microsoft Windows.
First, Wine needs to be installed on your Linux computer. Most Linux distributions include Wine as an optional package. In Ubuntu, for example, open the System menu and select Administration|Synaptic Package Manager. Search for the “wine” package and install it. If your Linux distribution does not include Wine, go to winehq.org where you can download ready-to-install packages of Wine for all the popular Linux distributions.
Once Wine is installed, use the web browser on your Linux computer to download EditPad Lite. If your browser asks you whether you want to open or run the file with Wine or save the file, select to open or run it with Wine. Then the installer will start automatically as soon as the download completes. If your browser doesn’t ask, save the file. Open a terminal screen, cd to your download directory, and type: wine SetupEditPadLite.exe (change .exe file name to what you actually downloaded). EditPad Lite’s installer will pop up. Click the no-questions-asked button for a quick install.
To start EditPad Lite, double-click the EditPad Lite icon that the installer placed on your desktop. If there’s no desktop shortcut, type wine "c:\Program Files\Just Great Software\EditPadLite7\EditPadLite7.exe" in a terminal screen (assuming you used the default installation folder).
The File|Open dialog in EditPad Lite defaults to a “My Documents” folder that mimics Windows. If you click the Up button in the File|Open dialog a bunch of times you’ll eventually get to the root directory of your Linux system. EditPad Lite can access all your Linux files when running under Wine (subject to the Linux file permissions).
“EditPad Pro with a dash of Wine is really fine.”
— Lucas Heuman,
30 May 2006, New Jersey, USA
Configuring EditPad Lite for Linux
EditPad Lite is an extremely configurable text editor. The default settings are optimized to let Windows users get started immediately without configuring anything. This means that Linux users have a bit of work.
Select Options|Configure File Types in the menu. You’ll need to change the default encoding for most, if not all, file types. Click on the Encoding tab. Select the file types you want to change in the list at the left. You can select as many as you like using Shift+click and/or Ctrl+click. Set the default line break style to Linux (LF only). If the default text encoding is a Windows code page, change it into an ISO-8859 code page or UTF-8. If you’re unsure, select UTF-8. Most modern Linux distributions use UTF-8 for all text files. Turn off the option to write the byte order marker, but turn on the option to preserve its presence. Byte order markers are far less common on Linux than on Windows, and some applications cannot handle them.
Though Wine includes the most common Windows fonts, the fonts available on Linux aren’t the same as those available on Windows. In Options|Configure File Types|Editor Options, click the Edit button next to the drop-down list with text layouts. Delete the 4 predefined “complex script” layouts. Selects fonts that you like for the other 4 layouts. The text layout configuration screen is where you set default fonts. You can select a different default text layout for each file type.
Glitches Running EditPad Lite with Wine
I tested EditPad Lite 7 on an Ubuntu 11.4 installation that was clean other than having installed the Wine1.3 package. After downloading with Firefox and choosing to run the download with Wine when prompted, the installer came up automatically and the no-questions-asked option went off without a hitch.
Aside from a few very minor glitches, EditPad Lite 7 itself runs just fine. In some places, EditPad Lite’s icons appear with a black background instead of being transparent. The Help|Contents menu item opens EditPad’s help file. The table of contents, index, and body text of the help file are all there. But the body text isn’t formatted as nicely as it appears on Windows. It seems Wine’s HTML Help viewer does not yet support CSS.
On Windows, EditPad Lite 7 uses Uniscribe to intelligently handle editing of text using right-to-left scripts like Hebrew and Arabic as well as complex scripts like the Indic scripts. Wine emulates Uniscribe but does not actually implement the intelligent handling of right-to-left and complex scripts that Uniscribe is used for. So you won’t get any errors when using a complex script text layout in EditPad Lite 7 running on Wine. But you won’t get the text editing experience you’d expect either.
The Print feature in EditPad won’t work if your Linux PC is set up to use the lpr printing system. Wine does not fully support lpr. If you started EditPad Lite from the console, when trying to print, you would see something like this: fixme:winspool:WINSPOOL_EnumPrinters We don’t handle PRINTER_ENUM_CONNECTIONS. You can fix this by removing the lpr package installed on your Linux system, and use CUPS (Common UNIX Printing System) instead. Please check the documentation with your Linux distribution or your local Linux guru on how to uninstall lpr and use CUPS instead.
Older versions of Wine had more glitches. If EditPad Lite’s mouse pointer appears garbled, if the help file doesn’t open or appears blank, if the main menu sometimes stops responding to mouse clicks, or if integration with RegexBuddy or RegexMagic doesn’t work, upgrade to the latest version of Wine.