<?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>PHP Architect blog &#187; gnome</title>
	<atom:link href="http://www.php-architect.com/blog/tag/gnome/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php-architect.com/blog</link>
	<description>PHP, MySQL, ZF, Python, Linux, Mac, C++, Java, Flex, Air, ActionScript &#38; apps development.</description>
	<lastBuildDate>Sun, 13 Jun 2010 18:25:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=8836</generator>
		<item>
		<title>Installing Python &amp; PyGTK on Mac OsX</title>
		<link>http://www.php-architect.com/blog/2009/02/25/installing-python-pygtk-on-mac-osx/</link>
		<comments>http://www.php-architect.com/blog/2009/02/25/installing-python-pygtk-on-mac-osx/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 10:16:23 +0000</pubDate>
		<dc:creator>Me2resh</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[MacBook]]></category>
		<category><![CDATA[My Work]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[glade]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[pygtk]]></category>

		<guid isPermaLink="false">http://www.php-architect.com/blog/?p=157</guid>
		<description><![CDATA[Recently i have been asked to develop an application that will work on Linux, and Mac os, so i started developing it on my Ubuntu, i chosed Python as the programming language and PyGTK as the GUI for it. The application worked fine on my Ubuntu, but when i moved it to Mac OSx (Leopard), [...]


Related posts:<ol><li><a href='http://www.php-architect.com/blog/2009/08/08/how-to-add-subtract-time-code-in-python/' rel='bookmark' title='Permanent Link: How to Add &#038; Subtract time code in Python'>How to Add &#038; Subtract time code in Python</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently i have been asked to develop an application that will work on Linux, and Mac os, so i started developing it on my Ubuntu, i chosed Python as the programming language and PyGTK as the GUI for it.</p>
<p>The application worked fine on my Ubuntu, but when i moved it to Mac OSx (Leopard), i had a problem importing the PyGTK module and the program GUI didn&#8217;t run. so i tried to install PyGTK from sources with all its dependencies, but after spending a day doing so i ended up with many errors in compiling the dependencies and finding them.</p>
<p>after some search i found out that i can do this using MacPorts.</p>
<p>so here is the steps i followed :</p>
<p>- Install X11 <a title="Installing X11 on Mac OSx Leopard" href="http://guide.macports.org/#installing.x11" target="_blank">http://guide.macports.org/#installing.x11</a></p>
<p>- Install Xcode tools <a title="Installing XCode tools on Mac OSx Leopard" href="http://guide.macports.org/#installing.xcode" target="_blank">http://guide.macports.org/#installing.xcode</a></p>
<p>- Install MacPorts <a title="Installing MacPorts on Mac OSx Leopard" href="http://guide.macports.org/#installing.macports" target="_blank">http://guide.macports.org/#installing.macports</a></p>
<p>- Make sure the paths are configured in your shell profile <a title="Installing MacPorts on Mac OSx Leopard" href="http://guide.macports.org/#installing.shell" target="_blank">http://guide.macports.org/#installing.shell</a></p>
<p>- Restart your shell, and follow the next commands :</p>
<p>1- Install Python</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> python25</pre></div></div>

<p>2- Install Python select</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> python_select</pre></div></div>

<p>3- Activate our installed python version</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> python_select python25</pre></div></div>

<p>4- Install pygtk</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> py25-gtk</pre></div></div>

<p>5- Install some gnome themes and engines</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gnome-themes
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gtk-nodoka-engine
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gtk-smooth-engine
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gtk2-aurora
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gtk2-clearlooks
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gtk2-extra
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gtk2-industrial
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gtk2-murrine</pre></div></div>

<p>6- Install theme switch</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gtk-theme-switch</pre></div></div>

<p>7- Select which theme to be used by your applications by running the theme switch</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">switch2</pre></div></div>

<p>Now you can have the applications you develop using python and pygtk running smoothly on mac os leopard.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.php-architect.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.php-architect.com/blog/2009/08/08/how-to-add-subtract-time-code-in-python/' rel='bookmark' title='Permanent Link: How to Add &#038; Subtract time code in Python'>How to Add &#038; Subtract time code in Python</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.php-architect.com/blog/2009/02/25/installing-python-pygtk-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>How to read chm files on Ubuntu</title>
		<link>http://www.php-architect.com/blog/2008/08/31/how-to-read-chm-files-on-ubuntu/</link>
		<comments>http://www.php-architect.com/blog/2008/08/31/how-to-read-chm-files-on-ubuntu/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 13:39:11 +0000</pubDate>
		<dc:creator>Me2resh</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Favorites]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[chm]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[read]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.php-architect.com/blog/?p=98</guid>
		<description><![CDATA[This can be easily done with install GnoCHM, the CHM viewere for Linux you can install it by executing this command in the terminal sudo apt-get install gnochm enjoy No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>This can be easily done with install GnoCHM, the CHM viewere for Linux</p>
<p>you can install it by executing this command in the terminal</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gnochm</pre></div></div>

<p>enjoy <img src='http://www.php-architect.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.php-architect.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.php-architect.com/blog/2008/08/31/how-to-read-chm-files-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
