|
(click screenshot for full size) |
The basic idea with this procedure is to take a working Windows Photoshop CS2 installation and "clone" it into the Linux environment. Under Linux, a system called WINE (WINE=Wine Is Not an Emulator) makes it possible to run Windows programs by providing a windows-like environment, complete with file system, registry etc.
Alternatively, one can also use the command line/terminal window to install wine:
$ sudo apt-get update password: xxxxxx $ sudo apt-get install wine
C:\Program Files\Adobe\*into a file called Photoshop_CS2.zip. Make sure you check the "Include subfolders" and "Save full path info" and then click "Add with wildcards":
HKEY_LOCAL_MACHINE/Software/Adobe
Then export this branch to a file called adobe.reg. Notice that by selecting the Win9x/NT4 registry file type option, we create a plain ASCII file instead of unicode, and this saves a bit of trouble on the Linux side.
Save adobe.reg next to the Photoshop_CS2.zip file. It will be needed in Linux.
$ wine WINZIP32.EXE... in the directory where Winzip is found. The normal WinZip installation should succeed with a WinZip icon on the KDE desktop. Later, you can remove WinZip as the Linux Ark program does a similar job, but the fact that WinZip is a Windows program makes life easier in this case, as we shall see in the next step.
Note that "C:\" here is the windows file system in the wine environment. Seen from outside wine, the directory corresponds to $HOME/.wine/drive_c
$ wine regeditIn the wine registry editor, use Registry -> Import Registry File ... and browse to adobe.reg and open it. Exit the registry editor.
$ wine "C:\Program Files\Adobe\Adobe Photoshop CS2\Photoshop.exe"Note that Photoshop may appear to be hanging during startup, but after 30-60 seconds it should become active and function as normal.
C:\windows\profiles\[your name]\Application Data\Adobe\Photoshop\9.0\Adobe Photoshop CS2 Settings\In particular, the following file is of interest: Adobe Photoshop CS2 Prefs.psp
NOTE: This file must be deleted before each run of Photoshop CS2, or else the startup will fail with an error saying
Unable to continue because of a hardware or system error. Sorry, but this error is unrecoverableYou can see a screenshot of this situation here.
To recover from this error you have to delete Adobe Photoshop CS2 Prefs.psp as mentioned.
[Desktop Entry]
Encoding=UTF-8
Name=Adobe Photoshop CS2
Comment=Adobe Photoshop
CS2
GenericName=Graphics
Exec=wine "C:\Program Files\Adobe\Adobe Photoshop CS2\Photoshop.exe"
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/etc/cs2.png
StartupNotify=true
If you are a bit more clever, the desktop icon could point to a shell script that deletes the
offending Adobe Photoshop CS2 Prefs.psp before it actually starts Photoshop. Of course,
the cs2.png file mentioned, should provide a suitable Photoshop CS2 desktop Icon such as for example