Elementary OS – Luna is (in my opinion) the best Linux distro you can get nowadays out there. After many tries installing some distros like Pear OS 8, Arch Linux or Ubuntu 13, I finally decided to keep Elementary OS as my default and unique Linux distribution. Is by far the fastest, most beautiful and simple OS among all alternatives. As Elementary Os “Luna” is based on Ubuntu 12.04, I guess the next guide is also valid for that distribution. So let’s start:
The problem with Photoshop CS6 and Wine 1.3.35+:
The problem (or bug) is documented here, and its about the brush once you are painting, specifically when you hold your mouse button and drag it, it only paints 1 dot and doesn’t continue the path. The problem only occurs with Wine 1.3.35 version and after, so you might consider installing an older version, but then it gets tricky because you have to install countless libraries and addons to make Photoshop work.
The solution:
The solution I found lets you install Photoshop CS6 using latest Wine 1.7.7 version but compiled from source and applying a little patch, so it’s a little laborious and slow, but not too difficult: First keep downloading Photoshop CS6 from here while you follow this guide (its a 300Mb file) and you will need it at the end (a different portable version of Photoshop CS6 is here). Next, download the latest Wine source code (1.7.7 in my case) from here and extract it. Edit the source file located in “wine-1.7.7/dlls/user32/input.c” and modify it manuallyaccording to this patch. Then you have to add source libraries to compile wine, so you can write: sudo apt-get build-dep wine1.7
Now add some more libraries you will need to compile, cause Ubuntu 12.04 is 64bits multiarchitecture and it lacks from 32bit development libraries: apt-get install gcc-multilib g++-multilib
Now the 32 bits development libraries as Wine official site suggest: sudo apt-add-repository ppa:ehoover/compholio sudo apt-get update sudo apt-get install ia32-libs-dev
Now, be sure to uninstall previous versions of Wine, configure, compile and install it (its a slow process of several minutes even hours, read at the end of this post): sudo dpkg -r wine1.7 sudo apt-get remove wine1.7 sudo apt-get autoremove sudo ./configure && sudo make sudo make install
After that remove your .wine directory and re-configure it again: sudo rm -r /home/username/.wine winecgf
Some people recommend to set these variables before execute winecfg (but I didn’t need it): export WINEPREFIX=$HOME/.wine/photoshop export WINEARCH=win32
Winecfg will download and install some libraries like mono and gecko. Finally install Photoshop CS6 using nautilus or by command line with: wine Photoshop.exe
And that’s it!! You can execute Photoshop CS6 without problems and working like a charm in Linux (in deed even faster than in my Windows 7). There are some alternatives to compile Wine from source as you can see here using chroot or lxc container, I didn’t try it but maybe its faster than my alternative. If you try it don’t forget to comment here.
Comentarios recientes