<?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>Randell&#039;s Blog</title>
	<atom:link href="http://blog.randell.ph/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.randell.ph</link>
	<description>Software development, Fedora how-to&#039;s, and random stuff from the web</description>
	<lastBuildDate>Thu, 03 May 2012 04:00:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Clear input values inside a div using JavaScript</title>
		<link>http://blog.randell.ph/2012/05/03/clear-input-values-inside-a-div-using-javascript/</link>
		<comments>http://blog.randell.ph/2012/05/03/clear-input-values-inside-a-div-using-javascript/#comments</comments>
		<pubDate>Thu, 03 May 2012 04:00:55 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Dev Notes]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=2545</guid>
		<description><![CDATA[This script recursively traverses all HTML elements, looks for input fields and clears their values. It uses only JavaScript. No jQuery required. // From http://stackoverflow.com/a/1500073/106778 function clearChildren&#40;element&#41; &#123; for &#40;var i = 0; i &#38;lt; element.childNodes.length; i++&#41; &#123; var e = element.childNodes&#91;i&#93;; if &#40;e.tagName&#41; switch &#40;e.tagName.toLowerCase&#40;&#41;&#41; &#123; case 'input': switch &#40;e.type&#41; &#123; case &#34;radio&#34;: case [...]
Related posts:<ol>
<li><a href='http://blog.randell.ph/2009/04/10/using-jquery-on-a-generic-registration-form/' rel='bookmark' title='Using jQuery on a generic registration form'>Using jQuery on a generic registration form</a></li>
<li><a href='http://blog.randell.ph/2009/07/30/error-form-elements-must-not-be-named-%e2%80%9csubmit%e2%80%9d/' rel='bookmark' title='Error: Form elements must not be named “submit”.'>Error: Form elements must not be named “submit”.</a></li>
<li><a href='http://blog.randell.ph/2008/11/23/to-hold-your-stupidity-inside-you/' rel='bookmark' title='To hold your stupidity inside you&#8230;'>To hold your stupidity inside you&#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2012%2F05%2F03%2Fclear-input-values-inside-a-div-using-javascript%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2012%2F05%2F03%2Fclear-input-values-inside-a-div-using-javascript%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This script recursively traverses all HTML elements, looks for input fields and clears their values. It uses only JavaScript. No jQuery required.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// From http://stackoverflow.com/a/1500073/106778</span>
<span style="color: #003366; font-weight: bold;">function</span> clearChildren<span style="color: #009900;">&#40;</span>element<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> element.<span style="color: #660066;">childNodes</span>.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #003366; font-weight: bold;">var</span> e <span style="color: #339933;">=</span> element.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>e.<span style="color: #660066;">tagName</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">switch</span> <span style="color: #009900;">&#40;</span>e.<span style="color: #660066;">tagName</span>.<span style="color: #660066;">toLowerCase</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
         <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'input'</span><span style="color: #339933;">:</span>
            <span style="color: #000066; font-weight: bold;">switch</span> <span style="color: #009900;">&#40;</span>e.<span style="color: #660066;">type</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
               <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;radio&quot;</span><span style="color: #339933;">:</span>
               <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;checkbox&quot;</span><span style="color: #339933;">:</span> e.<span style="color: #660066;">checked</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
               <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;button&quot;</span><span style="color: #339933;">:</span>
               <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;submit&quot;</span><span style="color: #339933;">:</span>
               <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;image&quot;</span><span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
               <span style="color: #003366; font-weight: bold;">default</span><span style="color: #339933;">:</span> e.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">''</span><span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
            <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
         <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'select'</span><span style="color: #339933;">:</span> e.<span style="color: #660066;">selectedIndex</span> <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
         <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'textarea'</span><span style="color: #339933;">:</span> e.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">''</span><span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
         <span style="color: #003366; font-weight: bold;">default</span><span style="color: #339933;">:</span> clearChildren<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
   <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>For posterity&#8217;s sake. Source: <a href="http://stackoverflow.com/a/1500073/106778">http://stackoverflow.com/a/1500073/106778</a>. Also at <a href="https://gist.github.com/2436981">https://gist.github.com/2436981</a>.</p>
<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2009/04/10/using-jquery-on-a-generic-registration-form/' rel='bookmark' title='Using jQuery on a generic registration form'>Using jQuery on a generic registration form</a></li>
<li><a href='http://blog.randell.ph/2009/07/30/error-form-elements-must-not-be-named-%e2%80%9csubmit%e2%80%9d/' rel='bookmark' title='Error: Form elements must not be named “submit”.'>Error: Form elements must not be named “submit”.</a></li>
<li><a href='http://blog.randell.ph/2008/11/23/to-hold-your-stupidity-inside-you/' rel='bookmark' title='To hold your stupidity inside you&#8230;'>To hold your stupidity inside you&#8230;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2012/05/03/clear-input-values-inside-a-div-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install SFLphone on Fedora 16</title>
		<link>http://blog.randell.ph/2012/04/09/how-to-install-sflphone-on-fedora-16/</link>
		<comments>http://blog.randell.ph/2012/04/09/how-to-install-sflphone-on-fedora-16/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 16:21:19 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Dev Notes]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[SFLphone]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=2509</guid>
		<description><![CDATA[This is a slightly modified version of the SFLphone build instructions. First, install the dependencies: sudo yum groupinstall group &#34;Development Tools&#34; &#34;Development Libraries&#34; sudo yum install alsa-lib-devel pulseaudio-libs-devel libsamplerate-devel commoncpp2-devel ccrtp-devel libzrtpcpp-devel dbus-c++-devel pcre-devel gsm-devel speex-devel celt071-devel libyaml-devel cppunit-devel cppcheck Then clone the master branch because the latest release (1.0.2) has a bug, which prevented [...]
Related posts:<ol>
<li><a href='http://blog.randell.ph/2009/09/01/install-handbrake-on-fedora-11/' rel='bookmark' title='Install Handbrake on Fedora 11'>Install Handbrake on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2012/04/08/how-to-install-asterisk-on-fedora-16/' rel='bookmark' title='How to install Asterisk on Fedora 16'>How to install Asterisk on Fedora 16</a></li>
<li><a href='http://blog.randell.ph/2011/12/05/how-to-install-att-global-network-client-on-fedora-16/' rel='bookmark' title='How to install AT&amp;T Global Network Client on Fedora 16'>How to install AT&#038;T Global Network Client on Fedora 16</a></li>
<li><a href='http://blog.randell.ph/2010/04/04/setuptools/' rel='bookmark' title='Install setuptools in Fedora 12'>Install setuptools in Fedora 12</a></li>
<li><a href='http://blog.randell.ph/2008/08/08/installing-ip-messenger-on-fedora-9/' rel='bookmark' title='Installing IP Messenger on Fedora 9'>Installing IP Messenger on Fedora 9</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2012%2F04%2F09%2Fhow-to-install-sflphone-on-fedora-16%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2012%2F04%2F09%2Fhow-to-install-sflphone-on-fedora-16%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a slightly modified version of the <a title="SFLphone build instructions" href="https://projects.savoirfairelinux.com/projects/sflphone/wiki/BuildInstructions" target="_blank">SFLphone build instructions</a>.</p>
<p>First, <strong>install the dependencies</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> yum groupinstall group <span style="color: #ff0000;">&quot;Development Tools&quot;</span> <span style="color: #ff0000;">&quot;Development Libraries&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> yum <span style="color: #c20cb9; font-weight: bold;">install</span> alsa-lib-devel pulseaudio-libs-devel libsamplerate-devel commoncpp2-devel ccrtp-devel libzrtpcpp-devel dbus-c++-devel pcre-devel gsm-devel speex-devel celt071-devel libyaml-devel cppunit-devel cppcheck</pre></div></div>

<p>Then clone the master branch because the latest release (<a title="SFLphone source code" href="https://projects.savoirfairelinux.com/attachments/download/2865/sflphone-1.0.2.tar.gz" target="_blank">1.0.2</a>) has <a title="Fedora x86_64, client-gnome, webkitgtk3.0 - libwidget linking broken" href="https://projects.savoirfairelinux.com/issues/9381" target="_blank">a bug</a>, which prevented me from installing it on Fedora 16:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">git</span> clone http:<span style="color: #000000; font-weight: bold;">//</span>git.sflphone.org<span style="color: #000000; font-weight: bold;">/</span>sflphone.git</pre></div></div>

<p><strong>Compile the PJSIP library</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> sflphone<span style="color: #000000; font-weight: bold;">/</span>daemon<span style="color: #000000; font-weight: bold;">/</span>libs<span style="color: #000000; font-weight: bold;">/</span>pjproject<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> dep <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> clean <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p><strong>Install the Daemon core</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>..
.<span style="color: #000000; font-weight: bold;">/</span>autogen.sh
.<span style="color: #000000; font-weight: bold;">/</span>configure  <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>Install the Gnome client dependencies</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> yum <span style="color: #c20cb9; font-weight: bold;">install</span> gnome-doc-utils libtool GConf2-devel libsexy-devel libnotify-devel webkitgtk-devel webkitgtk3-devel libgnomeui-devel check-devel rarian-compat</pre></div></div>

<p><strong>Install the Gnome client</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>gnome
.<span style="color: #000000; font-weight: bold;">/</span>autogen.sh
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2009/09/01/install-handbrake-on-fedora-11/' rel='bookmark' title='Install Handbrake on Fedora 11'>Install Handbrake on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2012/04/08/how-to-install-asterisk-on-fedora-16/' rel='bookmark' title='How to install Asterisk on Fedora 16'>How to install Asterisk on Fedora 16</a></li>
<li><a href='http://blog.randell.ph/2011/12/05/how-to-install-att-global-network-client-on-fedora-16/' rel='bookmark' title='How to install AT&amp;T Global Network Client on Fedora 16'>How to install AT&#038;T Global Network Client on Fedora 16</a></li>
<li><a href='http://blog.randell.ph/2010/04/04/setuptools/' rel='bookmark' title='Install setuptools in Fedora 12'>Install setuptools in Fedora 12</a></li>
<li><a href='http://blog.randell.ph/2008/08/08/installing-ip-messenger-on-fedora-9/' rel='bookmark' title='Installing IP Messenger on Fedora 9'>Installing IP Messenger on Fedora 9</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2012/04/09/how-to-install-sflphone-on-fedora-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Asterisk on Fedora 16</title>
		<link>http://blog.randell.ph/2012/04/08/how-to-install-asterisk-on-fedora-16/</link>
		<comments>http://blog.randell.ph/2012/04/08/how-to-install-asterisk-on-fedora-16/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 11:38:01 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Dev Notes]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[DAHDI]]></category>
		<category><![CDATA[libri]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=2501</guid>
		<description><![CDATA[Because the installation of Asterisk via Yum didn&#8217;t work out-of-the-box for me, I have decided to install it from source. The instructions to compile and install Asterisk from source from the Asterisk wiki is pretty much straight-forward except for a couple of hiccups, which I encountered. So here is a slightly modified version of their [...]
Related posts:<ol>
<li><a href='http://blog.randell.ph/2012/04/09/how-to-install-sflphone-on-fedora-16/' rel='bookmark' title='How to install SFLphone on Fedora 16'>How to install SFLphone on Fedora 16</a></li>
<li><a href='http://blog.randell.ph/2009/09/01/install-handbrake-on-fedora-11/' rel='bookmark' title='Install Handbrake on Fedora 11'>Install Handbrake on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2010/04/04/setuptools/' rel='bookmark' title='Install setuptools in Fedora 12'>Install setuptools in Fedora 12</a></li>
<li><a href='http://blog.randell.ph/2010/09/01/install-handbrake-on-fedora-12/' rel='bookmark' title='Install HandBrake on Fedora 12'>Install HandBrake on Fedora 12</a></li>
<li><a href='http://blog.randell.ph/2009/07/26/install-sqlite-database-browser-on-fedora/' rel='bookmark' title='Install SQLite Database Browser on Fedora'>Install SQLite Database Browser on Fedora</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2012%2F04%2F08%2Fhow-to-install-asterisk-on-fedora-16%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2012%2F04%2F08%2Fhow-to-install-asterisk-on-fedora-16%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Because the <a title="YUM (CentOS 5 / Red Hat Enterprise Linux 5)" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages#AsteriskPackages-YUM%28CentOS5%2FRedHatEnterpriseLinux5%29" target="_blank">installation of Asterisk via Yum</a> didn&#8217;t work out-of-the-box for me, I have decided to install it from source. The instructions to compile and install Asterisk from source from the <a title="Installing Asterisk From Source" href="https://wiki.asterisk.org/wiki/display/AST/Installing+Asterisk+From+Source" target="_blank">Asterisk wiki</a> is pretty much straight-forward except for a couple of hiccups, which I encountered. So here is a slightly modified version of their installation instruction that worked for me on Fedora 16:</p>
<h3>Install the compiler and system libraries</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">gcc</span>, gcc-c++, openssl, ncurses, ncurses-devel, newt, libxml2, libxml2-devel, kernel-devel, kernel-devel <span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p>We also need to install SQLite3 in order to avoid seeing this message later on:</p>
<pre>configure: WARNING: *** Asterisk now uses SQLite3 for the internal Asterisk database.
configure: WARNING: *** Please install the SQLite3 development package.</pre>
<p>So let&#8217;s install SQLite3:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> yum <span style="color: #c20cb9; font-weight: bold;">install</span> sqlite, sqlite-devel</pre></div></div>

<p>We also need to install doxygen for the Asterisk documentation:</p>

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

<h3>Download, build, and install libpri</h3>
<p>Execute the following as root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>downloads.asterisk.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>telephony<span style="color: #000000; font-weight: bold;">/</span>libpri<span style="color: #000000; font-weight: bold;">/</span>libpri-1.4.12.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> libpri-1.4.12.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libpri-1.4.12
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<h3>Download, build, install, and start DAHDI</h3>
<p>Execute the following as root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>downloads.asterisk.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>telephony<span style="color: #000000; font-weight: bold;">/</span>dahdi-linux-complete<span style="color: #000000; font-weight: bold;">/</span>dahdi-linux-complete-2.6.0+2.6.0.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> dahdi-linux-complete-2.6.0+2.6.0.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> dahdi-linux-complete-2.6.0+2.6.0
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> config
chkconfig dahdi on
service dahdi start</pre></div></div>

<h3>Download, build, install, and start Asterisk</h3>
<p>Execute the following as root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>downloads.asterisk.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>telephony<span style="color: #000000; font-weight: bold;">/</span>asterisk<span style="color: #000000; font-weight: bold;">/</span>asterisk-10.3.0.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> asterisk-10.3.0.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> asterisk-10.3.0
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span> menuselect
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> samples
<span style="color: #c20cb9; font-weight: bold;">make</span> progdocs
<span style="color: #c20cb9; font-weight: bold;">make</span> config
chkconfig asterisk on
asterisk <span style="color: #660033;">-vvvvc</span></pre></div></div>

<p><em>Notes: This set of instructions has been tested to also work on Fedora 14 and CentOS 5.7.</em></p>
<p>Sources:</p>
<ul>
<li><a title="Installing Asterisk from Source" href="https://wiki.asterisk.org/wiki/display/AST/Installing+Asterisk+From+Source" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Installing+Asterisk+From+Source</a></li>
<li><a title="System Requirements" href="https://wiki.asterisk.org/wiki/display/AST/System+Requirements" target="_blank">https://wiki.asterisk.org/wiki/display/AST/System+Requirements</a></li>
<li><a title="Compiler" href="https://wiki.asterisk.org/wiki/display/AST/Compiler" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Compiler</a></li>
<li><a title="System Libraries" href="https://wiki.asterisk.org/wiki/display/AST/System+Libraries" target="_blank">https://wiki.asterisk.org/wiki/display/AST/System+Libraries</a></li>
<li><a title="Building and Installing LibPRI" href="https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+LibPRI" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+LibPRI</a></li>
<li><a title="Building and Installing DAHDI" href="https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+DAHDI" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+DAHDI</a></li>
<li><a title="How to install Asterisk on CentOS 5" href="http://techspotting.org/how-to-install-asterisk-on-centos-5/" target="_blank">http://techspotting.org/how-to-install-asterisk-on-centos-5/</a></li>
</ul>
<p>&nbsp;</p>
<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2012/04/09/how-to-install-sflphone-on-fedora-16/' rel='bookmark' title='How to install SFLphone on Fedora 16'>How to install SFLphone on Fedora 16</a></li>
<li><a href='http://blog.randell.ph/2009/09/01/install-handbrake-on-fedora-11/' rel='bookmark' title='Install Handbrake on Fedora 11'>Install Handbrake on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2010/04/04/setuptools/' rel='bookmark' title='Install setuptools in Fedora 12'>Install setuptools in Fedora 12</a></li>
<li><a href='http://blog.randell.ph/2010/09/01/install-handbrake-on-fedora-12/' rel='bookmark' title='Install HandBrake on Fedora 12'>Install HandBrake on Fedora 12</a></li>
<li><a href='http://blog.randell.ph/2009/07/26/install-sqlite-database-browser-on-fedora/' rel='bookmark' title='Install SQLite Database Browser on Fedora'>Install SQLite Database Browser on Fedora</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2012/04/08/how-to-install-asterisk-on-fedora-16/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install AT&amp;T Global Network Client on Fedora 16</title>
		<link>http://blog.randell.ph/2011/12/05/how-to-install-att-global-network-client-on-fedora-16/</link>
		<comments>http://blog.randell.ph/2011/12/05/how-to-install-att-global-network-client-on-fedora-16/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 16:00:07 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[AT&T Global Network Client]]></category>
		<category><![CDATA[Fedora 16]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=1809</guid>
		<description><![CDATA[First, download the AT&#38;T Global Network Client from ftp://ftp.attglobal.net/pub/custom/ibm_linux/. If you try to install this using rpm -ivh agnclient-1.0-2.0.1.3003.i386 you will get an error similar to: failed to install file: agnclient-1.0-2.0.1.3003.i386 requires libcrypto.so.4 agnclient-1.0-2.0.1.3003.i386 requires libssl.so.4 To solve this error, create a symbolic link for the missing modules by executing commands similar to this as root: ln [...]
Related posts:<ol>
<li><a href='http://blog.randell.ph/2009/03/27/install-windows-xp-sp2-via-sun-virtualbox-in-fedora-10/' rel='bookmark' title='Install Windows XP SP2 via Sun VirtualBox in Fedora 10'>Install Windows XP SP2 via Sun VirtualBox in Fedora 10</a></li>
<li><a href='http://blog.randell.ph/2009/09/20/install-flash-on-64-bit-fedora-11/' rel='bookmark' title='Install Flash on 64-bit Fedora 11'>Install Flash on 64-bit Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/09/17/install-idle-on-fedora-11/' rel='bookmark' title='Install IDLE on Fedora 11'>Install IDLE on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/09/01/install-handbrake-on-fedora-11/' rel='bookmark' title='Install Handbrake on Fedora 11'>Install Handbrake on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/09/16/install-chromium-on-fedora-11/' rel='bookmark' title='Install Chromium on Fedora 11'>Install Chromium on Fedora 11</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F12%2F05%2Fhow-to-install-att-global-network-client-on-fedora-16%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F12%2F05%2Fhow-to-install-att-global-network-client-on-fedora-16%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>First, download the AT&amp;T Global Network Client from <a href="ftp://ftp.attglobal.net/pub/custom/ibm_linux/">ftp://ftp.attglobal.net/pub/custom/ibm_linux/</a>.</p>
<p>If you try to install this using</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm -ivh agnclient-<span style="color: #000000;">1.0</span>-2.0.1.3003.i386</pre></div></div>

<p>you will get an error similar to:</p>
<blockquote><p>failed to install file:<br />
agnclient-1.0-2.0.1.3003.i386 requires libcrypto.so.4<br />
agnclient-1.0-2.0.1.3003.i386 requires libssl.so.4</p></blockquote>
<p>To solve this error, create a symbolic link for the missing modules by executing commands similar to this as root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.so <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.so.4
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.so <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.so.4</pre></div></div>

<p>Proceed with the installation:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">-ivh</span> <span style="color: #660033;">--nodeps</span> agnclient-<span style="color: #000000;">1.0</span>-2.0.1.3003.i386.rpm</pre></div></div>

<p>If you try to run it at this point, you will get this error:</p>
<blockquote><p>The AT&amp;T Global Network Client daemon (agnclientd) is not running. It must be running to create a VPN connection. Please restart your computer or manually restart the daemon.</p></blockquote>
<p>To solve this, execute the following command as root or just restart your computer:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>agnclientd start</pre></div></div>

<p><em>Note: This instruction also works for Fedora 14, and 15.</em></p>
<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2009/03/27/install-windows-xp-sp2-via-sun-virtualbox-in-fedora-10/' rel='bookmark' title='Install Windows XP SP2 via Sun VirtualBox in Fedora 10'>Install Windows XP SP2 via Sun VirtualBox in Fedora 10</a></li>
<li><a href='http://blog.randell.ph/2009/09/20/install-flash-on-64-bit-fedora-11/' rel='bookmark' title='Install Flash on 64-bit Fedora 11'>Install Flash on 64-bit Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/09/17/install-idle-on-fedora-11/' rel='bookmark' title='Install IDLE on Fedora 11'>Install IDLE on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/09/01/install-handbrake-on-fedora-11/' rel='bookmark' title='Install Handbrake on Fedora 11'>Install Handbrake on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/09/16/install-chromium-on-fedora-11/' rel='bookmark' title='Install Chromium on Fedora 11'>Install Chromium on Fedora 11</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2011/12/05/how-to-install-att-global-network-client-on-fedora-16/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cannot complete the install because one or more required items could not be found.   Software being installed: Subversion Revision Graph 1.0.9</title>
		<link>http://blog.randell.ph/2011/11/28/cannot-complete-the-install-because-one-or-more-required-items-could-not-be-found-software-being-installed-subversion-revision-graph-1-0-9/</link>
		<comments>http://blog.randell.ph/2011/11/28/cannot-complete-the-install-because-one-or-more-required-items-could-not-be-found-software-being-installed-subversion-revision-graph-1-0-9/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 16:00:15 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Dev Notes]]></category>
		<category><![CDATA[Aptana Studio 3]]></category>
		<category><![CDATA[GEF]]></category>
		<category><![CDATA[Graphical Editing Framework Draw2d]]></category>
		<category><![CDATA[Subclipse]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=2431</guid>
		<description><![CDATA[Cannot complete the install because one or more required items could not be found. Software being installed: Subversion Revision Graph 1.0.9 (org.tigris.subversion.subclipse.graph.feature.feature.group 1.0.9) Missing requirement: Subversion Revision Graph 1.0.9 (org.tigris.subversion.subclipse.graph.feature.feature.group 1.0.9) requires &#8216;org.eclipse.draw2d 3.2.0&#8242; but it could not be found If you happen to get this error while installing the Subclipse plugin on Aptana Studio [...]
Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/06/17/error-validating-location-org-tigris-subversion-javahl-clientexception-network-connection-closed-unexpectedly/' rel='bookmark' title='Error validating location: &#8220;org.tigris.subversion.javahl.ClientException: Network connection closed unexpectedly&#8221;'>Error validating location: &#8220;org.tigris.subversion.javahl.ClientException: Network connection closed unexpectedly&#8221;</a></li>
<li><a href='http://blog.randell.ph/2011/05/24/failed-to-load-javahl-library/' rel='bookmark' title='Failed to load JavaHL Library'>Failed to load JavaHL Library</a></li>
<li><a href='http://blog.randell.ph/2010/10/01/php-fatal-error-class-domdocument-not-found/' rel='bookmark' title='PHP Fatal error:  Class &#8216;DOMDocument&#8217; not found'>PHP Fatal error:  Class &#8216;DOMDocument&#8217; not found</a></li>
<li><a href='http://blog.randell.ph/2010/04/04/setuptools/' rel='bookmark' title='Install setuptools in Fedora 12'>Install setuptools in Fedora 12</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F11%2F28%2Fcannot-complete-the-install-because-one-or-more-required-items-could-not-be-found-software-being-installed-subversion-revision-graph-1-0-9%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F11%2F28%2Fcannot-complete-the-install-because-one-or-more-required-items-could-not-be-found-software-being-installed-subversion-revision-graph-1-0-9%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<blockquote><p>Cannot complete the install because one or more required items could not be found.<br />
  Software being installed: Subversion Revision Graph 1.0.9 (org.tigris.subversion.subclipse.graph.feature.feature.group 1.0.9)<br />
  Missing requirement: Subversion Revision Graph 1.0.9 (org.tigris.subversion.subclipse.graph.feature.feature.group 1.0.9) requires &#8216;org.eclipse.draw2d 3.2.0&#8242; but it could not be found</p></blockquote>
<p>If you happen to get this error while installing the Subclipse plugin on Aptana Studio 3, it means you need to install the Graphical Editing Framework Draw2d first, which is not included in the current Aptana Studio 3 package.</p>
<p>Draw2d is part of GEF, which you can get from <a href="http://download.eclipse.org/tools/gef/updates/releases/" title="http://download.eclipse.org/tools/gef/updates/releases/">http://download.eclipse.org/tools/gef/updates/releases/</a>. Draw2d is the first package when you expand the GEF from the menu. No need to install the other items unless you know that you need them for something else.</p>
<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/06/17/error-validating-location-org-tigris-subversion-javahl-clientexception-network-connection-closed-unexpectedly/' rel='bookmark' title='Error validating location: &#8220;org.tigris.subversion.javahl.ClientException: Network connection closed unexpectedly&#8221;'>Error validating location: &#8220;org.tigris.subversion.javahl.ClientException: Network connection closed unexpectedly&#8221;</a></li>
<li><a href='http://blog.randell.ph/2011/05/24/failed-to-load-javahl-library/' rel='bookmark' title='Failed to load JavaHL Library'>Failed to load JavaHL Library</a></li>
<li><a href='http://blog.randell.ph/2010/10/01/php-fatal-error-class-domdocument-not-found/' rel='bookmark' title='PHP Fatal error:  Class &#8216;DOMDocument&#8217; not found'>PHP Fatal error:  Class &#8216;DOMDocument&#8217; not found</a></li>
<li><a href='http://blog.randell.ph/2010/04/04/setuptools/' rel='bookmark' title='Install setuptools in Fedora 12'>Install setuptools in Fedora 12</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2011/11/28/cannot-complete-the-install-because-one-or-more-required-items-could-not-be-found-software-being-installed-subversion-revision-graph-1-0-9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fedora 16 pre/post-installation setup</title>
		<link>http://blog.randell.ph/2011/11/19/fedora-16-prepost-installation-setup/</link>
		<comments>http://blog.randell.ph/2011/11/19/fedora-16-prepost-installation-setup/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 06:17:20 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Alacarte]]></category>
		<category><![CDATA[Aptana]]></category>
		<category><![CDATA[Azureus]]></category>
		<category><![CDATA[Calibre]]></category>
		<category><![CDATA[chmsee]]></category>
		<category><![CDATA[cmake]]></category>
		<category><![CDATA[Fedora 16]]></category>
		<category><![CDATA[Filezilla]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[GIMP]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Grip]]></category>
		<category><![CDATA[Java SE SDK]]></category>
		<category><![CDATA[LibreOffice]]></category>
		<category><![CDATA[MySQL Workbench]]></category>
		<category><![CDATA[OptiPNG]]></category>
		<category><![CDATA[P7zip]]></category>
		<category><![CDATA[pgadmin3]]></category>
		<category><![CDATA[PulseCaster]]></category>
		<category><![CDATA[PyLint]]></category>
		<category><![CDATA[QT]]></category>
		<category><![CDATA[RPM Fusion]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[Unrar]]></category>
		<category><![CDATA[VLC]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=2387</guid>
		<description><![CDATA[This is pretty much the same as my post for Fedora 15, but I modified some details to make sure everything is relevant for Fedora 16. I also converted the steps that requires downloading and installing into one executable command, whenever possible. I also added the -y option to the yum commands so we can [...]
Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/05/29/fedora-15-prepost-installation-setup/' rel='bookmark' title='Fedora 15 pre/post-installation setup'>Fedora 15 pre/post-installation setup</a></li>
<li><a href='http://blog.randell.ph/2010/11/17/fedora-14-post-installation-setup/' rel='bookmark' title='Fedora 14 post-installation setup'>Fedora 14 post-installation setup</a></li>
<li><a href='http://blog.randell.ph/2009/07/22/setting-up-fedora-11/' rel='bookmark' title='Setting-up Fedora 11'>Setting-up Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2008/12/03/setting-up-fedora-10/' rel='bookmark' title='Setting-up Fedora 10'>Setting-up Fedora 10</a></li>
<li><a href='http://blog.randell.ph/2008/06/05/setting-up-fedora-9/' rel='bookmark' title='Setting-up Fedora 9'>Setting-up Fedora 9</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F11%2F19%2Ffedora-16-prepost-installation-setup%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F11%2F19%2Ffedora-16-prepost-installation-setup%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is pretty much the same as <a href="http://blog.randell.ph/2011/05/29/fedora-15-prepost-installation-setup/" title="Fedora 15 pre/post-installation setup">my post for Fedora 15</a>, but I modified some details to make sure everything is relevant for Fedora 16.</p>
<p>I also converted the steps that requires downloading and installing into one executable command, whenever possible. I also added the <code>-y</code> option to the yum commands so we can skip the questions if we really want to install the packages since most of the time we type &#8216;yes&#8217; anyway.</p>
<p>These are the packages I chose during the pre-installation setup:</p>
<p><strong>Applications</strong></p>
<ul>
<li>Design Suite (contains GIMP and OptiPNG, plus more)</li>
<li>Office/Productivity (contains LibreOffice)</li>
<li>Sound &amp; Video (checked k3b)</li>
</ul>
<p><strong>Development</strong></p>
<ul>
<li>Development Tools (checked cmake and PyLint)</li>
<li>Java Development</li>
</ul>
<p><strong>Servers</strong></p>
<ul>
<li>Mail Server (SendMail)</li>
<li>MySQL Database (checked php-mysql)</li>
<li>PostgreSQL Database</li>
<li>Printing Support</li>
<li>Server Configuration Tools</li>
<li>Web Server (mod_python, mod_ssl, php, php-ldap)</li>
</ul>
<p><strong>Base System</strong></p>
<ul>
<li>Administration Tools</li>
<li>System Tools</li>
</ul>
<p>And here&#8217;s my post-installation setup:</p>
<h3>Update</h3>
<p>Updating for the first time also installs the GPG keys, which are needed so you won’t get errors regarding unsigned packages when you use the “fedora” and “updates” repositories of Fedora. In our terminal, as root, type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> update</pre></div></div>

<h3>RPM Fusion</h3>
<p>From <a title="RPM Fusion" href="http://rpmfusion.org/" target="_blank">the RPM Fusion website site</a>:</p>
<blockquote><p>RPM Fusion provides software that the <a href="http://fedoraproject.org/">Fedora Project</a> or <a href="http://www.redhat.com/">Red Hat</a> doesn&#8217;t want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5; you can use the RPM Fusion repositories with tools like yum and PackageKit.</p>
<p>RPM Fusion is a merger of <a href="http://dribble.org.uk/">Dribble</a>, <a href="http://freshrpms.net/">Freshrpms</a>, and <a href="http://rpm.livna.org/">Livna</a>; our goal is to simplify end-user experience by grouping as much add-on software as possible in a single location.</p></blockquote>
<p>To install both the free and non-free repositories, simply download and double-click the <a href="http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm">RPM Fusion free for Fedora 14, 15 and 16</a> and <a href="http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm">RPM Fusion nonfree for Fedora 14, 15 and 16</a> from the <a title="RPM Fusionm Configuration" href="http://rpmfusion.org/Configuration">RPM Fusion Configuration </a>page.</p>
<h3>Google Chrome</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> lsb <span style="color: #666666; font-style: italic;"># dependency</span>
rpm <span style="color: #660033;">-ivh</span> http:<span style="color: #000000; font-weight: bold;">//</span>dl.google.com<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>direct<span style="color: #000000; font-weight: bold;">/</span>google-chrome-stable_current_i386.rpm</pre></div></div>

<h3>Mozilla Firefox</h3>
<p><a title="Firefox add-ons I actively use" href="http://blog.randell.ph/2010/04/07/firefox-add-ons-i-actively-use/" target="_blank">Firefox add-ons that use</a>.</p>
<h3>Azureus</h3>
<p>This is what I use to download torrents.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> azureus</pre></div></div>

<h3>p7zip</h3>
<p>For operating with the 7z file archiving format.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> p7zip</pre></div></div>

<h3>Filezilla</h3>
<p>For transfering files between machines.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> filezilla</pre></div></div>

<h3>pgadmin3</h3>
<p>For PostgreSQL database administration.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> pgadmin3</pre></div></div>

<h3>VLC</h3>
<p>For watching videos without worrying about the file formats:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> vlc</pre></div></div>

<h3>Unrar</h3>
<p>For extracting RAR file archives.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> unrar</pre></div></div>

<h3>Grip</h3>
<p>CD-ripper with database lookup/submission to share track information over the net, supports OGG and FLAC and adding ID3v1/v2 to MP3s.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> grip</pre></div></div>

<h3>Skype</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">-ivh</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.skype.com<span style="color: #000000; font-weight: bold;">/</span>go<span style="color: #000000; font-weight: bold;">/</span>getskype-linux-beta-fc10</pre></div></div>

<h3>PulseCaster</h3>
<p>This is what I use for recording Skype calls.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> pulsecaster</pre></div></div>

<h3>vsftpd</h3>
<p>Secure, fast FTP server</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> vsftpd</pre></div></div>

<h3>Alacarte</h3>
<p>To <a href="http://blog.randell.ph/2011/08/01/how-to-create-custom-application-launchers-in-gnome-3/" title="How to create custom application launchers in Gnome 3">create custom application launchers in Gnome 3</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> alacarte</pre></div></div>

<h3>PHP</h3>
<p>Some PHP modules that I need for web development.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php-gd php-mbstring php-pgsql php-xml</pre></div></div>

<h3>MySQL Workbench</h3>
<p>For designing databases visually.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mysql-workbench</pre></div></div>

<h3>Calibre</h3>
<p>For converting e-books to different formats and for managing your e-book collection.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> calibre</pre></div></div>

<h3>chmsee</h3>
<p>HTML Help viewer for Unix/Linux (for viewing <code>.chm</code> files).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> chmsee</pre></div></div>

<h3>Development files for Qt toolkit</h3>
<p>To develop applications using the Qt toolkit. And include the graphical configuration tool as well.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> qt-devel qt-config</pre></div></div>

<h3>GStreamer non-free plugins</h3>
<p>From the <a title="Non-free plugins for GStreamer" href="http://fedoraunity.org/Members/jpmahowald/non-free-plugins-for-gstreamer">Fedora Unity Project</a>:</p>
<blockquote><p>GStreamer is a multimedia framework used by many media players including rhythmbox, banshee, totem, listen, exaile and others. Due to legal issues support for various non-free formats , including mp3 files, aren&#8217;t included with GStreamer by default. You can add support for mp3 and other formats by installing an add-on package from the third party repository rpm.livna.org</p></blockquote>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg phonon-backend-gstreamer</pre></div></div>

<h3>FFMpeg</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> ffmpeg-libs</pre></div></div>

<h3>DVD playback</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libdvdread libdvdnav lsdvd</pre></div></div>

<h3>JavaHL</h3>
<p><a href="http://blog.randell.ph/2011/05/24/failed-to-load-javahl-library/" title="Failed to load JavaHL Library">To avoid this error in Eclipse and Aptana</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> subversion-javahl</pre></div></div>

<h3>Oracle JDK</h3>
<p>Download and install the Java SE SDK RPM from the <a title="Java SE Downloads" href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">Java SE Downloads page</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">-ivh</span> http:<span style="color: #000000; font-weight: bold;">//</span>download.oracle.com<span style="color: #000000; font-weight: bold;">/</span>otn-pub<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>jdk<span style="color: #000000; font-weight: bold;">/</span>7u1-b08<span style="color: #000000; font-weight: bold;">/</span>jdk-7u1-linux-i586.rpm</pre></div></div>

<p>Then setup Java JDK java, libjavaplugin.so (for Firefox), javac, and jar using <code>alternatives –install</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">alternatives <span style="color: #660033;">--install</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>java java <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>jdk1.7.0_01<span style="color: #000000; font-weight: bold;">/</span>jre<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>java <span style="color: #000000;">20000</span>
alternatives <span style="color: #660033;">--install</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mozilla<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>libjavaplugin.so  libjavaplugin.so <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>jdk1.7.0_01<span style="color: #000000; font-weight: bold;">/</span>jre<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span>libnpjp2.so <span style="color: #000000;">20000</span>
alternatives <span style="color: #660033;">--install</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>javac javac <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>jdk1.7.0_01<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>javac <span style="color: #000000;">20000</span>
alternatives <span style="color: #660033;">--install</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>jar jar <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>jdk1.7.0_01<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>jar <span style="color: #000000;">20000</span></pre></div></div>

<p>Add the following JAVA_HOME environment variable to <code>/etc/profile</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">JAVA_HOME</span>=<span style="color: #ff0000;">&quot;/usr/java/jdk1.7.0_01&quot;</span></pre></div></div>

<h3>Aptana</h3>
<p>Download and extract Aptana 3 from <a href="http://www.aptana.com/">http://www.aptana.com/</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>download.aptana.com<span style="color: #000000; font-weight: bold;">/</span>studio3<span style="color: #000000; font-weight: bold;">/</span>standalone<span style="color: #000000; font-weight: bold;">/</span>3.0.6<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>Aptana_Studio_3_Setup_Linux_x86_3.0.6.zip
<span style="color: #c20cb9; font-weight: bold;">unzip</span> Aptana_Studio_3_Setup_Linux_x86_3.0.6.zip</pre></div></div>

<h3>GnomeTweakTool</h3>
<p>Customize advanced GNOME 3 options and easily change the font sizes for applications, documents and windows.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gnome-tweak-tool</pre></div></div>

<p>After installing TweakTool, I customized my fonts as follows:</p>
<ul>
<li>Document font: Sans 10</li>
<li>Monospace font: Monospace 10</li>
<li>Window title font: Cantarell 10</li>
</ul>
<h3>Startup services</h3>
<p>Make sure Httpd and MySQL starts up on boot.</p>
<pre>chkconfig --levels 235 httpd on
systemctl start mysqld.service
systemctl enable mysqld.service</pre>
<h3>Make personal user space accessible to apache user</h3>
<p>First, add apache user to user group. Execute a command similar to this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">usermod <span style="color: #660033;">-a</span> <span style="color: #660033;">-G</span> randell apache</pre></div></div>

<p>Then modify the permissions of the user directory with:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">770</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>randell<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<h3>File Management Preferences</h3>
<p>From a Nautilus window, go to Edit &gt; Preferences. I modified mine to reflect the following changes:</p>
<ul>
<li>Default View &gt; View new folders using: List View</li>
<li>Icon View Defaults &gt; Default zoom level: 66%</li>
<li>List View Defaults &gt; Default zoom level: 33%</li>
</ul>
<h3>Favorites</h3>
<p>I customized my Favorites to include these frequently used applications:</p>
<ul>
<li>Chrome</li>
<li>Firefox (added by default)</li>
<li>Terminal</li>
<li>gedit</li
<li>Files (added by default)</li>
<li>Rhythmbox</li>
<li>Take Screenshot</li>
</ul>
<h3>Terminal</h3>
<p>Edit &gt; Profile Preferences &gt; Colors &gt; Foreground and Background</p>
<ul>
<li>Use colors from system theme: Unchecked</li>
<li>Built-in schemes: Green on black</li>
</ul>
<h3>Text Editor</h3>
<p>Edit &gt; Preferences</p>
<ul>
<li>View
<ul>
<li>Display line numbers: Checked</li>
<li>Display right margin at column: 80</li>
<li>Highlight current line: Checked</li>
<li>Highlight matching brackets: Checked</li>
</ul>
</li>
<li>Editor
<ul>
<li>Tab Stops
<ul>
<li>Tab width: 4</li>
<li>Insert spaces instead of tabs: Checked</li>
<li>Enable automatic indentation: Checked</li>
</ul>
<li>File Saving
<ul>
<li>Create a backup of files before saving: Unchecked</li>
<li>Autosave files every: 5 minutes</li>
</ul>
</li>
<li>Font &amp; Colors &gt; Color Scheme: Oblivion</li>
</ul>
</li>
</ul>
<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/05/29/fedora-15-prepost-installation-setup/' rel='bookmark' title='Fedora 15 pre/post-installation setup'>Fedora 15 pre/post-installation setup</a></li>
<li><a href='http://blog.randell.ph/2010/11/17/fedora-14-post-installation-setup/' rel='bookmark' title='Fedora 14 post-installation setup'>Fedora 14 post-installation setup</a></li>
<li><a href='http://blog.randell.ph/2009/07/22/setting-up-fedora-11/' rel='bookmark' title='Setting-up Fedora 11'>Setting-up Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2008/12/03/setting-up-fedora-10/' rel='bookmark' title='Setting-up Fedora 10'>Setting-up Fedora 10</a></li>
<li><a href='http://blog.randell.ph/2008/06/05/setting-up-fedora-9/' rel='bookmark' title='Setting-up Fedora 9'>Setting-up Fedora 9</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2011/11/19/fedora-16-prepost-installation-setup/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>error: can&#8217;t create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)</title>
		<link>http://blog.randell.ph/2011/11/02/error-cant-create-transaction-lock-on-varlibrpm-rpm-lock-permission-denied/</link>
		<comments>http://blog.randell.ph/2011/11/02/error-cant-create-transaction-lock-on-varlibrpm-rpm-lock-permission-denied/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 17:51:39 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Dev Notes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=2371</guid>
		<description><![CDATA[sudo does the trick. Related posts: PHP Fatal error: Class &#8216;DOMDocument&#8217; not found
Related posts:<ol>
<li><a href='http://blog.randell.ph/2010/10/01/php-fatal-error-class-domdocument-not-found/' rel='bookmark' title='PHP Fatal error:  Class &#8216;DOMDocument&#8217; not found'>PHP Fatal error:  Class &#8216;DOMDocument&#8217; not found</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F11%2F02%2Ferror-cant-create-transaction-lock-on-varlibrpm-rpm-lock-permission-denied%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F11%2F02%2Ferror-cant-create-transaction-lock-on-varlibrpm-rpm-lock-permission-denied%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><code>sudo</code> does the trick.</p>
<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2010/10/01/php-fatal-error-class-domdocument-not-found/' rel='bookmark' title='PHP Fatal error:  Class &#8216;DOMDocument&#8217; not found'>PHP Fatal error:  Class &#8216;DOMDocument&#8217; not found</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2011/11/02/error-cant-create-transaction-lock-on-varlibrpm-rpm-lock-permission-denied/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to create custom application launchers in Gnome 3</title>
		<link>http://blog.randell.ph/2011/08/01/how-to-create-custom-application-launchers-in-gnome-3/</link>
		<comments>http://blog.randell.ph/2011/08/01/how-to-create-custom-application-launchers-in-gnome-3/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 16:00:33 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Alacarte]]></category>
		<category><![CDATA[Fedora 15]]></category>
		<category><![CDATA[GNOME 3]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=2294</guid>
		<description><![CDATA[Back in Gnome 2, we can simply right-clicked on a panel and chose &#8220;Create custom launcher&#8221; to create custom application launchers. But since the advent of Gnome 3, the panels where we add our frequently-used applications have been replaced with the Dash. Alacarte is a graphical menu editor that lets you edit, add, and delete [...]
Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/07/13/how-to-add-power-off-option-in-gnome-3-user-menu-on-fedora-15/' rel='bookmark' title='How to add Power Off option in Gnome 3 User Menu on Fedora 15'>How to add Power Off option in Gnome 3 User Menu on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2011/05/29/gnome-3-on-fedora-15/' rel='bookmark' title='GNOME 3 on Fedora 15'>GNOME 3 on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2011/07/01/how-to-clear-recent-documents-in-fedora-15-gnome-3/' rel='bookmark' title='How to clear recent documents in Fedora 15 Gnome 3'>How to clear recent documents in Fedora 15 Gnome 3</a></li>
<li><a href='http://blog.randell.ph/2009/09/01/install-handbrake-on-fedora-11/' rel='bookmark' title='Install Handbrake on Fedora 11'>Install Handbrake on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/10/21/fix-sound-problems-in-fedora-11/' rel='bookmark' title='Fix Sound Problems in Fedora 11'>Fix Sound Problems in Fedora 11</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F08%2F01%2Fhow-to-create-custom-application-launchers-in-gnome-3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F08%2F01%2Fhow-to-create-custom-application-launchers-in-gnome-3%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Back in Gnome 2, we can simply right-clicked on a panel and chose &#8220;Create custom launcher&#8221; to create custom application launchers. But since the advent of Gnome 3, the panels where we add our frequently-used applications have been replaced with the Dash.</p>
<blockquote><p>Alacarte is a graphical menu editor that lets you edit, add, and delete menu entries. It follows the freedesktop.org menu specification and should work with any desktop environment that uses this specification.</p></blockquote>
<p>Alacarte is the same menu editor that was available in Gnome 2. The only difference is the way we open it. In Gnome 3, we now select it from the App List.</p>
<p>But first we need to install Alacarte. As root, execute the following command in your terminal:</p>

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

<p>Run Alacarte by searching and clicking it from the Applications menu (it shows up as Main Menu) or executing it from the command line. Doing so should show you this familiar window:</p>
<div id="attachment_2295" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-2295" title="Alacarte - Main Menu" src="http://blog.randell.ph/wp-content/uploads/2011/07/01-Screenshot-Main-Menu.png" alt="Alacarte - Main Menu" width="500" height="393" /><p class="wp-caption-text">Alacarte - Main Menu</p></div>
<p>Choose the menu where you want your application to fall under and then click the New Item button.</p>
<div id="attachment_2296" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-2296" title="Alacarte - Create Launcher" src="http://blog.randell.ph/wp-content/uploads/2011/07/02-Screenshot-Create-Launcher.png" alt="Alacarte - Create Launcher" width="400" height="192" /><p class="wp-caption-text">Alacarte - Create Launcher</p></div>
<p>In this example, I used the details for the SpringSource Tool Suite, which I just installed, replacing the icon with that of STS (icon.xpm), and pointing the Command to the STS executable file. Then click OK.</p>
<div id="attachment_2297" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-2297" title="Alacarte - Create Launcher with details" src="http://blog.randell.ph/wp-content/uploads/2011/07/03-Screenshot-Create-Launcher-1.png" alt="Alacarte - Create Launcher with details" width="400" height="192" /><p class="wp-caption-text">Alacarte - Create Launcher with details</p></div>
<p>That&#8217;s it. We&#8217;ve created our application launcher. To verify, we can search the STS application launcher we created from the App List.</p>
<div id="attachment_2300" class="wp-caption aligncenter" style="width: 512px"><img class="size-full wp-image-2300" title="Gnome 3 Application Search" src="http://blog.randell.ph/wp-content/uploads/2011/07/04-Gnome-3-Application-Search.png" alt="Gnome 3 Application Search" width="502" height="138" /><p class="wp-caption-text">Gnome 3 Application Search</p></div>
<p>If you think you&#8217;re going to use the launcher frequently, you can simply right-click on it and select Add to Favorites to add it in the Dash.</p>
<div id="attachment_2302" class="wp-caption aligncenter" style="width: 393px"><img class="size-full wp-image-2302" title="Gnome 3 - Add to Favorites" src="http://blog.randell.ph/wp-content/uploads/2011/07/05-Gnome-3-Add-to-Favorites.png" alt="Gnome 3 - Add to Favorites" width="383" height="297" /><p class="wp-caption-text">Gnome 3 - Add to Favorites</p></div>
<p>Voila! The launcher is now available from the Dash.</p>
<div id="attachment_2311" class="wp-caption aligncenter" style="width: 77px"><img class="size-full wp-image-2311" title="The Dash containing the new application launcher" src="http://blog.randell.ph/wp-content/uploads/2011/07/dash.png" alt="The Dash containing the new application launcher" width="67" height="242" /><p class="wp-caption-text">The Dash containing the new application launcher</p></div>
<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/07/13/how-to-add-power-off-option-in-gnome-3-user-menu-on-fedora-15/' rel='bookmark' title='How to add Power Off option in Gnome 3 User Menu on Fedora 15'>How to add Power Off option in Gnome 3 User Menu on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2011/05/29/gnome-3-on-fedora-15/' rel='bookmark' title='GNOME 3 on Fedora 15'>GNOME 3 on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2011/07/01/how-to-clear-recent-documents-in-fedora-15-gnome-3/' rel='bookmark' title='How to clear recent documents in Fedora 15 Gnome 3'>How to clear recent documents in Fedora 15 Gnome 3</a></li>
<li><a href='http://blog.randell.ph/2009/09/01/install-handbrake-on-fedora-11/' rel='bookmark' title='Install Handbrake on Fedora 11'>Install Handbrake on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/10/21/fix-sound-problems-in-fedora-11/' rel='bookmark' title='Fix Sound Problems in Fedora 11'>Fix Sound Problems in Fedora 11</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2011/08/01/how-to-create-custom-application-launchers-in-gnome-3/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>How to add Power Off option in Gnome 3 User Menu on Fedora 15</title>
		<link>http://blog.randell.ph/2011/07/13/how-to-add-power-off-option-in-gnome-3-user-menu-on-fedora-15/</link>
		<comments>http://blog.randell.ph/2011/07/13/how-to-add-power-off-option-in-gnome-3-user-menu-on-fedora-15/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 16:00:54 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Fedora 15]]></category>
		<category><![CDATA[GNOME 3]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Power Off]]></category>
		<category><![CDATA[Suspend]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=2264</guid>
		<description><![CDATA[Because of Gnome 3&#8242;s deep hardware integration, if Fedora indicates that the Suspend is known to work on your machine, it shows the Suspend option in the User Menu instead of the Power Off option. But for us who want the Power Off option available all the time, and don&#8217;t want to Log Out first [...]
Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/08/01/how-to-create-custom-application-launchers-in-gnome-3/' rel='bookmark' title='How to create custom application launchers in Gnome 3'>How to create custom application launchers in Gnome 3</a></li>
<li><a href='http://blog.randell.ph/2011/05/29/gnome-3-on-fedora-15/' rel='bookmark' title='GNOME 3 on Fedora 15'>GNOME 3 on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2009/09/17/install-idle-on-fedora-11/' rel='bookmark' title='Install IDLE on Fedora 11'>Install IDLE on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/08/06/ultimate-power/' rel='bookmark' title='Ultimate power'>Ultimate power</a></li>
<li><a href='http://blog.randell.ph/2011/07/01/how-to-clear-recent-documents-in-fedora-15-gnome-3/' rel='bookmark' title='How to clear recent documents in Fedora 15 Gnome 3'>How to clear recent documents in Fedora 15 Gnome 3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F07%2F13%2Fhow-to-add-power-off-option-in-gnome-3-user-menu-on-fedora-15%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F07%2F13%2Fhow-to-add-power-off-option-in-gnome-3-user-menu-on-fedora-15%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Because of Gnome 3&#8242;s deep hardware integration, if Fedora indicates that the Suspend is known to work on your machine, it shows the Suspend option in the User Menu instead of the Power Off option.</p>
<p>But for us who want the Power Off option available all the time, and don&#8217;t want to Log Out first before shutting-down the machine, there&#8217;s the alternative-status-menu Gnome extension which replaces the default Gnome 3 User Menu with one that includes both Suspend and Power Off options.<br />
Execute the following as root to install the Gnome extension.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> gnome-shell-extensions-alternative-status-menu</pre></div></div>

<p>Then refresh Gnome shell by pressing <code>Alt</code> + <code>F2</code>, enter <code>r</code>, then press <code>Enter</code>. After the refresh, your User Menu should now like something similar to this one:</p>
<div id="attachment_2267" class="wp-caption aligncenter" style="width: 260px"><img class="size-full wp-image-2267" title="Fedora 15 Gnome 3 User Menu" src="http://blog.randell.ph/wp-content/uploads/2011/06/Fedora-15-Gnome-3-User-Menu.png" alt="Fedora 15 Gnome 3 User Menu" width="250" height="438" /><p class="wp-caption-text">Fedora 15 Gnome 3 User Menu</p></div>
<p><em>Note: This particular extension adds the Hibernate option, too!</em></p>
<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/08/01/how-to-create-custom-application-launchers-in-gnome-3/' rel='bookmark' title='How to create custom application launchers in Gnome 3'>How to create custom application launchers in Gnome 3</a></li>
<li><a href='http://blog.randell.ph/2011/05/29/gnome-3-on-fedora-15/' rel='bookmark' title='GNOME 3 on Fedora 15'>GNOME 3 on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2009/09/17/install-idle-on-fedora-11/' rel='bookmark' title='Install IDLE on Fedora 11'>Install IDLE on Fedora 11</a></li>
<li><a href='http://blog.randell.ph/2009/08/06/ultimate-power/' rel='bookmark' title='Ultimate power'>Ultimate power</a></li>
<li><a href='http://blog.randell.ph/2011/07/01/how-to-clear-recent-documents-in-fedora-15-gnome-3/' rel='bookmark' title='How to clear recent documents in Fedora 15 Gnome 3'>How to clear recent documents in Fedora 15 Gnome 3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2011/07/13/how-to-add-power-off-option-in-gnome-3-user-menu-on-fedora-15/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to clear recent documents in Fedora 15 Gnome 3</title>
		<link>http://blog.randell.ph/2011/07/01/how-to-clear-recent-documents-in-fedora-15-gnome-3/</link>
		<comments>http://blog.randell.ph/2011/07/01/how-to-clear-recent-documents-in-fedora-15-gnome-3/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 16:01:39 +0000</pubDate>
		<dc:creator>Randell</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[desktop bookmarks]]></category>
		<category><![CDATA[Fedora 15]]></category>
		<category><![CDATA[GNOME 3]]></category>

		<guid isPermaLink="false">http://blog.randell.ph/?p=2259</guid>
		<description><![CDATA[Truncate the file containing your the desktop bookmarks. &#34;&#34; &#62; ~/.local/share/recently-used.xbel Make it immutable. sudo chattr +i ~/.local/share/recently-used.xbel Related posts: How to create custom application launchers in Gnome 3 Fix for &#8220;Aw, Snap!&#8221; when loading Twitter on Chrome on Fedora 15 with SELinux enforcing enabled GNOME 3 on Fedora 15 How to add Power Off [...]
Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/08/01/how-to-create-custom-application-launchers-in-gnome-3/' rel='bookmark' title='How to create custom application launchers in Gnome 3'>How to create custom application launchers in Gnome 3</a></li>
<li><a href='http://blog.randell.ph/2011/06/11/fix-for-aw-snap-while-loading-twitter-in-fedora-15-with-selinux-enforcing-enabled/' rel='bookmark' title='Fix for &#8220;Aw, Snap!&#8221; when loading Twitter on Chrome on Fedora 15 with SELinux enforcing enabled'>Fix for &#8220;Aw, Snap!&#8221; when loading Twitter on Chrome on Fedora 15 with SELinux enforcing enabled</a></li>
<li><a href='http://blog.randell.ph/2011/05/29/gnome-3-on-fedora-15/' rel='bookmark' title='GNOME 3 on Fedora 15'>GNOME 3 on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2011/07/13/how-to-add-power-off-option-in-gnome-3-user-menu-on-fedora-15/' rel='bookmark' title='How to add Power Off option in Gnome 3 User Menu on Fedora 15'>How to add Power Off option in Gnome 3 User Menu on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2009/07/22/setting-up-fedora-11/' rel='bookmark' title='Setting-up Fedora 11'>Setting-up Fedora 11</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F07%2F01%2Fhow-to-clear-recent-documents-in-fedora-15-gnome-3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.randell.ph%2F2011%2F07%2F01%2Fhow-to-clear-recent-documents-in-fedora-15-gnome-3%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Truncate the file containing your the <a title="Specifications/desktop-bookmark-spec" href="http://www.freedesktop.org/wiki/Specifications/desktop-bookmark-spec" target="_blank">desktop bookmarks</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.local<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>recently-used.xbel</pre></div></div>

<p>Make it immutable.</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;">chattr</span> +i ~<span style="color: #000000; font-weight: bold;">/</span>.local<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>recently-used.xbel</pre></div></div>

<p>Related posts:<ol>
<li><a href='http://blog.randell.ph/2011/08/01/how-to-create-custom-application-launchers-in-gnome-3/' rel='bookmark' title='How to create custom application launchers in Gnome 3'>How to create custom application launchers in Gnome 3</a></li>
<li><a href='http://blog.randell.ph/2011/06/11/fix-for-aw-snap-while-loading-twitter-in-fedora-15-with-selinux-enforcing-enabled/' rel='bookmark' title='Fix for &#8220;Aw, Snap!&#8221; when loading Twitter on Chrome on Fedora 15 with SELinux enforcing enabled'>Fix for &#8220;Aw, Snap!&#8221; when loading Twitter on Chrome on Fedora 15 with SELinux enforcing enabled</a></li>
<li><a href='http://blog.randell.ph/2011/05/29/gnome-3-on-fedora-15/' rel='bookmark' title='GNOME 3 on Fedora 15'>GNOME 3 on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2011/07/13/how-to-add-power-off-option-in-gnome-3-user-menu-on-fedora-15/' rel='bookmark' title='How to add Power Off option in Gnome 3 User Menu on Fedora 15'>How to add Power Off option in Gnome 3 User Menu on Fedora 15</a></li>
<li><a href='http://blog.randell.ph/2009/07/22/setting-up-fedora-11/' rel='bookmark' title='Setting-up Fedora 11'>Setting-up Fedora 11</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.randell.ph/2011/07/01/how-to-clear-recent-documents-in-fedora-15-gnome-3/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

