Usually, I use MS Paint on Windows for simple image editing such as cropping, giving some label, etc.
On this section I’ll try to explain to you step by step about how to use MS Paint on Linux.
Currently, I use Linux UBuntu 10.4 (Lucid Lynx). But it doesn’t matter what variant/distro you are using now, I think it will be quite similiar (not much different with mine, except on the first step).
The first step (this step will be different, depends on your linux’s variant/distro) is to get wine running on your linux.
on UBuntu (or other debian variant such as Linux Mint, KBuntu, etc.) just use apt-get to install thiswine like the following:
|yauritux@yaurilab:~$ sudo apt-get install wine|
You will be prompted for your user’s password. Input your password, then press enter to continue.
The system will automatically install the packages needed on your machine. You don’t have to do anything special, just make a cup of coffee while waiting the process to be done :-).
Here is the output sample of mine:
[sudo] password for yauritux:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
Neet to get ……. of archives.
After this operation, ….. of additional disk space will be used.
Get: 1 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/universe wine 1.2.2-0ubuntu2~lucid1 [….]
Fetched …….. in 4 s (9,948B/s)
Selecting previously deselected package wine.
(Reading database … 164177 files and directories currently installed.)
unpacking wine (from …/wine_1.2.2-0ubuntu2~lucid1_all.deb) …
Setting up wine (1.2.2-0ubuntu2~lucid1) …
for the next step ahead, you’ll need to copy files needed from Windows XP system.
The second step is create a folder named MSPaint (or whatever you want) .wine/drive_c/Program Files
next, copy mspaint.exe from Windows XP (usually at C:\Windows\System32) to the folder MSPaint you’ve created before, i.e. .wine/drive_c/Program Files/MSPaint.
and the following files:
from C:\Windows\System32 on Windows XP system to .wine/drive_c/windows/system32.
Next step you have to find for file GdiPlus.dll on the Windows XP hard drive, then copy to .wine/drive_c/windows/system32.
GdiPlus.dll will give your MSPaint ability to support TIF, GIF, JPG, PNG formatted.
Then, copy the following folder:
from Windows XP to your linux at .wine/drive_c/windows/system32.
The final step is to create an icon/shortcut on your linux desktop.
Just right click on the desktop, and left click on Create Launcher.
from the dialog that appear, input as follows:
Name: MsPaint XP
Command: wine “/home/yauritux/.wine/drive_c/Program Files/MSPaint/mspaint.exe”
Comment: Microsoft XP Paint
Change yauritux with your username.
Finally, you can test by double click on that icon.
See the image below (click the image to enlarge):
If you get an error like the following:
then, add the following line:
and run “sudo sysctl -p” to apply the setting.
or, just run the following command from your shell/console:
Then, try again…