Running MS Paint on Linux

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 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:

  • mfc42.dll
  • mfc42u.dll
  • msisip.dll
  • msvcrt.dll
  • olepro32.dll
  • wshext.dll

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:

  • C:\Windows\AppPatch
  • C:\Windows\Fonts

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:

err:service:validate_service_config Service L”Bscrom” has an unknown service type
err:service:scmdatabase_load_services Invalid configuration of service L”Bscrom” – skipping
err:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte for DOS mode

then, add the following line:

vm.mmap_min_addr = 0

and run “sudo sysctl -p” to apply the setting.
or, just run the following command from your shell/console:

sudo echo 0 > /proc/sys/vm/mmap_min_addr

Then, try again…



12 thoughts on “Running MS Paint on Linux

    • check the posting date bro. perhaps, your version is different now. I posted this topic several years ago and i was using ubuntu older version during that time (not like what we found today).

  1. I’m still using XP Black to date :3
    don’t worry about my security, and I can hack alot of support, though .NET and DirectX is for un-deserving programmers who deserve to be bamfed.

    so I copied everything over and still have no extended support for anything other than BMP.

  2. Hi.
    I tried to setup a win-XP Paint on Ubuntu (12.04) and it worked.
    its 12.04 cus its a computer on my desk at work and my boss wants it to be 12.04…
    It works except for one thing, I cant “save as” jpeg-files. I definitely copied the files U mentioned. I can load jpegs and esit them. but I just can save them as bmp, gif, png, tiff
    but no jpeg.

    -Any idea?

  3. I can’t get this to work. 99% sure I followed steps exactly. Running Linux Mint 18 with Mate desktop. Copying files from XP Pro. It does absolutely nothing, no error, nothing. If I navigate to MSPaint.exe and click it, I get a “File not found” error in a WINE/Windows error dialog.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s