<?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>SheekGeek &#187; Linux</title>
	<atom:link href="http://sheekgeek.org/topic/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://sheekgeek.org</link>
	<description>A young couples adventure in DIY and life.</description>
	<lastBuildDate>Sat, 07 Jan 2012 16:00:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>A Cheap but Quality Home Surveillance System</title>
		<link>http://sheekgeek.org/2011/adamsheekgeek/a-cheap-but-quality-home-surveillance-system</link>
		<comments>http://sheekgeek.org/2011/adamsheekgeek/a-cheap-but-quality-home-surveillance-system#comments</comments>
		<pubDate>Wed, 14 Dec 2011 06:09:00 +0000</pubDate>
		<dc:creator>Adam@SheekGeek</dc:creator>
				<category><![CDATA[Adventures in DIY]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Home Sweet Home]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cam]]></category>
		<category><![CDATA[cctv]]></category>
		<category><![CDATA[mjpg_streamer]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[uvcvideo]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[zoneminder]]></category>

		<guid isPermaLink="false">http://sheekgeek.org/?p=1129</guid>
		<description><![CDATA[Today as I got into my car I realized that someone had broken into it and ransacked my glovebox and center console. I couldn&#8217;t nail down exactly when it happened but I couldn&#8217;t help but feel violated.  Someone else in my neighborhood also had a break in. I decided to do something about it. I immediately went to the closest store and grabbed a cheap webcam and prepared to make a motion triggered surveillance system. (Man, I love Linux).

The camera I grabbed was iHome brand basic webcam for around $15.  ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://sheekgeek.org/wp-content/uploads/2011/12/secCamFeatured.jpeg"><img class="size-medium wp-image-1138 alignleft" title="secCamFeatured" src="http://sheekgeek.org/wp-content/uploads/2011/12/secCamFeatured-300x225.jpg" alt="" width="300" height="225" /></a>Today as I got into my car I realized that someone had broken into it and ransacked my glovebox and center console. I couldn&#8217;t nail down exactly when it happened but I couldn&#8217;t help but feel violated.  Someone else in my neighborhood also had a break in. I decided to do something about it. I immediately went to the closest store and grabbed a cheap webcam and prepared to make a motion triggered surveillance system. (Man, I love Linux).</p>
<p><span id="more-1129"></span></p>
<p>The camera I grabbed was iHome brand basic webcam for around $15.  Most webcams will work with this system from what I can tell. I literally did no research beforehand, which I do not recommend. I got very lucky that the camera I chose worked without much trouble (which practically NEVER happens for me).  I highly suggest checking to make sure the hardware will work before buying this or any other camera for this application.</p>
<p>The program I am using is called <a href="http://www.zoneminder.com">ZoneMinder</a>, which is a fully featured open source CCTV security system .  It was written by someone who had a similar experience to me.  This program allows you to have multiple cameras which can be set to only record when they detect motion, and you can even break the camera images into separate zones of detection. This program can also integrate with X10 hardware to control all sorts of toys.  All of this is hosted on a web server so you can access it from anywhere in the world if you desire. I&#8217;m only going to set up something locally to only record if motion is detected.</p>
<p>Again, you want to make sure your  hardware will work with the program, so head over to the <a href="http://www.zoneminder.com/wiki/index.php/Hardware_Compatibility_List#USB_Cameras">ZoneMinder Wiki hardware compatibility list</a> as well as the <a href="http://www.ideasonboard.org/uvc/#devices">UVCvideo compatibility list</a> since ZoneMinder can use the UCVvideo drivers for linux.</p>
<p>My camera happened to work with the UCVvideo drivers, so I had to install that first. You can skip this section if you already have a working camera.  To begin with I had to install patchUtils form synaptic. You can do the same with the command below:</p>
<blockquote><p>sudo apt-get install patchUtils</p></blockquote>
<p>Then I downloaded and installed the UCVvideo drivers <a href="http://git.linuxtv.org/media_build.git">[1 ]</a></p>
<blockquote><p>git clone git://linuxtv.org/media_build.git<br />
cd media_build<br />
./build<br />
make install</p></blockquote>
<p>At this point I kept having a bit of a problem, but I found the answer on another blog. This involved running two commands to actually insert the UCV modules:</p>
<blockquote><p>sudo depmod -a<br />
modprobe uvcvideo</p></blockquote>
<p>Everyone will need the following commands to install the dependencies for ZoneMinder. Again, it runs a webserver, so there are a few important dependencies to be installed. Luckily I found a <a href="http://www.howtoforge.com/video_surveillance_zoneminder_ubuntu">good tutorial</a> to help figure out what all I would need.</p>
<blockquote><p>sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server<br />
sudo apt-get install ffmpeg libarchive-tar-perl libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl<br />
sudo apt-get install libjpeg62 libmime-perl libstdc++6 libwww-perl zlib1g</p></blockquote>
<p>At this point, you *may* need to reboot for Apache to configure correctly. I didn&#8217;t, but the author of the tutorial I used did.<br />
Now, finally we can install ZoneMinder itself. I installed it form synaptic, but you can get updated installations form the ZoneMInder website. Otherwise run the following:</p>
<blockquote><p>sudo apt-get install zoneminder</p></blockquote>
<p>After installing ZoneMinder, you now need to configure and start Apache:</p>
<blockquote><p>sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf<br />
sudo /etc/init.d/apache2 force-reload<br />
sudo adduser www-data video</p></blockquote>
<p>At this point, open Firefox and go to the ZoneMinder dashboard by visiting</p>
<blockquote><p>http://localhost/zm</p></blockquote>
<p>Now before I could Add a new monitor (add my camera to ZoneMInder) I had to use another program to connect my camera to ZoneMinder. I found a good <a href="http://www.youtube.com/watch?v=l-nIUgB35OQ">video series</a> that explains the steps for installing and configuring my camera and ZoneMinder.  The program I needed was mjpg_streamer which you can <a href="http://sourceforge.net/projects/mjpg-streamer/">get and install from sourceforge</a>.<br />
Of course to install this, you can just double-click the .deb file and install it as normal.<br />
Now you have to run mjpg_streamer from the commandline using the following command:</p>
<blockquote><p>mjpg_Streamer -i &#8220;input_uvc.so -d /dev/video0 -y -r 640&#215;480 -f&#8221; -o &#8220;output_http.so -p 8080&#8243;</p></blockquote>
<p>A short explanation here: &#8220;-d /dev/video0&#8243;  is the device you want to use. To find out which device your camera is, enter &#8220;ls /dev/video*&#8221; into the terminal. If you only have one camera, then it will pop up as the only result. Use that address. -y stands for YUYV format MPEG files. &#8220;-r 640&#215;480&#8243; attempts to set the resolution. My camera technically supports this resolution, however, that is if you have the correct drivers, which I do not. The -o &#8220;output_http.so -p 8080&#8243; means that you are going to stream the video feed to port 8080 on this machine.</p>
<p>Additionally, you can add the flag &#8220;-b&#8221; to this command to run it in the background. If you do this, you have to manually kill mjpg_streamer when you want to close it.</p>
<blockquote><p>killall mjpg_streamer</p></blockquote>
<p>If you didn&#8217;t get any errors, we can check to see if the video is streaming correctly. Open a new tab in Firefox and go to</p>
<blockquote><p>http://localhost:8080/?action=stream</p></blockquote>
<p>If you see video, then it is working. If not, go back and double-check you&#8217;ve followed all my instructions correctly. If that doesn&#8217;t solve your problem, post on the ZoneMInder or UVC forums. I honestly do not know enough to be able to troubleshoot any more than I am explaining in this guide.</p>
<p>So now that your camera is streaming video, we can connect it to ZoneMinder (FINALLY!) So, go back to the ZoneMinder dashboard in your Firefox browser ( http://localhost/zm ) and click &#8220;Add New Monitor&#8221;. A window will pop up that looks like this make your values match the ones seen in this image):</p>
<p>&nbsp;</p>
<p style="text-align: center;"><a href="http://sheekgeek.org/wp-content/uploads/2011/12/AddNewMonitor1.jpeg"><img class="size-medium wp-image-1131 aligncenter" title="AddNewMonitor1" src="http://sheekgeek.org/wp-content/uploads/2011/12/AddNewMonitor1-254x300.jpg" alt="" width="254" height="300" /></a></p>
<p>Name this monitor whatever you like (no spaces or special characters), change the &#8220;Source Type&#8221; to &#8220;Remote&#8221;, change the function to Modect, check &#8220;enabled&#8221;  then click the &#8220;Source&#8221; tab. This window should look like this, expect with blank textbooks:</p>
<p style="text-align: center;"><a href="http://sheekgeek.org/wp-content/uploads/2011/12/AddNewMonitor2.jpeg"><img class="alignnone size-medium wp-image-1132" title="AddNewMonitor2" src="http://sheekgeek.org/wp-content/uploads/2011/12/AddNewMonitor2-254x300.jpg" alt="" width="254" height="300" /></a></p>
<p>Fill in the textbooks as I have in the example image above. Basically, you are telling ZoneMinder where to find the streaming video. The &#8220;remote Host Name&#8221; should be &#8220;localhost&#8221; since you are using the same machine. Port should be the same value as what you used in the mjpg_streamer command above (8080). The &#8220;Remote Host Path&#8221; is everything after the backslash form the web address we used to test the camera above &#8220;?action=stream&#8221;.  Now notice the Capture Width and Height is different from what the mjpg_streamer command was.  This was an issue with my camera. It could not handle the 620&#215;480 resolution and it defaulted to what is seen here. Be sure that the resolution in these boxes matches the resolution of your video stream. You can check this by looking at the page title of the webpage we used to test the camera &#8220;http://localhost:8080/?action=stream&#8221; It should read something like &#8220;(JPEG Image, 320&#215;240 pixels) &#8211; Mozilla Firefox&#8221;. Those are the values you should use here. Click &#8220;Save&#8221; when you are finished editing these settings.</p>
<p>That popup should close and the ZoneMinder dashboard should refresh. If everything is working correctly, your new monitor should have been added. If the text &#8220;localhost&#8221; under the &#8220;Source&#8221;  column is red, then you have a problem and need to make sure your settings are correct, and that mjpg_streamer is running. Otherwise, the text should be green.  Click the motor name to open a live view your new security camera.</p>
<p>With the current settings, it will only record an event if it detects motion. When this happens, the dashboard of ZoneMinder will add numbers in the &#8220;Events&#8221; column. Click this number to view the event. (Click &#8220;Refresh&#8221; on the dashboard if it doesn&#8217;t update those columns fast enough for you). This will now play back the video of the specific event. The window below shows an example of what an event would look like.</p>
<p style="text-align: center;"><a href="http://sheekgeek.org/wp-content/uploads/2011/12/Event1.jpeg"><img class="size-medium wp-image-1133 aligncenter" title="Event1" src="http://sheekgeek.org/wp-content/uploads/2011/12/Event1-238x300.jpg" alt="" width="238" height="300" /></a></p>
<p>That is it! We are finished. Now I have a smart motion triggered security cam that will archive footage if anyone goes near our cars. Your mileage may vary of course depending on the cameras, lighting, etc. of your particular situation. I was surprised how easy all of this actually was! I&#8217;m going to play around with this a bit more and see if I can make it a full fledged security system for our house.</p>
<p>If you have had success with this, please post a comment and tell us about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://sheekgeek.org/2011/adamsheekgeek/a-cheap-but-quality-home-surveillance-system/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Replace XP with Linux</title>
		<link>http://sheekgeek.org/2011/adamsheekgeek/how-to-replace-xp-with-linux</link>
		<comments>http://sheekgeek.org/2011/adamsheekgeek/how-to-replace-xp-with-linux#comments</comments>
		<pubDate>Thu, 03 Mar 2011 15:00:29 +0000</pubDate>
		<dc:creator>Adam@SheekGeek</dc:creator>
				<category><![CDATA[Headline]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Reviews about Stuff]]></category>

		<guid isPermaLink="false">http://sheekgeek.org/?p=201</guid>
		<description><![CDATA[
Many people are curious about linux, or maybe have even tried linux at some point. There is  a huge difference between people trying linux, and people using linux. Hopefully this article will sort of ease your transition into using linux, either as a full time OS or even just enough to get around if you ever encounter it. Once you are familiar with software on one OS, its tough to move on but with this article I hope to list out some linux software that replaces many of the ...]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p>Many people are curious about linux, or maybe have even tried linux at some point. There is  a huge difference between people <em>trying</em> linux, and people using linux. Hopefully this article will sort of ease your transition into using linux, either as a full time OS or even just enough to get around if you ever encounter it. Once you are familiar with software on one OS, its tough to move on but with this article I hope to list out some linux software that replaces many of the XP programs I once loved and how to run certain irreplaceable Windows software on linux.</p>
<p>The version of linux used here is <a href="http://linuxmint.com">Linux Mint</a>, which is built off <a href="http://www.ubuntu.com/">Ubuntu</a>.</p>
<p>(Image provided by Wikimedia Commons. Authors Larry Ewing, Simon Budig, Anja Gerwinski)</p>
<p><span id="more-201"></span></p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --><strong>Image Editing:</strong></p>
<p>While using XP, the best image editor I found was <a href="http://www.getpaint.net/">Paint.NET</a>.  This software gave a perfect blend of  advanced functionality with very simple and familiar interfaces. Since it uses .NET, it is not available for Linux machines.</p>
<p>After testing out all the other image editors I could find (including Gimp) I settled on two progrms programs. The first is <a href="http://kolourpaint.sourceforge.net/">KolorPaint.</a></p>
<p style="text-align: center;"><a href="http://sheekgeek.org/wp-content/uploads/2011/01/kolourPaint.jpeg"><img class="alignnone size-medium wp-image-843" title="kolourPaint" src="http://sheekgeek.org/wp-content/uploads/2011/01/kolourPaint-300x202.jpg" alt="" width="300" height="202" /></a></p>
<p>KolorPaint is a bit more advanced than Microsoft Paint, but has a similar layout and is very simple and intuitive to use. I can&#8217;t say much about this program other than it is the most used graphics application used on my computer. It is great for the kinds of simple things I do with images. It is by far my favorite graphics application.</p>
<p>The second graphics application I use quite a bit is named <a href="http://www.koffice.org/krita/">Krita</a>.</p>
<p style="text-align: center;"><a href="http://sheekgeek.org/wp-content/uploads/2010/01/krita_small.jpeg"><img class="alignnone size-full wp-image-202" title="krita_small" src="http://sheekgeek.org/wp-content/uploads/2010/01/krita_small.jpeg" alt="" width="536" height="416" /></a></p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		A:link { so-language: zxx } -->Krita has a very intuitive layout, similar to Paint.NET, is a fairly lightweight image editor and even has advanced options. You can even write your own scripts. If you are familiar with Paint.NET, this is the perfect Linux replacement. It might take a little while to get used to where buttons and options are, but once you do you should feel right at home. I generally don&#8217;t do more advanced graphics editing. I don&#8217;t get into the whole Photoshop deal. If you do, Krita can still handle most of what you throw at it from what I have read.</p>
<p><a href="http://pinta-project.com/">Pinta</a> is said to be a linux-native clone of Paint.NET.  So far it looks pretty good though some features are missing.</p>
<p>If these don&#8217;t cut it for you, then you can try to old staple of linux graphics editors <a href="http://www.gimp.org/">The Gimp</a>. If you&#8217;d like a more familiar photoshop-esque look and feel, try <a href="http://www.gimpshop.com/">Gimpshop</a>.</p>
<p>Everything mentioned so far have all been free programs, but one I&#8217;ve heard rave reviews about is  <a href="http://www.kanzelsberger.com/pixel/?page_id=12">Pixel Image Editor</a>.  It costs a little bit of money, but nothing compared to Photoshop, and it is multiplatform, meaning it can run on Windows, Mac, and Linux.</p>
<p>For Vector Graphics, I use <a href="http://www.inkscape.org/">Inkscape</a>.  This software is free and multiplatform and I was using it on XP before I switched to linux. It is quite easy to learn and does a good job. In fact I used it to modify <a href="http://www.thingiverse.com/thing:197">a project on Thingiverse</a> and <a href="http://www.thingiverse.com/derivative:256">have my own laser cut.</a></p>
<p>Some say you can use Photoshop in linux by using software called Crossover (more on this later) But I haven&#8217;t tried it myself.</p>
<p><strong>Office Suite:</strong></p>
<p>This has plagued me a bit. I&#8217;ve been using <a href="http://www.openoffice.org/">OpenOffice</a> for a few of years now, well before my switch. I really like it and it is a full office replacement, however switching between OpenOffice (OO) and Microsoft Office is sometimes somewhat problematic. I have not had much success with <a href="http://www.koffice.org/">Koffice</a>.</p>
<p><span style="text-decoration: underline;">Document Editing:</span></p>
<p>If your document is formatted a specific way, in one software, the other will not render it correctly in many cases. It is pulling teeth to try to get the text to fit exactly how it did in the original software. This is not limited to Word and OO Writer. Using other document editing software such as Abiword, and <a href="http://www.koffice.org/kword/">KWord</a> prove just as problematic.</p>
<p>As far as  which is best to use, I prefer OO Writer.  Abiword is very fast to load (unlike either Microsoft Office or OO) but did not work well on my system.  Kword is fast as well, but does not render images from documents on my system,</p>
<p>You can always go with a cloud office suite such as <a href="http://docs.google.com/">Google Docs</a> or <a href="http://www.zoho.com/"> Zoho</a>.</p>
<p><span style="text-decoration: underline;">Presentations:</span></p>
<p>The same problem occurs with presentations. Once edited in OO, many times the presentation does not render very well in Microsoft (the world standard.)</p>
<p><span style="text-decoration: underline;">Spreadsheets:</span></p>
<p>I don&#8217;t use this a lot, but when I do, for basic stuff, OO Spreadsheet is exactly the same as Excel at the level I use them.</p>
<p><span style="text-decoration: underline;">Formulae</span>:</p>
<p>OO Math is similar to Microsoft Equation Editor. This is just a personal preference thing. I like using the OO interface better than the Microsoft interface.</p>
<p>I use OO Math in OO Writer especially when I am writing school papers. When inserting a formula, a new pane in opened in your document window at the bottom, and you can see how the formula looks in your document as you type.</p>
<p><span style="text-decoration: underline;">Overall:</span></p>
<p>You can run Microsoft Office in Linux under Crossover Linux or WINE , which I do as well, but I only use it when it is absolutely necessary to keep the formatting of the document exactly the same as it previously was.  It is a bit buggy, and you cannot easily install certain plugins and it crashes from time to time for no apparent reason.</p>
<p>Overall, I suggest OpenOffice. If you NEED Microsoft Office, I suggest using a trial of the MS Office suite running in Crossover or WINE before buying and fully installing it to see if it works well with your system.</p>
<p><strong>File Searching:</strong></p>
<p>Some people swear by <a href="http://beagle-project.org/Main_Page">Beagle</a> but I prefer <a href="http://searchmonkey.embeddediq.com/">Searchmonkey</a>.<strong> </strong>Searchmonkey allows you to use Regular Expressions to search within files, and searches all the files on your system. Searchmonkey is by far the fastest search utility I have ever used.  If you are used to Windows file searches taking forever to complete, you will be surprised at the speed of Searchmonkey!</p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p><strong>WYSIWYG HTML Editing:</strong></p>
<p>From time to time, I&#8217;m in need of a WYSIWYG HTML Editor. It started with <a href="http://net2.com/nvu/">Nvu</a>, then <a href="http://kompozer.net/">Komposer</a> and now <a href="http://www.seamonkey-project.org/">Seamonkey</a>. They are all basically the same software, literally. They were all built off the same project.</p>
<p>Seamonkey is the most advanced I think at this point. You may know of Seamonkey as a good web browser on its own but if you go to “Window&#8211;&gt;Composer” in the menu bar, it will open the current page as editable HTML in a WYSIWYG editor. I&#8217;ve used to this to edit static webpages for classes, for work, and even for a simple online portfolio. This works perfectly with a lot of <a href="http://www.oswd.org/">open source web design templates</a>.</p>
<p>One thing I dislike is that in my current version the HTML has no syntax highlighting. Nvu and Komposer both have syntax highlighting last I checked. Komposer even has a CSS editor built in.</p>
<p>With all three of these programs, the generated HTML is kind of hard to read in the sense that there are no spaces between things.  I personally like to add some blank spaces in the HTML code between &lt;/div&gt; lines just to make things easier to read, but if you do this, all three of the programs will eliminate the spaces when you go back the the WYSIWYG editor tab. Sometimes it is easier just to open the HTML in a syntax-highlighting text editor.</p>
<p><strong>Screenshots:</strong></p>
<p>Many times, I need to take screenshots on my desktop, whether it is for school or for an article. I could hit the Print Screen button, then edit the resulting image in an image editor, but that becomes very time consuming if I am taking  a lot of screenshots.</p>
<p>In Windows, I used <a href="http://www.ntwind.com/software/winsnap.html">Winsnap</a> or <a href="http://www.techsmith.com/">Snagit</a> for desktop screenshots. In Linux, I found a near perfect replacement with KSnapshot.</p>
<p style="text-align: center;"><a href="http://sheekgeek.org/wp-content/uploads/2011/01/ksnapshot.jpeg"><img class="aligncenter size-medium wp-image-844" title="ksnapshot" src="http://sheekgeek.org/wp-content/uploads/2011/01/ksnapshot-300x262.jpg" alt="" width="300" height="262" /></a>Here you can see KSnapshot with a screenshot of KolourPaint for this article.</p>
<p><strong>Batch Image Resize:</strong></p>
<p>Uploading lots of images to the internet is a hassle, especially if you have to manually resize them all form the massive filesizes digital cameras take nowadays. Instead of having to use the terminal and look up some random script or program, I can use an incredibly simple GUI application.</p>
<p><a href="http://code.google.com/p/squash/">Squash</a> is a multiplatform batch image resizer.  The program is great! You select the pictures you want to resize, select the percentage by which you want to resize them, and click the “Resize Images” button. Simple as that! It is a multithreaded application so it tries to fully take advantage of your processor to make resizing very fast. This is perfect for shrinking pics for the web and for <a href="http://www.flickr.com/">Flickr</a> or <a href="http://picasaweb.google.com/">Picasa</a> uploading.</p>
<p style="text-align: center;"><a href="http://sheekgeek.org/wp-content/uploads/2010/01/squash_small.jpeg"><img class="alignnone size-full wp-image-204" title="squash_small" src="http://sheekgeek.org/wp-content/uploads/2010/01/squash_small.jpeg" alt="" width="502" height="349" /></a></p>
<p style="text-align: center;">Squash shrinking pics for this article.</p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p>So far this program in version 0.3 so it seems like the team is off to a great start. Personally I&#8217;d like to see a couple of features in the future releases such as the ability to select exact pixel size of resized images, as well as keeping the images in the window so you can run them again at a different size if needed.  Otherwise this is a great program!</p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p><strong>Coding:</strong></p>
<p>Everyone has their own preferences. Some people love working in the terminal with Emacs or Vi. Personally I like a GUI text editor when coding.</p>
<p><a href="http://projects.gnome.org/gedit/">gedit</a> is a great general purpose text editor with syntax highlighting and plugins.</p>
<p><a href="http://kate-editor.org/">Kate</a> is the editor I&#8217;m using more and more often nowadays.  it is a simply interface, but has several built-in features making it preferable for C/C++ development. I like the terminal being built in as well as the Build Plugin. Also, you can edit the settings of the editor very easily and even save your changes as a &#8220;Session.&#8221;</p>
<p><a href="http://universalindent.sourceforge.net/">UniversalIndent</a> is a great tool for code beautifying/ indenting. It is actually  GUI for several other code beautifiers. The options are very easy to use and it is great for use with simple text editors.</p>
<p><a href="http://netbeans.org/">Netbeans</a> is my absolute favorite IDE for java. This may be because I haven&#8217;t tried hard enough to learn other tools like Eclipse. Honestly, the features and ease of use of Netbeans has never put me in a position in which I would need to try another tool. It has consistently been a very high quality, feature-rich java IDE. There are tons of tutorials online for any problem you might run into using it. Out of several of the other GUI designers I&#8217;ve used for C or C++, Netbeans has hands-down the easiest and best GUI designer I&#8217;ve ever used. I very highly recommend this for java developers.</p>
<p><strong>Music and Video Multimedia Playing:</strong></p>
<p><a href="http://www.videolan.org/vlc/">VLC</a> Player is a multiplatform all around media player. I&#8217;ve been using it since before my Linux conversion. It is simple and basic and that&#8217;s why I use it. It can even play .MOV files. This helps get away from the Apple&#8217;s dreaded Quicktime player. Personally I use it to make playlists of my music.</p>
<p><strong>Video Editing Software:</strong></p>
<p>I haven&#8217;t personally used these just yet, but three promising prospects I have heard a lot about lately are <a href="http://vlmc.org/">VLMC</a>, <a href="http://www.openshotvideo.com/">OpenShot</a>, and <a href="http://www.pitivi.org/">PiTiVi</a>.   Since I have yet to use any of these, I&#8217;ll refrain from judging them, but I recommend you try them all if you are interested in video editing.</p>
<p><strong>Running Other Linux Distro Programs:</strong></p>
<p><a href="http://kitenet.net/~joey/code/alien/">Alien</a> is an amazing converter tool. It allows you to use a package file from another linux distribution.</p>
<p>Basically major flavors of linux have their own “package” format. If you download a program from the internet in .RPM format for instance, that was the RedHat or Fedora format, and you couldn&#8217;t easily use that program on Ubuntu. Alien fixes that problem by converting .RPM into .DEB files. It actually does a lot more than that, it can convert RPM, DPKG, SLP,and TGZ files between one another.</p>
<p>This opens up pretty much any program written for any major linux distro to be run on any other linux distro easily.</p>
<p><strong>Running Windows Programs:</strong></p>
<p><a href="http://www.winehq.org/">WINE</a> is a program that allows you to run windows programs inside linux seamlessly. Simply double click your .EXE file and it should run in WINE (once installed.) WINE works with most windows programs, however, certain ones will give you some trouble or require special attention, or even hacks.</p>
<p>To make WINE a fully usable and commercial product, a company called <a href="http://www.codeweavers.com/">CodeWeavers</a> based their software Crossover on it. You don&#8217;t have to go into hard settings, or look at scripts or code or do any hacks in Crossover&#8217;s software in my experience. They have two main programs of interest.</p>
<p><a href="http://www.codeweavers.com/products/cxgames/">Crossover Games</a> gives you the ability to run many popular games or graphics-dependant windows software on linux.</p>
<p><a href="http://www.codeweavers.com/products/cxlinux/">Crossover Linux</a> <strong> </strong>is useful for running standard Windows programs such as Microsoft Office, Adobe Photoshop, Lotus notes, Quicken, etc. I have used this with limited success with Microsoft Office. There are two versions of this software. The standard version just allows you to do regular Windows stuff and Office. The pro version includes Crossover Games support as well as some other perks if you choose to install this on an entire network of computers.</p>
<p>For the money I highly recommend getting Crossover Linux Pro.</p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		A:link { so-language: zxx } --></p>
<p><strong>Music Editing (Recording)</strong></p>
<p><a href="http://www.reaper.fm/">Reaper</a> is actually a Windows and OS X only program. It is a full featured free multitrack music editor, complete with MIDI and VST support. To run Reaper in linux there are a couple of options. Personally,</p>
<p>I use Crossover Games to run mine as it is easy to connect my USB microphone to the input of the program. It is quick and easy. I only use this software from time to time if a certain riff hits me while playing guitar and I want to save it.</p>
<p>Another option is using <a href="http://www.davehayes.org/2007/04/27/howto-reaper-on-ubuntu-linux-with-wineasio">WINE directly</a>. This can get rather messy and it is not easy to select your input. I had this working, but you have to start Jack Audio Connection Controller  (qjackctl) before you start Reaper. You also have to tweak its settings quite a bit to get the buffering correct.</p>
<p>The last option is to use <a href="http://forums.cockos.com/showthread.php?t=26690&amp;highlight=LinReaper">LinReaper</a>.  Read through the forum linked to get the newest version. I personally never got this working on my system despite a couple of tries.</p>
<p>Problems with reaper include constant updates (which isn&#8217;t a problem on native systems, but annoying to set everything up again and again in crossover or WINE) and the fact that it doesn&#8217;t have a built in WAV editor. You have to get a separate WAV editor for this task which you can link in Reaper&#8217;s settings; though I&#8217;ve had limited success linking anything to Reaper running in WINE or Crossover.</p>
<p>The WAV editor I prefer is a simple lightweight Windows program called <a href="http://www.wavosaur.com/">Wavosaur</a>.  I&#8217;ve had great success with this program.</p>
<p>Some great native linux Music editing software are also available.</p>
<p><a href="http://audacity.sourceforge.net/">Audacity</a> is cross platform and has been around for quite some time.It has a simple interface and is very intuitive to use.</p>
<p><a href="http://www.ardour.org/">Ardour</a> is a more advanced audio editor.  It has more options and is more akin to Acid Pro or ProTools.</p>
<p><strong>Google Sketchup:</strong></p>
<p><a href="http://sketchup.google.com/">Google Sketchup</a> is a simple, free, easy to use 3D CAD software. It is only for Windows or OS X machines. Personally, I&#8217;ve used Google Sketchup with limited success in Crossover Games on my Linux Mint machines. Sometimes exporting 2D images of the Sketches crashes Sketchup which can require a fresh install to fix. Plugins also don&#8217;t show up in the menu for me.</p>
<p><a href="http://www.wings3d.com/">Wings 3D</a>, <a href="http://www.misfitcode.com/misfitmodel3d/">Misfit Model 3D</a>,  <a href="http://meshlab.sourceforge.net/">Meshlab</a> and others are some great native linux 3D CAD software packages.</p>
<p><strong>Conclusion:</strong></p>
<p>I won&#8217;t lie to you and say I have it all figured out just yet. I keep my old XP machine in case I have to run software that is Windows specific (which is rather rare.) As far as school work goes, in some cases you <em>must</em> use Internet Explorer for accessing online materials and sometimes certain simulation softwares, etc. As rare as this is, you want to make sure you won&#8217;t be inconvenienced by it.</p>
<p>Since I bought a new computer, I decided to keep my old one instead of get rid of it. This system has worked well for me. A great option for many people is to dual boot Windows and Linux. It is a great option but this is up to you. Others still may choose to use a virtual machine within Windows to host a linux computer, or vice versa. What ever your method, I hope to have helped your transitions to linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://sheekgeek.org/2011/adamsheekgeek/how-to-replace-xp-with-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make Animated GIFs (of your Brain Scan)</title>
		<link>http://sheekgeek.org/2010/adamsheekgeek/how-to-make-animated-gifs-of-your-brain-scan</link>
		<comments>http://sheekgeek.org/2010/adamsheekgeek/how-to-make-animated-gifs-of-your-brain-scan#comments</comments>
		<pubDate>Tue, 03 Aug 2010 23:28:09 +0000</pubDate>
		<dc:creator>Adam@SheekGeek</dc:creator>
				<category><![CDATA[Adventures in DIY]]></category>
		<category><![CDATA[Education = Learning]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ezDICOM]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[giftedmotion]]></category>
		<category><![CDATA[MRI]]></category>

		<guid isPermaLink="false">http://sheekgeek.org/?p=194</guid>
		<description><![CDATA[
I recently had an MRI and wanted to make an animated GIF out of the images. I found a couple of great little programs that made this task a breeze.

To make an animated GIF of your MRI, we&#8217;ll first want to strip off your name and personal info from each of the images.  This makes the resulting images look cooler. This step is optional, but highly recommended as your personal info will stay private, but you&#8217;ll end up with a wicked set of images.
Open your CD, navigate to “Data.” ...]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		A:link { so-language: zxx } --><a href="http://sheekgeek.org/wp-content/uploads/2010/01/animation.gif"><img class="size-full wp-image-197 alignleft" title="animation" src="http://sheekgeek.org/wp-content/uploads/2010/01/animation.gif" alt="" width="256" height="256" /></a></p>
<p>I recently had an MRI and wanted to make an animated GIF out of the images. I found a couple of great little programs that made this task a breeze.</p>
<p><span id="more-194"></span></p>
<p>To make an animated GIF of your MRI, we&#8217;ll first want to strip off your name and personal info from each of the images.  This makes the resulting images look cooler. This step is optional, but highly recommended as your personal info will stay private, but you&#8217;ll end up with a wicked set of images.</p>
<p>Open your CD, navigate to “Data.” Within this folder you should see one or more folders with a name like EXP000**. These are where the actual views are stored. They should each contain some .jpg files, some HTML files and some .dcm files.  We are interested in the .dcm  files; they are called DICOM images.  We need some software that can view and edit and convert DICOM images. A great free medical viewing program is called <a href="http://sourceforge.net/projects/ezdicom/">ezDICOM</a>. This same website has details on the format as well as suggestions for <a href="http://www.sph.sc.edu/comd/rorden/dicom.html">many other editors</a>, but I won&#8217;t cover any of those.</p>
<p>I&#8217;m running ezDICOM in Linux under WINE for this tutorial.</p>
<p><a href="http://sheekgeek.org/wp-content/uploads/2010/01/ezDICOM_small.jpeg"><img class="aligncenter size-full wp-image-198" title="ezDICOM_small" src="http://sheekgeek.org/wp-content/uploads/2010/01/ezDICOM_small.jpeg" alt="Using ezDICOM" width="469" height="366" /></a></p>
<p>Make sure you are viewing thumbnails in your folder (View&#8211;&gt;Thumbnails). Look at the .jpg files to see which ones are from the same series of images. Sometimes many different views are mixed together in these folders. You may want to create a folder on your desktop to organize files that are from the same view.  You can also run the program that came with the CD to see which views are from the same series.</p>
<p>In ezDICOM, go to File&#8211;&gt; Open and hold the shift key as you select all the correct DICOM images.</p>
<p>From here you can edit the size and contrast of the images if you choose. The main point is to eliminate any data or text on the images in preparation of the next step. From here I usually save all the files as images to a separate folder. Do this by hitting “Ctrl+s” then selecting .jpeg as the filetype. Name the file what number in the series it is using the name of the DICOM it came from. Be sure to name the first 9 images with a leading 0 as in 01, 02,03, etc. This helps keep the images in the correct order later on.</p>
<p>I ran through 24 images very quickly using this approach. Additionally, there is a standalone DICOM to jpeg converter in the ezDICOM package called “dcm2jpg.exe”  This is a command line program that says you simply have to drag and drop .dcm files on top of it and it&#8217;ll convert them to jpeg for you. This can likely do batches of files and speed up your process, but since I only had 24 images I was interested in here, I did it manually.</p>
<p>The next step is to get the images into a GIF animation.</p>
<p>For this I used a program called <a href="http://www.onyxbits.de/giftedmotion">GiftedMotion</a>. This dead simple JAVA program allows you to easily make animated GIF images on any platform.  Simply go to File&#8211;&gt;Load and Shift-select the .jpeg images you just made. Once all the images are loaded, you can hit the “Play” button to see what the GIF will look like. If things are out of order you can use the arrow buttons in the Sequence editor to move stuff around. You can also play with the length of time each frame is shown and move them around somewhat.</p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="text-align: center;"><a href="http://sheekgeek.org/wp-content/uploads/2010/01/ezDICOM_small.jpeg"></a><a href="http://sheekgeek.org/wp-content/uploads/2010/01/GiftedMotion_small.jpeg"><img class="alignnone size-full wp-image-199" title="GiftedMotion_small" src="http://sheekgeek.org/wp-content/uploads/2010/01/GiftedMotion_small.jpeg" alt="" width="536" height="487" /></a></p>
<p>When you are happy with the results, hit the “Record” button to save the resulting GIF. It will take some time, and the larger your images are and the higher the number you have, the longer it will take, but the results are a wicked animated GIF of your brain scan.</p>
]]></content:encoded>
			<wfw:commentRss>http://sheekgeek.org/2010/adamsheekgeek/how-to-make-animated-gifs-of-your-brain-scan/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Word About USB Audio Hardware</title>
		<link>http://sheekgeek.org/2010/adamsheekgeek/a-word-about-usb-audio-hardware</link>
		<comments>http://sheekgeek.org/2010/adamsheekgeek/a-word-about-usb-audio-hardware#comments</comments>
		<pubDate>Tue, 22 Jun 2010 04:15:54 +0000</pubDate>
		<dc:creator>Adam@SheekGeek</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Reviews about Stuff]]></category>

		<guid isPermaLink="false">http://sheekgeek.org/?p=475</guid>
		<description><![CDATA[I have had some issues dealing with &#8220;experts&#8221; at local music stores and even reviews of products online; in particular dealing with USB condenser microphones used for music recording. I though that since I could see how so many people claim to be experts, yet give misleading information, I should do my part is dispelling some myths about USB audio hardware using a particular example.
Even some &#8220;experts&#8221; at the music store will have no clue what they are talking about, so let me enlighten you something so you won&#8217;t fall ...]]></description>
			<content:encoded><![CDATA[<p>I have had some issues dealing with &#8220;experts&#8221; at local music stores and even reviews of products online; in particular dealing with USB condenser microphones used for music recording. I though that since I could see how so many people claim to be experts, yet give misleading information, I should do my part is dispelling some myths about USB audio hardware using a particular example.</p>
<p>Even some &#8220;experts&#8221; at the music store will have no clue what they are talking about, so let me enlighten you something so you won&#8217;t fall prey to their stupidity.</p>
<p>I like to record music from time to time on my computer.  Nothing special, a riff here or there on the guitar, or a cover song or something. I wanted to have the simplest method for recording so when I chose to, I can focus on recording music instead of setting things up.   I found the <a href="http://www.mxlmics.com/products/USB/USB_006/USB_006.html">MXL USB.006 Condenser Microphone </a>to be perfect for my application, however everyone and their brother advised me against it. Even the guy who sold it to me at &#8220;Guitar Place&#8221; said it wasn&#8217;t as good as running a standard condenser mic through a mixer and using a USB sound card. The one he recommended was the<a href="http://www.behringer.com/EN/Products/UCA202.aspx"> Behringer UCA202</a>.  So I bought them both to see the differences.</p>
<p><span id="more-475"></span>With both items plugged in, issuing the command &#8220;lsusb&#8221; to list all my USB devices in the terminal shows the following:</p>
<pre>Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 004: ID 08bb:2900 Texas Instruments Japan PCM2900 Audio Codec
Bus 006 Device 003: ID 08bb:2902 Texas Instruments Japan
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 007: ID 062a:0000 Creative Labs Optical mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 1267:0103 Logic3 / SpectraVideo plc G-720 Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
</pre>
<p></p>
<p>The numbers in the 6th column show the hexadecimal of values vendor ID and product ID numbers.  You can see two entries for &#8220;Texas Instruments&#8230;&#8221;  The one that says &#8220;PCM2900 Audio Codec&#8221;  is the MXL mic.  The other TI entry is for the Behringer UCA202.   Notice that the Product ID is very similar (2900 vs. 2902).  This refers to the chip they are using to convert the audio to USB.  Being that they are both 290x means they are the same series of chip.</p>
<p>Here are the datasheets for these chips:</p>
<p><a href="http://focus.ti.com/docs/prod/folders/print/pcm2902.html">Here&#8217;s the 2902 (in the Behringer) </a>and here<a href="http://focus.ti.com/docs/prod/folders/print/pcm2900.html"> you can find the 2900 (in the MXL mic) </a></p>
<p>The only difference between these two chips is that one (the one in the Behringer) has SPDIF out, and the other does not. Quality is exactly the same.</p>
<p>This lead me to think that the foretold lack of quality must be from an inferior microphone element. This lead me to more research. The mic itself is considered a &#8220;cardioid condenser mic.&#8221;  &#8220;Cardioid&#8221; means if you were to draw out a shape of where the mic can actually pic up sound (its sensitivity pattern) you will find it is shaped somewhat like a heart ( ♥ ). Wikipedia has a <a href="http://en.wikipedia.org/wiki/Microphone#Microphone_polar_patterns">great article showing</a> the different sensitivity patterns of mics.</p>
<p>The term &#8220;condenser&#8221; means that basically the mic is a variable capacitor. Sound waves vary the distance between two capacitive plates changing the capacitance between them. This change in capacitance is the electronic incarnation of the sound, allowing it to then be mixed normally.</p>
<p>MXL claim that they use their standard gold-sputtered diaphragm condenser mic element in the USB.006.</p>
<p>Condenser mics require DC power to work . For this they use 48v Phantom Power. This is basically provided by a mixer or preamp and is sent via XLR mic cable. Since the USB.006 mic has no normal XLR cable, they MXL had to come up with a way to provide phantom power for the mic element. They likely used a charge pump circuit to up the 5v DC USB power to 48v. This allows the output of the MXL USB.006 to be exactly comparable to standard condenser mics.</p>
<p>It is safe to say that the MXL USB006 mic has the same quality as any comparable mic running through a mixer and into the Behringer UCA202. Anyone who says they can tell a difference is a complete moron (like many self proclaimed &#8220;gurus&#8221; who work at music stores.)  Put it this way; if they knew what they were talking about, do you think they&#8217;d be the guy selling you stuff at the music store?</p>
<p>I know this isn&#8217;t the case for everyone. Many times you will find an authentic guru at the music store.  It just really bothered me how these people just accepted that the USB mic wasn&#8217;t as good as the other methods because some other &#8220;expert&#8221; told them so. Worse than that, they undersold themselves (sicne many work on commission and the Behringer costs about 1/3 to 1/4 the costs of the USB.006 mic) and perpetrating a lie. Spouting off bad advice is no way to help people. If you don&#8217;t know what you are talking about, please at least <em>try</em> to look it up before giving advice on the topic.</p>
<p>Both the MXL USB.006 and the Behringer UCA202 are great cheap USB sound devices and I highly recommend both of them to anyone looking for good quality simple and fast recording. Personally, I use them both at the same time when I record, and even use the Behringer UCA202 as the default sound card on my machine.</p>
<p>&lt;/rant&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://sheekgeek.org/2010/adamsheekgeek/a-word-about-usb-audio-hardware/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

