Showing posts with label CentOS. Show all posts
Showing posts with label CentOS. Show all posts

Tuesday, June 2, 2009

Running Editplus in Linux, using Wine

Ok, I happened to spend a lot of time on this issue which bugged me. Editplus is one of favourite editors in windows. The main reason I use it not just for text editing purpose but for its file search capabilities.

Installing editplus on CentOs seemed like an huge uphill task. But luckily editplus does not have an executable for linux...whaat how is it lucky then? Its lucky because now we do not install Editplus but instead we emulate it as if it were running on Windows inside Linux (CentOS in my case!). But installing the emulator itself required some work.


I used YUM to install the emulator. To install the emulator called wine (WINdows emulator) we need to do the following:

1) Update your repository information that is used by YUM installer. Put the repository information in /etc/repos.d/ folder. I have the rpmforge respository with the follwing info in rpmforge.repo
-----
#baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
priority=1

----
2) use yum -install wine command to get the software.
3) Download Editplus.exe and run it with wine. I even created a shortcut to run it from the linux desktop:
env WINEPREFIX="/root/.wine" wine "C:\Program Files\EditPlus 3\editplus.exe"

---
3) Enjoy Editplus!!