<?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>Notes &#187; slackware</title>
	<atom:link href="http://alexpb.com/notes/articles/category/linux/slackware-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexpb.com/notes</link>
	<description></description>
	<lastBuildDate>Mon, 26 Jul 2010 01:27:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Installing Skype 32 bit on Slackware64</title>
		<link>http://alexpb.com/notes/articles/2010/05/01/installing-skype-32-bit-o-slackware64/</link>
		<comments>http://alexpb.com/notes/articles/2010/05/01/installing-skype-32-bit-o-slackware64/#comments</comments>
		<pubDate>Sun, 02 May 2010 00:18:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[64bit]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=701</guid>
		<description><![CDATA[You first need to upgrade your gcc and glibc packages to their multi-lib versions and then install the 32 bits libraries (along with your 64bits libraries that are already installed). Detailed instructions at: http://connie.slackware.com/~alien/multilib/.]]></description>
			<content:encoded><![CDATA[<p>You first need to upgrade your gcc and glibc packages to their multi-lib versions and then install the 32 bits libraries (along with your 64bits libraries that are already installed).  Detailed instructions at: <a href="http://connie.slackware.com/~alien/multilib/">http://connie.slackware.com/~alien/multilib/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2010/05/01/installing-skype-32-bit-o-slackware64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-To Change The Default Sound Card in Slackware Linux</title>
		<link>http://alexpb.com/notes/articles/2009/04/20/howto-change-default-sound-card-slackware-linux/</link>
		<comments>http://alexpb.com/notes/articles/2009/04/20/howto-change-default-sound-card-slackware-linux/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 23:46:06 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[headset]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[sound cards]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=586</guid>
		<description><![CDATA[How-To Change The Default Sound Card in Slackware Linux My case: I have an on-board sound card that I use for everything except for Skype, where I use my Logitech ClearChat Wireless USB Headset. It is easy in Skype to select a different sound device. So I needed to set my on-board sound card as [...]]]></description>
			<content:encoded><![CDATA[<p>How-To Change The Default Sound Card in Slackware Linux</p>
<p>My case: I have an on-board sound card that I use for everything except for Skype, where I use my <a href="http://www.amazon.com/gp/product/B0015EY5RE?ie=UTF8&#038;tag=wusum-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B0015EY5RE">Logitech ClearChat Wireless USB Headset</a><img src="http://www.assoc-amazon.com/e/ir?t=wusum-20&#038;l=as2&#038;o=1&#038;a=B0015EY5RE" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />.  It is easy in Skype to select a different sound device.  So I needed to set my on-board sound card as the default output for everything else.</p>
<p>If they both use a different kernel module you can easily make sure the right one is the default card.</p>
<p>Find out what module is being used for your soundcards:</p>
<p><code>cat /proc/asound/modules</code></p>
<p>On my computer this gave</p>
<p><code>0 snd_usb_audio<br />
1 snd_intel8x0<br />
</code></p>
<p>Sound card 0 is the default one (snd_usb_audio in this case).  This is the module&#8217;s name.</p>
<p>You can&#8217;t assign card 0 because whichever card get&#8217;s loaded first get # 0.  So, you have to assign # 1 to the one you don&#8217;t want as the default card.  This can be done by adding one simple line to /etc/modprobe.d/sound (create it if it doesn&#8217;t exist):</p>
<p><code>options name_of_offending_module index=1</code></p>
<p>So, in my case this would be</p>
<p><code>options snd_usb_audio index=1</code></p>
<p>Reboot and try</p>
<p>via <a href='http://forum.vectorlinux.com/index.php?topic=4888.0'>HOWTO make one soundcard default</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/04/20/howto-change-default-sound-card-slackware-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Your Security Camery System Captured Images to a Remote Server</title>
		<link>http://alexpb.com/notes/articles/2009/01/09/backup-your-security-camery-system-captured-images-to-a-remote-server/</link>
		<comments>http://alexpb.com/notes/articles/2009/01/09/backup-your-security-camery-system-captured-images-to-a-remote-server/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 02:05:57 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=20</guid>
		<description><![CDATA[Safer Security Camera System with Motion Now that you have your motion activated security camera system, you could make if safer by uploading the captured images automatically to a remote server just in case something happens to your computer. I&#8217;m using Slackware Linux but the setup should be very similar on other distributions. Create an [...]]]></description>
			<content:encoded><![CDATA[<p>Safer Security Camera System with <a href="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome">Motion</a></p>
<p>Now that you have your <a href="http://alexpb.com/notes/articles/2007/03/22/home-camera-security-system/">motion activated security camera system</a>, you could make if safer by uploading the captured images automatically to a remote server just in case something happens to your computer.  I&#8217;m using Slackware Linux but the setup should be very similar on other distributions.</p>
<ol>
<li>Create an executable batch file containing the following (pico ~/batch_file):
<p><code>rsync -avz /usr/local/apache2/htdocs/cam1 destinationserver.com:~/</code></li>
<li>Edit /etc/motion.conf and add/uncomment the following line
<p><code>on_event_end /home/user/batch_file</code></li>
<li>Edit ~/.ssh/config (create the .ssh folder if it doesn&#8217;t exist) and add the following lines to it:<br />
<blockquote><p><code><br />
Host destinationserver.com<br />
HostName destinationserver.com<br />
IdentityFile ~/.ssh/id_dsa<br />
User your_user_name</li>
</blockquote>
<li>Install and setup <a href="http://slackbuilds.org/repository/12.2/misc/keychain/">keychain</a> so that ssh doesn't ask for your pass-phrase every time it tries to connect. Take a look at this <a href="http://ubuntuforums.org/showthread.php?t=185796">keychain/ssh-agent  tutorial</a></li>
</ol>
<p>You can use a webcam like the one listed below, which features infrared lights for improved night vision (and it is USB so don't need any special hardware for composite input).</p>
<p><a href="http://www.amazon.com/dp/B000GLPQW0?tag=wusum-20&#038;camp=14573&#038;creative=327641&#038;linkCode=as1&#038;creativeASIN=B000GLPQW0&#038;adid=0F8WFFT7PCAG8EFKJ9C0&#038;"><img src="http://alexpb.com/notes/wp-content/uploads/2009/01/infrared_security_camera.jpg" alt="infrared security camera" title="infrared security camera" class="alignnone size-full wp-image-464" height="98" width="110">Infrared Night Vision Security Camera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/01/09/backup-your-security-camery-system-captured-images-to-a-remote-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Active Perl&#8217;s Package Manager: ppm</title>
		<link>http://alexpb.com/notes/articles/2008/08/06/active-perls-package-manager-ppm/</link>
		<comments>http://alexpb.com/notes/articles/2008/08/06/active-perls-package-manager-ppm/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 02:06:54 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[slackware]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=138</guid>
		<description><![CDATA[It allows you to get Perl pre-compiled packages. You can avoid installing a C compiler which is needed for some packages (KinoSearch for example). http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ Alternate packages repositories: http://cpan.uwinnipeg.ca/PPMPackages/10xx/]]></description>
			<content:encoded><![CDATA[<p>It allows you to get Perl pre-compiled packages. You can avoid installing a C compiler which is needed for some packages (KinoSearch for example).</p>
<p><a href="http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/">http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/</a></p>
<p>Alternate packages repositories:<br />
<a href="http://cpan.uwinnipeg.ca/PPMPackages/10xx/">http://cpan.uwinnipeg.ca/PPMPackages/10xx/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2008/08/06/active-perls-package-manager-ppm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compile MythTV 0.21 Slackbuild for Slackware 12.1</title>
		<link>http://alexpb.com/notes/articles/2008/07/27/compile-mythtv-021-slackbuild-for-slackware-121/</link>
		<comments>http://alexpb.com/notes/articles/2008/07/27/compile-mythtv-021-slackbuild-for-slackware-121/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 19:52:37 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=133</guid>
		<description><![CDATA[with the latest ffmpeg installed, I add to temporarily move the following directories in my home directory for the MythTV compilation to go smoothly: /usr/include/libavcodec/ /usr/include/libavformat/ /usr/include/libavutil/]]></description>
			<content:encoded><![CDATA[<p>with the latest ffmpeg installed, I add to temporarily move the following directories in my home directory for the MythTV compilation to go smoothly:<br />
/usr/include/libavcodec/<br />
/usr/include/libavformat/<br />
/usr/include/libavutil/</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2008/07/27/compile-mythtv-021-slackbuild-for-slackware-121/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to Slackware 12.1</title>
		<link>http://alexpb.com/notes/articles/2008/05/15/upgrade-to-slackware-12_1/</link>
		<comments>http://alexpb.com/notes/articles/2008/05/15/upgrade-to-slackware-12_1/#comments</comments>
		<pubDate>Thu, 15 May 2008 22:03:44 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/articles/2008/05/15/upgrade-to-slackware-121/</guid>
		<description><![CDATA[The instruction in UPGRADE.TXT worked fine but I also needed to reconfigure the NVIDIA Video driver to have OpenGL subsystem working fine.]]></description>
			<content:encoded><![CDATA[<p>The instruction in <a href="ftp://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-12.1/UPGRADE.TXT">UPGRADE.TXT</a> worked fine but I also needed to reconfigure the NVIDIA<br />
Video driver to have OpenGL subsystem working fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2008/05/15/upgrade-to-slackware-12_1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move Rails Project From Windows to Slackware Linux</title>
		<link>http://alexpb.com/notes/articles/2006/10/05/move-rails-project-from-windows-to-slackware-linux/</link>
		<comments>http://alexpb.com/notes/articles/2006/10/05/move-rails-project-from-windows-to-slackware-linux/#comments</comments>
		<pubDate>Thu, 05 Oct 2006 20:29:28 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes3/archives/14</guid>
		<description><![CDATA[So you want to move your Rails project from Windows to Slackware and your are using MySQL database? Then you can fallow these step-by-step instructions. Table of contents Backups Packages you&#8217;ll need Install Ruby Install Rubygems Install Rails Install MySQL gem Import your Database schema Edit config files BackupsFrom Windows, use mysqldump to create a [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to move your Rails project from Windows to Slackware and your are using MySQL database?<br />
Then you can fallow these step-by-step instructions.</p>
<p><strong>Table of contents</strong></p>
<ol>
<li><a href="#1">Backups</a></li>
<li><a href="#2">Packages you&#8217;ll need</a></li>
<li><a href="#3">Install Ruby</a></li>
<li><a href="#4">Install Rubygems</a></li>
<li><a href="#5">Install Rails</a></li>
<li><a href="#6">Install MySQL gem</a></li>
<li><a href="#7">Import your Database schema</a></li>
<li><a href="#8">Edit config files</a></li>
</ol>
<ol>
<li><a title="1" name="1"></a><strong>Backups</strong>From Windows, use mysqldump to create a backup of your database schema and data:
<pre><code>c:mysqldump -u root -p Database_name &gt; DB_backup.sql</code></pre>
<p>or to backup all database without the data</p>
<pre><code>c:mysqldump -u root -p --all-database --no-date &gt; DB_backup.sql</code></pre>
<p>Next, copy your project directory and you database backup (DB_backup.sql) to a CD<br />
(or you can mount your windows partition from linux if they are on the same computer)</li>
<li><a title="2" name="2"></a><strong>Packages you&#8217;ll need</strong>
<ul>
<li><a href="http://linuxpackages.cs.utah.edu//Slackware-10.2/ken/ruby-1.8.5-i686-1kjz.tgz">ruby-1.8.5-i686.tgz</a></li>
<li><a href="http://www.software-mirror.com/linuxpackages/Slackware-10.2/Console/MySQL/mysql-5.0.16-i486-1.tgz">mysql-5.0.16-i486-1.tgz</a></li>
<li><a href="http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz">rubygems-0.9.0.tgz</a></li>
</ul>
</li>
<li><a title="3" name="3"></a><strong>Install Ruby</strong>
<pre><code>~$ sudo installpkg ruby-1.8.2-i686-1.tgz</code></pre>
</li>
<li><a title="4" name="4"></a><strong>Install Ruby gems</strong>
<pre><code>~$ tar zxvf rubygems-0.8.10.tgz</code></pre>
<pre><code>~$ cd gems-0.8.10</code></pre>
<pre><code>~$ sudo ruby setup.rb</code></pre>
</li>
<li><a title="5" name="5"></a><strong>Install Rails</strong>
<pre><code>~$ sudo gem install rails</code></pre>
<p>or to install latest beta:</p>
<pre><code>~$ sudo gem install rails --source http://gems.rubyonrails.com</code></pre>
</li>
<li><a title="6" name="6"></a><strong>Install Mysql gem</strong> (the first &#8212; are meant to be there)
<pre><code>~$ sudo gem install mysql --with-mysql-include=/usr/include/mysql </code></pre>
<pre><code>--with-mysql-lib=/usr/lib/mysql</code></pre>
</li>
<li><a title="7" name="7"></a><strong>Import your Database schema</strong>
<pre><code>~$ mysqldump -u root --password='Yourpassword'</code></pre>
<pre><code>mysql&gt; create database database_name;</code></pre>
<pre><code>mysql&gt; exit</code></pre>
<pre><code>~$ mysqldump -u root --password='Yourpassword' </code></pre>
<pre><code>database_name &gt; DB_backup.sql</code></pre>
</li>
<li><a title="8" name="8"></a><strong>Edit files</strong>
<pre><code>~$ edit ~/yourproject/public/dispatch.*</code></pre>
<p>and change the first line to:</p>
<pre><code>#!/usr/bin/ruby</code></pre>
<p>(or wherever ruby binary is)</li>
</ol>
<p><strong>You should be all set.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2006/10/05/move-rails-project-from-windows-to-slackware-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
