<?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>Pr0gr4mm3r &#187; Linux</title>
	<atom:link href="http://pr0gr4mm3r.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://pr0gr4mm3r.com</link>
	<description>Free tools and information maintained by an online entrepreneur.</description>
	<lastBuildDate>Tue, 12 Oct 2010 16:01:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CD Labels for Ubuntu 10.10 Maverick Meerkat</title>
		<link>http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-10-maverick-meerkat/</link>
		<comments>http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-10-maverick-meerkat/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 01:08:29 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pr0gr4mm3r.com/?p=287</guid>
		<description><![CDATA[Here are some CD labels that I designed for Ubuntu 10.10 Maverick Meerkat. Right click on the thumbnails and select &#8220;Select Link As&#8230;&#8221; or &#8220;Save Target As&#8230;&#8221; to save the images to your computer. If you want to download them all along with the GIMP source file, here it is: Ubuntu 10.10 CD Covers When [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some CD labels that I designed for Ubuntu 10.10 Maverick Meerkat.  Right click on the thumbnails and select &#8220;Select Link As&#8230;&#8221; or &#8220;Save Target As&#8230;&#8221; to save the images to your computer.</p>

<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-10-maverick-meerkat/attachment/ubuntu_10-10_desktop_amd64/' title='ubuntu_10.10_desktop_amd64'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/10/ubuntu_10.10_desktop_amd64-150x150.jpg" class="attachment-thumbnail" alt="ubuntu_10.10_desktop_amd64" title="ubuntu_10.10_desktop_amd64" /></a>
<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-10-maverick-meerkat/attachment/ubuntu_10-10_desktop_i386/' title='ubuntu_10.10_desktop_i386'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/10/ubuntu_10.10_desktop_i386-150x150.jpg" class="attachment-thumbnail" alt="ubuntu_10.10_desktop_i386" title="ubuntu_10.10_desktop_i386" /></a>
<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-10-maverick-meerkat/attachment/ubuntu_10-10_netbook_i386/' title='ubuntu_10.10_netbook_i386'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/10/ubuntu_10.10_netbook_i386-150x150.jpg" class="attachment-thumbnail" alt="ubuntu_10.10_netbook_i386" title="ubuntu_10.10_netbook_i386" /></a>
<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-10-maverick-meerkat/attachment/ubuntu_10-10_server_amd64/' title='ubuntu_10.10_server_amd64'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/10/ubuntu_10.10_server_amd64-150x150.jpg" class="attachment-thumbnail" alt="ubuntu_10.10_server_amd64" title="ubuntu_10.10_server_amd64" /></a>
<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-10-maverick-meerkat/attachment/ubuntu_10-10_server_i386/' title='ubuntu_10.10_server_i386'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/10/ubuntu_10.10_server_i386-150x150.jpg" class="attachment-thumbnail" alt="ubuntu_10.10_server_i386" title="ubuntu_10.10_server_i386" /></a>

<p>If you want to download them all along with the GIMP source file, here it is: <a href="http://pr0gr4mm3r.com/wp-content/uploads/2010/10/ubuntu-cd-1010.zip">Ubuntu 10.10 CD Covers</a></p>
<p>When opening the Gimp source file, make sure you have the Ubuntu title font installed:</p>
<blockquote><p>sudo apt-get install <a href="apt://ttf-ubuntu-title">ttf-ubuntu-title</a></p></blockquote>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-10-maverick-meerkat/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.10 Maverick Meerkat Post-Install Checklist</title>
		<link>http://pr0gr4mm3r.com/linux/ubuntu-10-10-maverick-meerkat-post-install-checklist/</link>
		<comments>http://pr0gr4mm3r.com/linux/ubuntu-10-10-maverick-meerkat-post-install-checklist/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 13:00:01 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pr0gr4mm3r.com/?p=281</guid>
		<description><![CDATA[When the last version of Ubuntu was released, I wrote a post-install checklist with my preferred customizations out of the box.  Here is the slightly updated version for 10.10. These are the steps I do after installing Ubuntu 10.10 Maverick Meerkat. I am collecting them here because I have several computers to upgrade, and I [...]]]></description>
			<content:encoded><![CDATA[<p>When the last version of Ubuntu was released, I wrote a <a href="http://pr0gr4mm3r.com/linux/ubuntu-10-04-lucid-lynx-post-install-checklist/">post-install checklist</a> with my preferred customizations out of the box.  Here is the slightly updated version for 10.10.</p>
<p>These are the steps I do after installing Ubuntu 10.10 Maverick Meerkat.  I am collecting them here because I have several computers to upgrade, and I want to make sure I make the necessary customizations on all of them &#8211; a standard image if you will, so I can move from one to another and have a consistent environment.</p>
<p><span style="color: #ff0000;"><strong>Note:  I will be modifying this article as time goes on and my installation  technique gets tweaked.  Don&#8217;t come to this article 3 months later and  start blindly running the commands because you think you remember what  they do.</strong></span></p>
<h3>Fix the Theme</h3>
<ol>
<li>Right Click Desktop -&gt; Change Desktop Background</li>
<li>Change the background to something other than purple.</li>
<li>Under the Theme tab, select New Wave to put the close button back to the right.</li>
<li>Click Close.</li>
</ol>
<h3>Fix the Terminal</h3>
<ol>
<li>Open Applications -&gt; Accessories -&gt; Terminal</li>
<li>Edit -&gt; Profile Preferences</li>
<li>Uncheck &#8220;Terminal bell&#8221;</li>
<li>Unckeck &#8220;Show menubar by default in new terminals&#8221;</li>
<li>Set the Default size to 125 x 25.</li>
<li>On the Colors tab, uncheck the box that says &#8220;use colors from system theme&#8221; and set to &#8220;White on black&#8221;</li>
<li>Hit Close</li>
<li>Re-open the terminal to see the new size.</li>
</ol>
<h3>Change Some Nautilus Settings</h3>
<ol>
<li>Hit Alt + F2 and type in &#8220;gconf-editor&#8221;</li>
<li>Navigate to /apps/nautilus/preferences/&#8221;</li>
<li>Check the box that says &#8220;always_use_location_entry&#8221; to show the full  address path instead of the folder box thingys</li>
<li>Navigate sideways to the desktop directory to add additional icons  to the desktop as desired</li>
</ol>
<h3>Change the Logon Background</h3>
<ol>
<li>{old method does not work in this version&#8230;researching&#8230;}</li>
</ol>
<h3>Set Ctrl + Alt + Backspace to Restart the X Server</h3>
<ol>
<li>Go to System  -&gt; Preferences -&gt; Keyboard</li>
<li>Click on the Layouts tab</li>
<li>Click on the Options button</li>
<li>Expand the section that says &#8220;Key sequence to kill the X server&#8221;</li>
<li>Check the box next to &#8220;Control + Alt + Backspace&#8221;</li>
</ol>
<h3>Restore Various Computer Settings / Files</h3>
<p>Assuming you backed up your home directory, these are the specific files that I usually restore.</p>
<ul>
<li><strong>Nautilus bookmarks:</strong> ~/.gtk-bookmarks</li>
<li><strong>Mozilla Firefox Profile:</strong> ~/.mozilla</li>
<li><strong>Mozilla Thunderbird Profile:</strong> ~/.thunderbird</li>
<li><strong>SSH Keys &amp; Authorized Hosts:</strong> ~/.ssh</li>
<li><strong>Pidgin Profile:</strong> ~/.purple</li>
<li><strong>Gnome Keyring:</strong> ~/.gnupg &amp; ~/.gnome2/keyrings</li>
<li><strong>gEdit Settings / Snippets:</strong> ~/gnome2/gedit</li>
<li><strong>QuickSynergy:</strong> ~/.quicksynergy</li>
</ul>
<p>These are just the settings and program profiles.  Of course don&#8217;t forget Documents, Desktop (even though you don&#8217;t store a bunch of crap on your desktop, right&#8230;right?), Videos, Pictures, and all the other random folders created over the years.</p>
<h3>Configure Local Apt Mirror</h3>
<ol>
<li>Fire up a terminal</li>
<li>I have the sources.list on my server with the local mirror already in place, so to import it into a new machine, I run this command:<br />
<code>sudo mv /etc/apt/sources.list /etc/apt/sources.list.original<br />
sudo scp server-01:/home/share/apt/maverick.list /etc/apt/sources.list</code></li>
<li>Run &#8220;sudo apt-get update&#8221; to make sure all the sources are reachable.</li>
<li>Run &#8220;sudo apt-get dist-upgrade&#8221; while we are at it.</li>
</ol>
<h3>Install Some Software</h3>
<p><code>sudo apt-get install ubuntu-restricted-extras</code></p>
<p><code>sudo apt-get install abiword alltray amarok armagetronad audacity \<br />
banshee blender bluefish cdrdao chromium-browser clusterssh \<br />
compizconfig-settings-manager devede duplicity dvdauthor easytag-aac \<br />
epiphany-browser ffmpeg filelight frozen-bubble gdesklets gftp gimp gnibbles \<br />
gnome-breakout gnomebaker \<br />
gnumeric gpaint gpass gphpedit graphviz gwakeonlan htop hydrogen inkscape \<br />
k3b kino listen mdbtools-gmdb mencoder mousepad mplayer mysql-admin \<br />
mysql-client mysql-navigator mysql-query-browser neverball neverputt \<br />
oggconvert openclipart-openoffice.org openclipart-png openoffice.org \<br />
openoffice.org-base openssh-server oxygen-icon-theme p7zip-full pidgin \<br />
pidgin-libnotify pidgin-otr pidgin-plugin-pack pingus prism prism-facebook \<br />
prism-google-calendar prism-google-docs prism-google-mail \<br />
prism-google-reader prism-twitter rapidsvn rar sound-juicer sqlitebrowser \<br />
ssh supertux-stable supertuxkart terminator thunderbird ttf-dejavu \<br />
ttf-dejavu-extra ttf-lyx ttf-sil-gentium ttf-sil-gentium-basic \<br />
ttf-symbol-replacement ttf-ubuntu-title vlc wine wireshark xchat subversion \<br />
smbfs gedit-plugins quicksynergy padevchooser nautilus-image-converter</code></p>
<h3>Install Binary nVidia Driver</h3>
<ol>
<li>Install the driver via the Drivers manager &amp; reboot.</li>
<li>Run &#8220;sudo nvidia-settings&#8221;</li>
<li>Click on the X Server Display Configuration and enable the second screen.</li>
<li>Click on Apply, and then Save to X Configuration File.</li>
</ol>
<h3>Connect Samba Shares in /etc/fstab</h3>
<p>I have a couple Samba shares that I want visible on my computer.  Create the empty directories in /mnt where they are to be mounted, and then use the commands like the one below to setup the mount.</p>
<ol>
<li>Copy this in the fstab:<br />
<code>//server/path /mnt/path smbfs credentials=/root/.smbpasswd,uid=1000,gid=1000 0</code></li>
<li> .smbpasswd looks like this:<br />
<code>username=user<br />
password=topsecret</code></li>
</ol>
<h3>Install the Citrix XenApp for Linux</h3>
<p>Citrix is a virtualization software package to run programs remotely.  I use it for work.</p>
<ol>
<li>Download the package from the <a href="http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&amp;productId=186&amp;c1=sot2755#top" target="_blank">download page</a>.</li>
<li>Extract the package using the Nautilus right-click menu or this command: tarr -xzvf linuxx86-*.tar.gz</li>
<li>Fire up a terminal and cd into the directory where the package was extracted to.</li>
<li>Run &#8220;sudo ./setupwfc&#8221; and follow the installation instructions</li>
</ol>
<p>The Citrix receiver will now allow you to run Citrix applications from your favorite web browser.  If you want to configure desktop shortcuts or need to use the GUI manager, run these commands:</p>
<p><code>sudo apt-get install libmotif3<br />
ln -s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so.4</code></p>
<h3>Install DVD Playback</h3>
<p><code>sudo apt-get install libdvdread4<br />
sudo /usr/share/doc/libdvdread4/install-css.sh<br />
</code></p>
<h3>Install MythTV From Source</h3>
<p><a href="http://www.mythtvbook.com/wiki/The_Hard_Way:_Installing_MythTV_From_Source" target="_blank">http://www.mythtvbook.com/wiki/The_Hard_Way:_Installing_MythTV_From_Source</a></p>
<h3>Set the Background to Something Useful</h3>
<p><a href="http://www.webupd8.org/2009/09/real-time-earth-wallpaper-for-linux.html" target="_blank">http://www.webupd8.org/2009/09/real-time-earth-wallpaper-for-linux.html</a></p>
<h3>Configure Alternate Networks (If Laptop)</h3>
<ol>
<li>Configure wireless networks</li>
<li>Configure mobile broadband connection</li>
</ol>
<p>Enable Sudo Insults</p>
<p>sudo visudo<br />
Defaults &#8230;,insults (add insults to the end of this line)<br />
sudo -K</p>
<p><span style="color: #ff0000;"><strong>Note: I will be modifying this article as time goes on and my installation technique gets tweaked.  Don&#8217;t come to this article 3 months later and start blindly running the commands because you think you remember what they do.</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/ubuntu-10-10-maverick-meerkat-post-install-checklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 Lucid Lynx Post-Install Checklist</title>
		<link>http://pr0gr4mm3r.com/linux/ubuntu-10-04-lucid-lynx-post-install-checklist/</link>
		<comments>http://pr0gr4mm3r.com/linux/ubuntu-10-04-lucid-lynx-post-install-checklist/#comments</comments>
		<pubDate>Sat, 08 May 2010 23:14:46 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://pr0gr4mm3r.com/?p=222</guid>
		<description><![CDATA[In general Ubuntu 10.04 is a great OS, but I also find that it has several annoyances, which would be defined as key user interface changes that messes with my daily computer usage.  This includes the placement of the close/min/max buttons, disabling Ctrl + Alt + Backspace, disabling the option to show the full text [...]]]></description>
			<content:encoded><![CDATA[<p>In general Ubuntu 10.04 is a great OS, but I also find that it has several annoyances, which would be defined as key user interface changes that messes with my daily computer usage.  This includes the placement of the close/min/max buttons, disabling Ctrl + Alt + Backspace, disabling the option to show the full text path in Nautilus, a <strong>purple</strong> background (???), etc.  If you are in favor to how these things were, I have the fixes all in one place.</p>
<p>These are the steps I do after installing Ubuntu 10.04 Lucid Lynx.  I am collecting them here because I have several computers to upgrade, and I want to make sure I make the necessary customizations on all of them &#8211; a standard image if you will, so I can move from one to another and have a consistent environment.</p>
<h3>Fix the Theme</h3>
<ol>
<li>Right Click Desktop -&gt; Change Desktop Background</li>
<li>Change the background to something other than purple.</li>
<li>Under the Theme tab, select New Wave to put the close button back to the right.</li>
<li>Click Close.</li>
</ol>
<h3>Fix the Terminal</h3>
<ol>
<li>Open Applications -&gt; Accessories -&gt; Terminal</li>
<li>Edit -&gt; Profile Preferences</li>
<li>Uncheck &#8220;Terminal bell&#8221;</li>
<li>Unckeck &#8220;Show menubar by default in new terminals&#8221;</li>
<li>Set the Default size to 125 x 25.</li>
<li>On the Colors tab, uncheck the box that says &#8220;use colors from system theme&#8221; and set to &#8220;White on black&#8221;</li>
<li>Hit Close</li>
<li>Re-open the terminal to see the new size.</li>
</ol>
<h3>Change Some Nautilus Settings</h3>
<ol>
<li>Hit Alt + F2 and type in &#8220;gconf-editor&#8221;</li>
<li>Navigate to /apps/nautilus/preferences/&#8221;</li>
<li>Check the box that says &#8220;always_use_location_entry&#8221; to show the full  address path instead of the folder box thingys</li>
<li>Navigate sideways to the desktop directory to add additional icons  to the desktop as desired</li>
</ol>
<h3>Change the Logon Background</h3>
<ol>
<li>Open up a terminal, and  run:<br />
<code>sudo -u gdm dbus-launch gnome-appearance-properties</code></li>
<li>Change the background accordingly.</li>
</ol>
<h3>Remove the  Universal Access Preferences Taskbar Icon</h3>
<ol>
<li>Go to System  -&gt; Preferences -&gt; Keyboard</li>
<li>Under the Accessibility Tab,  uncheck the box that says &#8220;Accessibility features can be toggled&#8230;&#8221;</li>
<li>Click Close</li>
</ol>
<h3>Set Ctrl + Alt + Backspace to Restart the X Server</h3>
<ol>
<li>Go to System  -&gt; Preferences -&gt; Keyboard</li>
<li>Click on the Layouts tab</li>
<li>Click on the Options button</li>
<li>Expand the section that says &#8220;Key sequence to kill the X server&#8221;</li>
<li>Check the box next to &#8220;Control + Alt + Backspace&#8221;</li>
</ol>
<h3>Restore Various Computer Settings / Files</h3>
<p>Assuming you backed up your home directory, these are the specific files that I usually restore.</p>
<ul>
<li><strong>Nautilus bookmarks:</strong> ~/.gtk-bookmarks</li>
<li><strong>Mozilla Firefox Profile:</strong> ~/.mozilla</li>
<li><strong>Mozilla Thunderbird Profile:</strong> ~/.thunderbird or ~/.thunderbird-3.0 (if you were like me and upgraded Mozilla Thunderbird to 3.x during the last Ubuntu release)</li>
<li><strong>SSH Keys &amp; Authorized Hosts:</strong> ~/.ssh</li>
<li><strong>Pidgin Profile:</strong> ~/.purple</li>
<li><strong>Gnome Keyring:</strong> ~/.gnupg &amp; ~/.gnome2/keyrings</li>
<li><strong>gEdit Settings / Snippets:</strong> ~/gnome2/gedit</li>
<li><strong>QuickSynergy:</strong> ~/.quicksynergy</li>
</ul>
<p>These are just the settings and program profiles.  Of course don&#8217;t forget Documents, Desktop (even though you don&#8217;t store a bunch of crap on your desktop, right&#8230;right?), Videos, Pictures, and all the other random folders created over the years.</p>
<h3>Configure Local Apt Mirror</h3>
<ol>
<li>Fire up a terminal</li>
<li>I have the sources.list on my server with the local mirror already in place, so to import it into a new machine, I run this command:<br />
<code>sudo mv /etc/apt/sources.list /etc/apt/sources.list.original<br />
sudo scp server-01:/home/share/apt/lucid.list /etc/apt/sources.list</code></li>
<li>Run &#8220;sudo apt-get update&#8221; to make sure all the sources are reachable.</li>
<li>Run &#8220;sudo apt-get dist-upgrade&#8221; while we are at it.</li>
</ol>
<h3>Install Some Software</h3>
<p><code>sudo apt-get install ubuntu-restricted-extras</code></p>
<p><code>sudo apt-get install abiword alltray amarok armagetronad audacity \<br />
banshee blender bluefish cdrdao chromium-browser clusterssh \<br />
compizconfig-settings-manager devede duplicity dvdauthor easytag-aac \<br />
epiphany-browser ffmpeg filelight frozen-bubble gdesklets gftp gimp gnibbles \<br />
gnome-breakout gnome-do gnome-do-docklets gnome-do-plugins gnomebaker \<br />
gnumeric gpaint gpass gphpedit graphviz gwakeonlan htop hydrogen inkscape \<br />
k3b kino listen mdbtools-gmdb mencoder mousepad mplayer mysql-admin \<br />
mysql-client mysql-navigator mysql-query-browser neverball neverputt \<br />
oggconvert openclipart-openoffice.org openclipart-png openoffice.org \<br />
openoffice.org-base openssh-server oxygen-icon-theme p7zip-full pidgin \<br />
pidgin-libnotify pidgin-otr pidgin-plugin-pack pingus prism prism-facebook \<br />
prism-google-calendar prism-google-docs prism-google-mail \<br />
prism-google-reader prism-twitter rapidsvn rar sound-juicer sqlitebrowser \<br />
ssh supertux-stable supertuxkart terminator thunderbird ttf-dejavu \<br />
ttf-dejavu-extra ttf-lyx ttf-sil-gentium ttf-sil-gentium-basic \<br />
ttf-symbol-replacement ttf-ubuntu-title vlc wine wireshark xchat subversion \<br />
smbfs gedit-plugins quicksynergy padevchooser nautilus-image-converter</code></p>
<h3>Install Binary nVidia Driver</h3>
<ol>
<li>Install the driver via the Drivers manager &amp; reboot.</li>
<li>Run &#8220;sudo nvidia-settings&#8221;</li>
<li>Click on the X Server Display Configuration and enable the second screen.</li>
<li>Click on Apply, and then Save to X Configuration File.</li>
</ol>
<h3>Connect Samba Shares in /etc/fstab</h3>
<p>I have a couple Samba shares that I want visible on my computer.  Create the empty directories in /mnt where they are to be mounted, and then use the commands like the one below to setup the mount.</p>
<ol>
<li>Copy this in the fstab:<br />
<code>//server/path /mnt/path smbfs credentials=/root/.smbpasswd,uid=1000,gid=1000 0</code></li>
<li> .smbpasswd looks like this:<br />
<code>username=user<br />
password=topsecret</code></li>
</ol>
<h3>Adding Thunderbird to the Indicator Applet</h3>
<p>I prefer Thunderbird over Evolution, so I am going to remove the Evolution icon and add Thunderbird.<br />
<code>sudo rm /usr/share/indicators/messages/applications/evolution<br />
sudo bash -c "echo /usr/share/applications/thunderbird.desktop  &gt; /usr/share/indicators/messages/applications/thunderbird"</code></p>
<h3>Removing Empathy from the Indicator Applet</h3>
<p>The casual observer would note that Pidgin was included in the software install above.  Up to this point, I have preferred Pidgin, but this time I think I&#8217;m going to give Empathy another try.  If you want to remove it, run the below command.  I will leave them both there and choose my favorite one later.<br />
<code>sudo rm /usr/share/indicators/messages/applications/empathy</code></p>
<h3>Install the Citrix XenApp for Linux</h3>
<p>Citrix is a virtualization software package to run programs remotely.  I use it for work.</p>
<ol>
<li>Download the package from the <a href="http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&amp;productId=186&amp;c1=sot2755#top" target="_blank">download page</a>.</li>
<li>Extract the package using the Nautilus right-click menu or this command: tarr -xzvf linuxx86-*.tar.gz</li>
<li>Fire up a terminal and cd into the directory where the package was extracted to.</li>
<li>Run &#8220;sudo ./setupwfc&#8221; and follow the installation instructions</li>
</ol>
<p>The Citrix receiver will now allow you to run Citrix applications from your favorite web browser.  If you want to configure desktop shortcuts or need to use the GUI manager, run these commands:</p>
<p><code>sudo apt-get install libmotif3<br />
ln -s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so.4</code></p>
<h3>Install DVD Playback</h3>
<p><code>sudo apt-get install libdvdread4<br />
sudo /usr/share/doc/libdvdread4/install-css.sh<br />
</code></p>
<h3>Install MythTV From Source</h3>
<p><a href="http://www.mythtvbook.com/wiki/The_Hard_Way:_Installing_MythTV_From_Source" target="_blank">http://www.mythtvbook.com/wiki/The_Hard_Way:_Installing_MythTV_From_Source</a></p>
<h3>Set the Background to Something Useful</h3>
<p><a href="http://www.webupd8.org/2009/09/real-time-earth-wallpaper-for-linux.html" target="_blank">http://www.webupd8.org/2009/09/real-time-earth-wallpaper-for-linux.html</a></p>
<h3>Configure Alternate Networks (If Laptop)</h3>
<ol>
<li>Configure wireless networks</li>
<li>Configure mobile broadband connection</li>
</ol>
<p><span style="color: #ff0000;"><strong>Note: I will be modifying this article as time goes on and my installation technique gets tweaked.  Don&#8217;t come to this article 3 months later and start blindly running the commands because you think you remember what they do.</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/ubuntu-10-04-lucid-lynx-post-install-checklist/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CD Labels for Ubuntu 10.04 Lucid Lynx</title>
		<link>http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Tue, 04 May 2010 01:25:02 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pr0gr4mm3r.com/?p=202</guid>
		<description><![CDATA[Here are some CD labels that I designed for Ubuntu 10.04 Lucid Lynx. Right click on the thumbnails and select &#8220;Select Link As&#8230;&#8221; or &#8220;Save Target As&#8230;&#8221; to save the images to your computer. If you want to download them all along with the GIMP source file, here it is: Ubuntu 10.04 CD Covers When [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some CD labels that I designed for Ubuntu 10.04 Lucid Lynx.  Right click on the thumbnails and select &#8220;Select Link As&#8230;&#8221; or &#8220;Save Target As&#8230;&#8221; to save the images to your computer.</p>

<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-04-lucid-lynx/attachment/ubuntu_10-04_server_amd64/' title='Ubuntu 10.04 Server amd64'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/05/ubuntu_10.04_server_amd64-150x150.jpg" class="attachment-thumbnail" alt="Ubuntu 10.04 Server amd64" title="Ubuntu 10.04 Server amd64" /></a>
<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-04-lucid-lynx/attachment/ubuntu_10-04_server_i386/' title='Ubuntu 10.04 Server i386'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/05/ubuntu_10.04_server_i386-150x150.jpg" class="attachment-thumbnail" alt="Ubuntu 10.04 Server i386" title="Ubuntu 10.04 Server i386" /></a>
<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-04-lucid-lynx/attachment/ubuntu_10-04_alternate_amd64/' title='Ubuntu 10.04 Alternate amd64'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/05/ubuntu_10.04_alternate_amd64-150x150.jpg" class="attachment-thumbnail" alt="Ubuntu 10.04 Alternate amd64" title="Ubuntu 10.04 Alternate amd64" /></a>
<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-04-lucid-lynx/attachment/ubuntu_10-04_alternate_i386/' title='Ubuntu 10.04 Alternate i386'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/05/ubuntu_10.04_alternate_i386-150x150.jpg" class="attachment-thumbnail" alt="Ubuntu 10.04 Alternate i386" title="Ubuntu 10.04 Alternate i386" /></a>
<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-04-lucid-lynx/attachment/ubuntu_10-04_desktop_i386/' title='Ubuntu 10.04 Desktop i386'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/05/ubuntu_10.04_desktop_i386-150x150.jpg" class="attachment-thumbnail" alt="Ubuntu 10.04 Desktop i386" title="Ubuntu 10.04 Desktop i386" /></a>
<a href='http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-04-lucid-lynx/attachment/ubuntu_10-04_desktop_amd64/' title='Ubuntu 10.04 Desktop amd64'><img width="150" height="150" src="http://pr0gr4mm3r.com/wp-content/uploads/2010/05/ubuntu_10.04_desktop_amd64-150x150.jpg" class="attachment-thumbnail" alt="Ubuntu 10.04 Desktop amd64" title="Ubuntu 10.04 Desktop amd64" /></a>

<p>If you want to download them all along with the GIMP source file, here it is: <a href='http://pr0gr4mm3r.com/wp-content/uploads/2010/05/ubuntu_10.04_cd_covers.zip'>Ubuntu 10.04 CD Covers</a></p>
<p>When opening the Gimp source file, make sure you have the Ubuntu title font installed:</p>
<blockquote><p>sudo apt-get install <a href="apt://ttf-ubuntu-title">ttf-ubuntu-title</a></p></blockquote>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/cd-labels-for-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>RSync Command for Home Directory Backup on Ubuntu/Linux</title>
		<link>http://pr0gr4mm3r.com/linux/rsync-command-for-home-directory-backup-on-ubuntulinux/</link>
		<comments>http://pr0gr4mm3r.com/linux/rsync-command-for-home-directory-backup-on-ubuntulinux/#comments</comments>
		<pubDate>Sun, 02 May 2010 23:01:10 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://pr0gr4mm3r.com/?p=198</guid>
		<description><![CDATA[Mostly for my own reference &#8211; this is the command I use to back my home directory on my desktop. Both locations are local, so there is no copying over SSH for this first one. rsync -rougv --archive --delete-excluded --ignore-errors --exclude=*.gvfs* /home/andrew /backup/ Below is the command that I use for each user on my [...]]]></description>
			<content:encoded><![CDATA[<p>Mostly for my own reference &#8211; this is the command I use to back my home directory on my desktop.  Both locations are local, so there is no copying over SSH for this first one.</p>
<p><code>rsync -rougv --archive --delete-excluded --ignore-errors --exclude=*.gvfs* /home/andrew /backup/</code></p>
<p>Below is the command that I use for each user on my main file server.  This copies over SSH, so I have SSH keys on the destination server so I can run this in a cron job, and it won&#8217;t get hung up with a password prompt.</p>
<p><code>rsync -rougv --archive --delete-excluded --ignore-errors --exclude=*.gvfs* /home/user1 bckup@server-02:/media/external/backups/server-01/</code></p>
<p>From the man page, here is an explanation on all the options I use:</p>
<ul>
<li>-r, &#8211;recursive             recurse into directories</li>
<li>-o, &#8211;owner                 preserve owner (super-user only)</li>
<li>-u, &#8211;update                skip files that are newer on the receiver</li>
<li>-g, &#8211;group                 preserve group</li>
<li>-v, &#8211;verbose               increase verbosity</li>
<li>-a, &#8211;archive               archive mode; equals -rlptgoD (no -H,-A,-X)</li>
<li>&#8211;delete-excluded       also delete excluded files from dest dirs</li>
<li>&#8211;ignore-errors         delete even if there are I/O errors</li>
<li>&#8211;exclude=PATTERN       exclude files matching PATTERN (so it doesn&#8217;t copy any SSHFS-mounted directories on my system)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/rsync-command-for-home-directory-backup-on-ubuntulinux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu is not Ready for a Dark Theme</title>
		<link>http://pr0gr4mm3r.com/linux/ubuntu-is-not-ready-for-a-dark-theme/</link>
		<comments>http://pr0gr4mm3r.com/linux/ubuntu-is-not-ready-for-a-dark-theme/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 23:02:01 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wp.pr0gr4mm3r.com/?p=159</guid>
		<description><![CDATA[I have been looking at some screenshots and posts on Digg that suggests the next version of Ubuntu may ship with a dark theme enabled by default.  Until programmers learn to theme their desktop applications properly, I don&#8217;t think this should to happen.  Many programs are styled with a light theme in mind, and changing [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking at some screenshots and posts on Digg that suggests the next version of Ubuntu may ship with a dark theme enabled by default.  Until programmers learn to theme their desktop applications properly, I don&#8217;t think this should to happen.  Many programs are styled with a light theme in mind, and changing to a dark theme reveals several problems that shows these programs weren&#8217;t tested very well in a dark theme environment.</p>
<p>Check out this screenshot of my dual-display desktop with a dark theme enabled:</p>
<p><a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/09/good.jpg"><img class="alignnone size-full wp-image-160" title="Sexy Layout" src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/09/good.jpg" alt="" width="500" height="177" /></a></p>
<p>Looks pretty cool&#8230;just like all those other screenshots you see, but they are leaving out some common problems that I find when I try it out for real.  Let&#8217;s see another screen shot with some other common programs.</p>
<p><a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/09/bad.jpg"><img class="alignnone size-full wp-image-161" title="Craptastic" src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/09/bad.jpg" alt="" width="500" height="177" /></a></p>
<p>This one looks quite worse.  Firefox thinks it needs to theme my text boxes, form buttons, and scroll bars according to my desktop theme, and not according to the site style.  Behind the Firefox browser is the OpenOffice.org Processor.  That opened up with a text area and font color that matches the theme as well, and I don&#8217;t think it should.  It&#8217;s supposed to mimic a white piece of paper, and it doesn&#8217;t in this case.  Moving on to Bluefish (on the left), it is clear that one cannot write code in that environment.  Removing the white background will make your eyes hurt with the syntax highlighting.  Bluefish either needs to make the entire editing area white or have alternate syntax highlighting themes for a dark background.</p>
<p>I have done endless searching and found no solution for Firefox &amp; Bluefish.  OpenOffice does offer the option to manually change the background or use the default background (theme color).  In general, I think that the dark theme is more appealing and easy on the eyes (especially at night), but until programs are made to easilly adapt to different color schemes, this won&#8217;t be an option for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/ubuntu-is-not-ready-for-a-dark-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 8.04.1 Hardy Heron CD Cover</title>
		<link>http://pr0gr4mm3r.com/linux/ubuntu-8041-hardy-heron-cd-cover/</link>
		<comments>http://pr0gr4mm3r.com/linux/ubuntu-8041-hardy-heron-cd-cover/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 13:56:06 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wp.pr0gr4mm3r.com/?p=139</guid>
		<description><![CDATA[I recently bought an Epson Stylus Photo R280 printer, and I thought I would make a CD cover for Ubuntu&#8217;s latest release.  I did a search for one, and didn&#8217;t really find one that I liked, so I designed my own. Download the Gimp source file: ubuntu-cd.xcf The color background behind the edition and processor [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought an <a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&amp;item=160258111562" target="_blank">Epson Stylus Photo</a> R280 printer, and I thought I would make a CD cover for Ubuntu&#8217;s latest release.  I did a search for one, and didn&#8217;t really find one that I liked, so I designed my own.</p>
<p>Download the Gimp source file: <a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-cd.xcf">ubuntu-cd.xcf</a></p>
<p>The color background behind the edition and processor type can be changed so you can better identify them when they are in your cases.  Just look for the version-bg-(n) layers in the image.</p>
<p>Also, the wallpaper layer can be hidden if saving ink is desired.  I used the full color background when printing out the desktop editions, but then hid the background for the server &amp; alternate editions to save on ink.</p>
<p>If you don&#8217;t have <a href="http://www.gimp.org/">The Gimp</a>, you can download it <a href="http://www.gimp.org/downloads/">here</a>, or see all the different versions that you can make with this file below.</p>
<p><a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_desktop_i386.jpg"><img class="alignnone size-thumbnail wp-image-140" title="ubuntu-8041_desktop_i386" src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_desktop_i386-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_desktop_amd64.jpg"><img class="alignnone size-thumbnail wp-image-142" title="ubuntu-8041_desktop_amd64" src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_desktop_amd64-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_server_i386.jpg"><img class="alignnone size-thumbnail wp-image-143" title="ubuntu-8041_server_i386" src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_server_i386-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_server_amd64.jpg"><img class="alignnone size-thumbnail wp-image-144" title="ubuntu-8041_server_amd64" src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_server_amd64-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_alternate_i386.jpg"><img class="alignnone size-thumbnail wp-image-145" title="ubuntu-8041_alternate_i386" src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_alternate_i386-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_alternate_amd64.jpg"><img class="alignnone size-thumbnail wp-image-146" title="ubuntu-8041_alternate_amd64" src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-8041_alternate_amd64-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-cd.xcf"><img class="alignnone size-medium wp-image-141" title="Ubuntu CD Cover Gimp File" src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/07/ubuntu-cd.xcf" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/ubuntu-8041-hardy-heron-cd-cover/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Set Up and Run Firefox 3.0b2 as a Different User in Ubuntu</title>
		<link>http://pr0gr4mm3r.com/linux/how-to-set-up-and-run-firefox-30b2-as-a-different-user-in-ubuntu/</link>
		<comments>http://pr0gr4mm3r.com/linux/how-to-set-up-and-run-firefox-30b2-as-a-different-user-in-ubuntu/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 17:04:33 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox 3.0b2]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://wp.pr0gr4mm3r.com/linux/how-to-set-up-and-run-firefox-30b2-as-a-different-user-in-ubuntu/</guid>
		<description><![CDATA[I wanted to test Firefox 3.0b2 on my computer, but I didn&#8217;t want it to interfere with my current Firefox profile or even my current system. I decided to create a separate user and use that user specifically for running Firefox. No, that doesn&#8217;t mean that I have to sign out and sign back in [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to test Firefox 3.0b2 on my computer, but I didn&#8217;t want it to interfere with my current Firefox profile or even my current system.  I decided to create a separate user and use that user specifically for running Firefox.  No, that doesn&#8217;t mean that I have to sign out and sign back in as that new user every time I want to use it.  I can run Firefox 3.0b2 under its own user at the same time as all of other programs.  I can even run both versions side by side for comparing and testing.</p>
<ol>
<li> The first task is to create a user for our test version of Firefox.  Click on the System (Gnome Menu) -&gt; Administration -&gt; Users and Groups.</li>
<li>Click on Add User.</li>
<li>Type in &#8216;fftest&#8217; for the user name and choose a password.  Then, click OK.</li>
<li>Fire up a terminal, su into your new user and go to your home directory by typing the following commands.<br />
<blockquote><p>su fftest<br />
cd ~</p></blockquote>
</li>
<li>Download Firefox 3.0b2:<br />
<blockquote><p>wget http://ftp-mozilla.netscape.com/pub/mozilla.org/firefox/releases/3.0b2/linux-i686/en-US/firefox-3.0b2.tar.bz2</p></blockquote>
</li>
<li>Extract the archive.<br />
<blockquote><p>tar -jxvf firefox-3.0b2.tar.bz2</p></blockquote>
</li>
<li>Type in this command to tell Firefox not to use an existing session.<br />
<blockquote><p>export MOZ_NO_REMOTE=1</p></blockquote>
</li>
<li>Start Firefox<br />
<blockquote><p>./firefox/firefox</p></blockquote>
</li>
<li>If you get an error like this&#8230;<br />
<blockquote><p>Xlib: connection to &#8220;:0.0&#8243; refused by server<br />
Xlib: No protocol specified</p>
<p>(firefox-bin:5160): Gtk-WARNING **: cannot open display:</p></blockquote>
<p>&#8230;that means that you need to let the &#8216;fftest&#8217; user launch applications that interface with the current GUI. In order to do that, you will need to fire up a new terminal that is under your desktop user, and type in the following command:</p>
<blockquote><p>xhost +local:fftest</p></blockquote>
<p>Then start Firefox again.</p>
<blockquote><p>./firefox/firefox</p></blockquote>
</li>
<li>You should now see the Firefox start page.<br />
<a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/01/screenshot-welcome-to-firefox-3-beta-2-mozilla-firefox-3-beta-2.png" title="Firefox 3.0b2"><img src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/01/screenshot-welcome-to-firefox-3-beta-2-mozilla-firefox-3-beta-2.thumbnail.png" alt="Firefox 3.0b2" /><br />
</a>This Firefox session is completely independent from your current version, you can run them side-by-side.<br />
<a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/01/screenshot-1.png" title="Both Firefox Versions Together"><img src="http://wp.pr0gr4mm3r.com/wp-content/uploads/2008/01/screenshot-1.thumbnail.png" alt="Both Firefox Versions Together" /><br />
</a></li>
<li>Repeat steps 7-10 to run Firefox 3.0b2 in the future.  When you are done testing, just delete the user &#8216;fftest&#8217;.</li>
</ol>
<p>If you find any issues or problems with this tutorial, please contact me or post a comment.  I always want to ensure that I&#8217;m posting accurate instructions.<br />
Reference: http://www.captain.at/firefox-run-different-versions.php</p>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/how-to-set-up-and-run-firefox-30b2-as-a-different-user-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Getting your X10 CM19A Module Working in Linux</title>
		<link>http://pr0gr4mm3r.com/linux/getting-your-x10-cm19a-module-working-in-linux/</link>
		<comments>http://pr0gr4mm3r.com/linux/getting-your-x10-cm19a-module-working-in-linux/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 17:08:04 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wp.pr0gr4mm3r.com/linux/getting-your-x10-cm19a-module-working-in-linux/</guid>
		<description><![CDATA[A short time ago, I wrote on how to get your X10 CM17A Firecracker module working in Linux. Since then, I have migrated to a new home server, and I am left with no serial ports. That means that I have to get a USB module working. I already have the CM19A here at home, [...]]]></description>
			<content:encoded><![CDATA[<p>A short time ago, I wrote on how to get your <a href="http://wp.pr0gr4mm3r.com/linux/getting-your-x10-cm17a-firecracker-module-working-in-linux/">X10 CM17A Firecracker</a> module working in Linux.  Since then, I have migrated to a new home server, and I am left with no serial ports.  That means that I have to get a USB module working.  I already have the CM19A here at home, so I went on a task to find a driver to work for this one.  I did succeed, so read on to find out how you can get it working yourself.</p>
<p>I will show you how to do this using Ubuntu 7.10 using the Generic desktop kernel.  This tutorial can probably be adapted to other Linux/Unix distros.  I tried it with the Ubuntu server kernel, but had no success.  If you can get it, please post how you did it.</p>
<p><strong>Setting it Up</strong></p>
<ol>
<li>Plug in your USB CM19a Module.  Then fire up a terminal and type:<br />
<blockquote><p>dmesg</p></blockquote>
<p>The last several lines should look like this:</p>
<blockquote><p>[ 4037.694734] usb 1-2.2: new low speed USB device using uhci_hcd and address 6<br />
[ 4037.834968] usb 1-2.2: configuration #1 chosen from 1 choice<br />
[ 4038.121493] input: X10 Wireless Technology Inc USB Transceiver as /class/input/input7<br />
[ 4038.123803] usbcore: registered new interface driver ati_remote<br />
[ 4038.124444] /build/buildd/linux-source-2.6.22-2.6.22/drivers/input/misc/ati_remote.c: Registered USB driver ATI/X10 RF USB Remote Control v. 2.2.1<br />
[ 4038.128544] /build/buildd/linux-source-2.6.22-2.6.22/drivers/input/misc/ati_remote.c: Weird data, len=1 ff 00 00 00 00 00 &#8230;<br />
[ 4038.212107] lirc_dev: IR Remote Control driver registered, at major 61<br />
[ 4038.235359]<br />
[ 4038.235365] lirc_atiusb: USB remote driver for LIRC $Revision: 1.61 $<br />
[ 4038.235379] lirc_atiusb: Paul Miller &lt;pmiller9@users.sourceforge.net&gt;<br />
[ 4038.276958] usbcore: registered new interface driver lirc_atiusb</p></blockquote>
<p>The important thing to note is that it is using the &#8220;lirc_atiusb&#8221; driver.  This doesn&#8217;t work with this device.  We need to find a better one.</li>
<li> Download <a href="http://www.lemaymd.com/main.php?frag=software&amp;title=Software">X10MMS</a> and extract it.</li>
<li>Go back to your terminal, and cd into that extracted directory.</li>
<li>As per the instructions in the software&#8217;s readme file, run the following commands:<br />
<blockquote><p>sudo make<br />
sudo make install<br />
sudo modprobe x10-cm19a</p></blockquote>
<p>We&#8217;re not done yet.  If you were to plug in your device, and run dmesg again, you would notice that it&#8217;s still running that pesky lirc_atiusb driver, so let&#8217;s blacklist it.</li>
<li>Type in a terminal:<br />
<blockquote><p>sudo gedit /etc/modprobe.d/blacklist</p></blockquote>
</li>
<li>Then add to the end of the file:<br />
<blockquote><p># causes the custom cm19a driver to fail<br />
blacklist lirc_atiusb<br />
blacklist ati_remote</p></blockquote>
</li>
<li>Type in a terminal:<br />
<blockquote><p>sudo rmmod lirc_atiusb<br />
sudo rmmod ait_remote</p></blockquote>
</li>
<li>One last thing&#8230;this step allows all users to access the device.  Some may say this is a security risk, but I don&#8217;t want to be root to use it.Type in the following command to open the udev rules file:<br />
<blockquote><p>sudo gedit /etc/udev/rules.d/40-permissions.rules</p></blockquote>
</li>
<li>Add the following to the end of the file:<br />
<blockquote><p>KERNEL==&#8221;cm19a0&#8243;,                       MODE=&#8221;0666&#8243;</p></blockquote>
</li>
<li>One last commad to run:<br />
<blockquote><p>sudo chmod 0666 /dev/cm19a0</p></blockquote>
</li>
<li>You&#8217;re done, yay!  Now it&#8217;s time to test it out.  Remember, this driver only provides an interface to the module.  You will have to write your own software / scripts / cron jobs to make it useful.The interface works by sending strings to it.  To turn on A1, we send +A1 to it.  To turn off C4, we send -C5 to it.  In practice, type in the following command to turn on A1:<br />
<blockquote><p>echo +A1 &gt; /dev/cm19a0</p></blockquote>
<p>Hopefully, your transeiver module will turn on.</li>
</ol>
<p><strong>Update (9/14/2008)</strong></p>
<p>I just went back and used this post to reconfigure this device on the new kernel.  Turns out that for Ubuntu Hardy Heron (8.04), an additional kernel module needs to be blacklisted: ati_remote.  That module has been added to the previous steps.</p>
<p><strong>Troubleshooting</strong></p>
<p>If your test commands are not working, make sure that the driver is being loaded properly.  Disconnect the module, wait a few seconds, and reconnect the device.  Then type this in a terminal:</p>
<blockquote><p>dmesg</p></blockquote>
<p>The last several lines should look like this:</p>
<blockquote><p>[ 7110.487961] usb 1-2.2: new low speed USB device using uhci_hcd and address 12<br />
[ 7110.629155] usb 1-2.2: configuration #1 chosen from 1 choice<br />
[ 7110.632117] x10-cm19a: Probing x10-cm19a&#8230;<br />
[ 7110.632136] x10-cm19a: Found input endpoint: 81, and output endpoint: 2<br />
[ 7110.637872] x10-cm19a: freeing buffer in callback (0xd78eb0c0/0x178eb0c0)<br />
[ 7111.197615] x10-cm19a: freeing buffer in callback (0xd78eb0c0/0x178eb0c0)<br />
[ 7111.197863] x10-cm19a: X10 CM19A USB RF Transceiver connected.<br />
[ 7111.197870] x10-cm19a: X10 CM19A USB RF Transceiver initialized to listen for remote controls.<br />
[ 7111.205631] x10-cm19a: freeing buffer in callback (0xd78eb0c0/0x178eb0c0)</p></blockquote>
<p>If they don&#8217;t, make sure you followed all the steps.  If you didn&#8217;t understand one of them, please post a question.</p>
<p><strong>More Information</strong></p>
<p>A couple of tips were taken from Dan at Zenlike.ca -&gt; <a href="http://zenlike.ca/2007/08/28/another-homebrew-linux-x10-dawn-simulator/">Another homebrew Linux X10 Dawn simulator</a></p>
<p>The software driver mentioned in this entry can be found here -&gt; <a href="http://www.lemaymd.com/main.php?frag=software&amp;title=Software">X10MMS</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/getting-your-x10-cm19a-module-working-in-linux/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Getting your X10 CM17A Firecracker Module Working in Linux</title>
		<link>http://pr0gr4mm3r.com/linux/getting-your-x10-cm17a-firecracker-module-working-in-linux/</link>
		<comments>http://pr0gr4mm3r.com/linux/getting-your-x10-cm17a-firecracker-module-working-in-linux/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 17:52:06 +0000</pubDate>
		<dc:creator>Andrew Wells</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wp.pr0gr4mm3r.com/linux/getting-your-x10-cm17a-firecracker-module-working-in-linux/</guid>
		<description><![CDATA[Haven&#8217;t you always wanted to control your Christmas lights with your Linux server? Being able to control X10-enabled devices opens up your world to a whole new level of geekness. There are several other powerful reasons to put your computer in control of your lights and appliances including programming simple timers and controlling your lights [...]]]></description>
			<content:encoded><![CDATA[<p>Haven&#8217;t you always wanted to control your Christmas lights with your Linux server?  Being able to control X10-enabled devices opens up your world to a whole new level of geekness.  There are several other powerful reasons to put your computer in control of your lights and appliances including programming simple timers and controlling your lights from anywhere in the world.  I&#8217;m going to show you how to do it with the CM17A interface.  There are plenty others out there like the CM10A, CM11A, and others.  You may be able to tweak this article to your needs if you have a different interface other than the CM17A.</p>
<p><strong>Checking your Inventory</strong></p>
<p>Before we can go on, here are the supplies you will need to get the ball rolling.</p>
<ol>
<li>CM17a Firecracker Module.<br />
These can be bought from <a href="http://www.x10.com/">x10.com</a> or <a href="http://search.ebay.com/search/search.dll?from=R40&amp;_trksid=m37&amp;satitle=x10+firecracker&amp;category0=">eBay</a>.</li>
<li>X10 Transceiver (<a href="http://search.express.ebay.com/items/tm751_W0QQ_nkwZtm751QQtrZQQruZ">TM751</a> or <a href="http://search.express.ebay.com/items/rr501_W0QQ_nkwZrr501QQtrZrisQQruZhttpQ3aQ2fQ2fsearchQ2eebayQ2ecomQ3a80Q2fsearchQ2fsearchQ2edllQ3fsofocusQ3dbsQ26sbrftogQ3d1Q26catrefQ3dC6Q26fromQ3dR10Q26Q5ftrksidQ3dm37Q26satitleQ3drr501Q26sacatQ3dQ2d1Q2526catrefQ253DC6Q26sargnQ3dQ2d1Q2526saslcQ253D2Q26sadisQ3d200Q26fposQ3d46311Q26sabfmtsQ3d1Q26ftrtQ3d1Q26ftrvQ3d1Q26saprcloQ3dQ26saprchiQ3dQ26fsopQ3d1Q2526fsooQ253D1Q26coactionQ3dcompareQ26copagenumQ3d1Q26coentrypageQ3dsearchQ26fgtpQ3d">RR501</a>)</li>
<li>Lamp Module (<a href="http://search.express.ebay.com/items/lm465_W0QQ_nkwZlm465QQtrZQQruZ">LM465</a>) or Appliance Module (<a href="http://search.express.ebay.com/items/am466_W0QQ_nkwZam466QQtrZQQruZ">AM466</a>)<br />
<em> Note: The X10 Transceiver also functions as an appliance module.</em></li>
<li>Palm Pad Remote (<a href="http://search.express.ebay.com/items/hr12a_W0QQ_nkwZhr12aQQtrZQQruZ">HR12a</a>)<br />
<em> The remote is optional since we will be using our computer to send commands.</em></li>
</ol>
<p><strong>If you need to purchase all items in the list above</strong>: consider purchasing a bundle kit, like the <a href="http://search.express.ebay.com/__Home-Automation_CK18A_W0QQ_nkwZCK18AQQtrZQQruZQQ_fxdZ1">CK18A</a> 4 Piece Home Kit.</p>
<p>The items listed above are the minimum to get your X10 home automation started.  If you are looking for more geeky automation toys, go to x10.com.  Be careful though, it&#8217;s easy to spend money on cool stuff like this.</p>
<p><strong>Installing the Software</strong></p>
<p>I use <a href="http://heyu.tanj.com/">Heyu</a> to control my devices.  It&#8217;s a simple command-line tool that you can easily integrate into a front-end, or use it as-is out of the box.  Combining the command line tool with cron jobs is enough to make it worth it.</p>
<p>Download a copy of the software at <a href="http://heyu.tanj.com/download/">Heyu&#8217;s Download Page</a>. This is software that you will have to download and compile yourself.  If you are used to deb packages and RPM&#8217;s, <strong>don&#8217;t worry</strong>.  It&#8217;s not bad.  Download the software and extract it.  Fire up a terminal window and cd to that directory.  Follow the Quickstart instructions in the INSTALL text file.</p>
<p><strong>Testing the Interface</strong></p>
<p>Now is the time to connect the hardware.  Connect the firecracker interface to your primary serial port and connect your other modules.  Make note of the house code that you set and the unit code.  The house code is the code that all of your devices will adhere to.  For example, if your transceiver is on house code D, then all of your devices have to have house code D.  I recommend not using A because the Smith&#8217;s next door might be too lazy to switch it off of the default as well.  The unit code is the unit&#8217;s unique ID.  Make note of what you set on that as well.</p>
<p><em>For the purpose of this tutorial, I will be using house code A.  Please change accordingly as you read through this.</em></p>
<p>Once you have everything ready to go, fire up a terminal on your computer with the interface, and type in the following:</p>
<blockquote><p>heyu fon A1</p></blockquote>
<p>Then type:</p>
<blockquote><p>heyu foff A1</p></blockquote>
<p>If you did everything correctly, you should have heard your transceiver switch on and off. (assuming your transceiver was off to begin with)</p>
<p><strong>Understanding the Command</strong></p>
<p>The two commands above are simple commands using the heyu program. View the man page of the &#8216;heyu&#8217; command to see all others.</p>
<p>For example, if I wanted to turn off the appliance that has the unit code &#8217;6&#8242; and is on house code &#8216;A&#8217;, I would type this:</p>
<blockquote><p>heyu foff A6</p></blockquote>
<p>If I wanted to dim a lamp that was already on that has the unit code &#8217;7&#8242; and house code &#8216;A&#8217;, I would type this:</p>
<blockquote><p>heyu fdim A7</p></blockquote>
<p>Simple, no?</p>
<p><strong>Extend the Knowledge</strong></p>
<p>Now that you know how the program works, it&#8217;s time to put it to use.  Since, these methods of implementation are beyond the scope of this article, I will only be providing the ideas, not a step-by-step.  If you need help on the implementation of some of these ideas, please post a question in the comments area, and I will expand on it in another post.</p>
<blockquote><p><strong>Cron Jobs</strong>: Use simple cron jobs to time lights or appliances in your house such as lamps, Christmas lights, etc.</p>
<p><strong>Web Interface</strong>: Forgot to turn on your porch light?  Now you can from work, your Internet-enabled PDA, wherever! If your server has web server capabilities, make a PHP/HTML front-end to your home&#8217;s devices.   Here is an example of how you can do it in PHP: <a href="http://wp.pr0gr4mm3r.com/wp-content/uploads/2007/10/x10.txt" title="X10 PHP Example">X10 PHP Example</a></p>
<p><strong>Have others?  Post it in the comments section below.</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://pr0gr4mm3r.com/linux/getting-your-x10-cm17a-firecracker-module-working-in-linux/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

