<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Studge &#187; Web Design</title>
	<atom:link href="http://studge.com/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://studge.com</link>
	<description></description>
	<lastBuildDate>Wed, 17 Sep 2008 17:21:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running Photoshop CS2 in Linux</title>
		<link>http://studge.com/running-photoshop-cs2-in-linux/</link>
		<comments>http://studge.com/running-photoshop-cs2-in-linux/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 20:08:42 +0000</pubDate>
		<dc:creator>Studge</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://studge.com/howto-photoshop-cs2-in-linux/</guid>
		<description><![CDATA[Thanks to recent advances with Wine, it is now very easy to run Photoshop in Linux &#8211; but it&#8217;s not foolproof yet.  This tutorial was performed on a Pentium 4 desktop running Fedora 8 with Wine 0.9.55 and Adobe Photoshop CS2.
1. Install Wine
To install Wine in Fedora, we will use yum.  However, for [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to recent advances with <a href="http://www.winehq.org/">Wine</a>, it is now very easy to run Photoshop in Linux &#8211; but it&#8217;s not foolproof yet.  This tutorial was performed on a Pentium 4 desktop running Fedora 8 with Wine 0.9.55 and Adobe Photoshop CS2.<span id="more-63"></span></p>
<h3>1. Install Wine</h3>
<p>To install Wine in Fedora, we will use yum.  However, for other distributions, it should be widely available in your respective package manager or you can install from source.
<div class="code">
<pre><code>[root@localhost ~]# yum install wine*</code></pre>
</div>
<h3>2. Install Photoshop</h3>
<p>I installed Photoshop from the CD.  I attempted to run the setup files from Nautilus, but it failed and I continued the rest of the installation from the command line.  My CD was auto-mounted in the <code>/media/Photoshop CS2/</code> folder so I will navigate there to open the setup file. Be sure not to run the installation as root.</p>
<div class="code">
<pre><code>[user@localhost ~]$ cd "/media/Photoshop CS2"
[user@localhost ~]$ wine Setup.exe</code></pre>
</div>
<p>Now the normal Photoshop setup routine will initiate.  I selected my region and continued.  Next I was prompted for Gecko integration.  This is a result of using Wine and is required by the Adobe license screen to display an HTML version of the license in the program window.  I allowed it to install the integration, but it never completed.  I canceled the integration and it only affected the next screen that asks me to agree to the license &#8211; by not displaying the text of the license.  This is fine, so I selected Agree to continue on.  From here on out you can continue with the installation as you would on a Windows machine.</p>
<h3>3. Execution</h3>
<p>Everything in the installation went smoothly and didn&#8217;t garner any more attention than had I installed it on a regular PC running Windows.  To run Photoshop, I need to locate the executable and run it with Wine &#8211; just as we ran the setup executable with Wine.  When using Wine, it will create a folder that represents the C: Drive in Windows.  On a Fedora machine, this is <code>/home/user/.wine/drive_c/</code> and contains a Program Files directory.</p>
<div class="code">
<pre><code>[user@localhost ~]$ cd "/home/user/.wine/drive_c/Program Files/Adobe/Adobe Photoshop CS2/"
[user@localhost ~]$ wine Photoshop.exe</code></pre>
</div>
<p>This initiated and started Photoshop just fine.  I messed around with a few images and was pleased with the installation.  My next move was to create a menu shortcut for launching Photoshop.  I did this and then ran it again to insure my menu entry worked right and was presented with the following error:</p>
<div class="centered-image"><img src='http://studge.com/wp-content/uploads/2008/02/screenshot-adobe-photoshop.png' alt='Photoshop in Linux Error' /></div>
<p>I found that this is an error that occurs in a Windows installation of Photoshop when there is an issue with the preferences.  My current workaround is to wrap the Wine command to execute Photoshop in a shell script that will delete the preference file after Photoshop is closed.  This means that any saved preferences will be lost each time Photoshop is used.  Hopefully I can find out what is precisely going on here soon and come up with a more eloquent solution, but this will have to do in the meantime.  Here is the contents of <code>photoshop.sh</code> which I store in my <code>/home/user/bin</code> folder for easy execution:</p>
<div class="code">
<pre><code>#!/bin/bash
wine "/home/user/.wine/drive_c/Program Files/Adobe/Adobe Photoshop CS2/Photoshop.exe"
rm "/home/user/.wine/drive_c/windows/profiles/path/Application Data/Adobe/\
Photoshop/9.0/Adobe Photoshop CS2 Settings/Adobe Photoshop CS2 Prefs.psp"</code></pre>
</div>
<p>Be sure the set the script to executable after you write it with:</p>
<div class="code">
<pre><code>[user@localhost bin]$ chmod +x photoshop.sh</code></pre>
</div>
<p>Now you can create a menu entry or launcher that executes this script.</p>
]]></content:encoded>
			<wfw:commentRss>http://studge.com/running-photoshop-cs2-in-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.368 seconds -->
<!-- Cached page served by WP-Cache -->
