<?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>EUROMERICAN &#187; Guides</title>
	<atom:link href="http://mjs.cc/category/linux/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://mjs.cc</link>
	<description>ramblings &#38; shenanigans</description>
	<lastBuildDate>Sat, 17 Jul 2010 01:53:11 +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>Install &amp; Run Folding@Home SMP Client on Linux Mint 9 or Ubuntu 9.10 x64</title>
		<link>http://mjs.cc/2010/06/01/install-run-foldinghome-smp-client-on-linux-mint-9-or-ubuntu-9-10-x64/</link>
		<comments>http://mjs.cc/2010/06/01/install-run-foldinghome-smp-client-on-linux-mint-9-or-ubuntu-9-10-x64/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 21:07:43 +0000</pubDate>
		<dc:creator>Mika Salakka</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[fah]]></category>
		<category><![CDATA[folding]]></category>
		<category><![CDATA[folding@home]]></category>
		<category><![CDATA[linux mint 9]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[smp]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://mjs.cc/?p=608</guid>
		<description><![CDATA[I'm posting these instructions here as to how to install and successfully run the SMP 64-bit client on Mint 9 or Ubuntu 9.10. These instructions work at the time of writing, are intended only for FAH SMP 64-bit client version 6.29, and on Mint 9 or Ubuntu 9.10.]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://mjs.cc/wp-content/uploads/2010/06/Fold003.png"><img class="alignleft size-thumbnail wp-image-614" title="F@H" src="http://mjs.cc/wp-content/uploads/2010/06/Fold003-150x150.png" alt="" width="150" height="150" /></a>I recently installed Linux Mint 9 x64 and have been tinkering with it. I&#8217;ve also gotten into Folding@Home and am part of a team at W7Forums. However, installing the 64-bit SMP2 client for my triple-core turned out to be a slightly less out-of-the-box experience than it was on Windows. Some dependencies that have been upgraded for Ubuntu 9.10, or Mint 9, don&#8217;t work quite the same. Or something.</p>
<p>I&#8217;m not a programmer, or an engineer; I like to keep stuff like this simple. So I&#8217;m posting these instructions here as to how to install and successfully run the SMP 64-bit client on Mint 9 or Ubuntu 9.10. These instructions work at the time of writing, are intended only for FAH SMP 64-bit client version 6.29, and on Mint 9 or Ubuntu 9.10.</p>
<p>I gathered these instructions and scripts from various sources. I don&#8217;t know <em>what</em> makes them work, but they did work for me. <strong>If you hose your system, don&#8217;t come crying to me</strong>.</p>
<ol>
<li>
<h4>Open Terminal, and enter <span style="color: #800000;">sudo apt-get install ia32-libs</span></h4>
</li>
<li>
<h4>Enter <span style="color: #800000;">mkdir -p ~/folding</span></h4>
</li>
<li>
<h4>Enter <span style="color: #800000;">cd ~/folding</span></h4>
</li>
<li>
<h4>Enter <span style="color: #800000;">curl -O http://www.stanford.edu/group/pandegroup/folding/release/FAH6.29-Linux.tgz</span> (the -O after curl is a dash and a capital o, and not a zero) &#8211; if you do not have curl installed, you can use wget http://www.stanford.edu/group/pandegroup/folding/release/FAH6.29-Linux.tgz instead</h4>
</li>
<li>
<h4>Enter <span style="color: #800000;">tar xzf FAH6.02-Linux.tgz</span></h4>
</li>
<li>
<h4>Enter <span style="color: #800000;">chmod +x fah6</span></h4>
</li>
<li>
<h4>Enter <span style="color: #800000;">./fah6 -configonly -smp</span> and configure the client</h4>
</li>
<li>
<h4>Once back in Terminal, enter <span style="color: #800000;">&#8220;<code>LD_LIBRARY_PATH=~/lib64-fah ./</code>fah6 -smp -verbosity 9 $* &amp;&#8221; &gt; fah</span></h4>
</li>
<li>
<h4>Enter <span style="color: #800000;">chmod +x fah</span></h4>
</li>
<li>
<h4>Check that <code><span style="color: #008000;">wget</span>, <span style="color: #008000;">bash</span>, <span style="color: #008000;">binutils</span>, <span style="color: #008000;">bc</span> and <span style="color: #008000;">awk</span> are installed; if not, or if you don't know how to find out, install with sudo apt-get</code></h4>
</li>
<li>
<h4>Use <span style="color: #800000;">sudo -k</span> to make sure your elevated privileges are dropped; you have to be logged in as the very user you want to always launch the FAH client on, and without elevated privileges, or the following will not work right</h4>
</li>
<li>
<h4>Enter <span style="color: #800000;"><code>cd ~</code></span></h4>
</li>
<li>
<h4>Enter <code><span style="color: #800000;">wget http://darkswarm.org/whosyerdaddy-0.6.sh</span> (or, if server/file is unavailable, try <span style="color: #0000ff;">wget http://mjs.cc/fah/whosyerdaddy-0.6.sh</span>)</code></h4>
</li>
<li>
<h4>Enter <span style="color: #800000;"><code>chmod +x whosyerdaddy-0.6.sh</code></span></h4>
</li>
<li>
<h4>Enter <code><span style="color: #800000;">cp -a /lib ~/lib64-fah</span> (this gave me a few permission errors, but I just ignored them)</code></h4>
</li>
<li>
<h4>Enter <span style="color: #800000;"><code>cd ~/lib64-fah</code></span></h4>
</li>
<li>
<h4>Enter <span style="color: #800000;"><code>~/whosyerdaddy-0.6.sh</code></span></h4>
</li>
<li>
<h4>You should be done.</h4>
</li>
</ol>
<p>At this point you should be able to launch the client by executing the <span style="color: #008000;">fah</span> script we created into the <span style="color: #008000;">~/folding</span> directory:<br />
<span style="color: #800000;">~/folding/fah</span></p>
<p>Good luck!</p>
<p>These instructions were put together by combining the <a href="http://folding.stanford.edu/English/LinSMPGuide" target="_blank">original guide</a>, as to how to install a Linux SMP client, with F@H forum member Tear&#8217;s script and <a href="http://foldingforum.org/viewtopic.php?p=138466#p138466" target="_blank">great instructions</a>. The whosyerdaddy-0.6.sh script is Tear&#8217;s, and I&#8217;m only hosting a copy of it on my server in case his site goes down and someone really needs to get their hands on it in order to get these instructions to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://mjs.cc/2010/06/01/install-run-foldinghome-smp-client-on-linux-mint-9-or-ubuntu-9-10-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Synergy On Windows 7 And Mac OS X</title>
		<link>http://mjs.cc/2010/05/24/setting-up-synergy-on-windows-7-and-mac-os-x/</link>
		<comments>http://mjs.cc/2010/05/24/setting-up-synergy-on-windows-7-and-mac-os-x/#comments</comments>
		<pubDate>Mon, 24 May 2010 17:22:23 +0000</pubDate>
		<dc:creator>Mika Salakka</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[synergy]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://mjs.cc/?p=601</guid>
		<description><![CDATA[Using a program called Synergy, you can share a keyboard and a mouse between a Windows 7 machine and a Mac. In this post I try to recreate the steps I took to set up Synergy Server on my Windows 7 64-bit PC and Synergy Client on a Mac Mini G4 running Leopard.]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://mjs.cc/wp-content/uploads/2010/05/linux-mac-windows.png"><img class="alignleft size-thumbnail wp-image-602" title="Synergy" src="http://mjs.cc/wp-content/uploads/2010/05/linux-mac-windows-150x150.png" alt="" width="150" height="150" /></a>Using a program called Synergy, you can share a keyboard and a mouse between a Windows 7 machine and a Mac. In this post I try to recreate the steps I took to set up Synergy Server on my Windows 7 64-bit PC and Synergy Client on a Mac Mini G4 running Leopard.</p>
<p>First, we will decide that the Windows machine will be called Windows, and the Mac will be called&#8230;Mac. Download the GUI clients for Synergy for both machines. I used SynergyInstaller-1.3.1.exe on Windows, and SynergyKM-1.0b7-Installer.dmg on Leopard.</p>
<p>I highly recommend assigning both machines their own IP addresses. Usually your router will use something called DHCP to assign an &#8220;internal&#8221; IP address to each machine as they connect to it. These IPs tend to change when your machine reconnects to the router after a reboot for example. You can set up your computers to pick their own IPs instead. I have found it easier to connect via Synergy if I am assigning Synergy screens with IP aliases, instead of just counting on hostnames. But it&#8217;s your call.</p>
<p>Configuring Synergy on the PC is very straight-forward. Just install it, and check the option to &#8220;share this computer&#8217;s keyboard/mouse&#8221; if that is what you&#8217;re doing. Once done, click Turn On Synergy. There will be a green circle in the system tray signaling that it&#8217;s running.</p>
<p>Now configure the client on the Mac.</p>
<p>Please keep in mind that when you configure the server and the client, the information you provide has to match. Make sure you type in the hostnames, IPs, and edge shortcuts correctly.</p>
<p>In my setup, I have two screens called Windows and Mac. Both have assigned IP addresses as aliases. Both have the following shortcuts configured: Mac is to the right of Windows, and Windows is to the left of Mac. This means that if I move my mouse over the right-hand edge of my Windows screen, it&#8217;ll show up on the Mac desktop; similarly, moving it past the left edge on the Mac will bring it back to Windows. It may seem like it&#8217;s redundant to provide both machines with both details, but it&#8217;s not; it&#8217;s absolutely necessary.</p>
<p>Once the client is configured on the Mac, it will try to connect. If connecting to the server fails, first check the configuration to make sure you dotted your i&#8217;s and crossed your t&#8217;s, and that all the information matches. Then, check your firewall software (or Windows Firewall) on the Windows machine to make sure it&#8217;s allowing connections through to the Synergys (server) application. Check Windows 7&#8242;s sharing settings and make sure you&#8217;ve got everything turned on appropriately. I recommend dropping the encryption to the older kind, since I&#8217;m not sure Leopard can handle 128-bit encryption. You can also add the Windows machine&#8217;s IP and hostname into the Mac&#8217;s hosts file: In Terminal, type <strong>sudo su -</strong> and enter your password. Then type <strong>nano /etc/hosts</strong> and hit enter. Add <em>192.168.2.6     Windows</em> to the bottom of the file, if 192.168.2.6 is the IP your Windows machine is using (if not, use the correct one), then press Control-O and accept changes to save the file, and reboot. Start SynergyKM again.</p>
<p>I have also found that using Finder to connect to the Windows machine through the Connect To Server option before you launch the client can be helpful.</p>
<p>If you are having difficulty getting Synergy2 to play nice with Windows and Mac, hit me up in the comments and I&#8217;ll try to help you get it running. It&#8217;s definitely doable.</p>
]]></content:encoded>
			<wfw:commentRss>http://mjs.cc/2010/05/24/setting-up-synergy-on-windows-7-and-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Enable Auto-Scroll in Firefox</title>
		<link>http://mjs.cc/2010/01/22/enable-auto-scroll-in-firefox/</link>
		<comments>http://mjs.cc/2010/01/22/enable-auto-scroll-in-firefox/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 20:04:57 +0000</pubDate>
		<dc:creator>Mika Salakka</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://mjs.cc/?p=545</guid>
		<description><![CDATA[For whatever reason, the version of Firefox in my fresh installation of Linux Mint 8 always has the auto-scroll function disabled by default. Auto-scroll is useful if you have a mouse with a scroll wheel; you can just click on the scroll wheel and then move your pointer up and down on the screen, automatically [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>For whatever reason, the version of Firefox in my fresh installation of Linux Mint 8 always has the auto-scroll function disabled by default. Auto-scroll is useful if you have a mouse with a scroll wheel; you can just click on the scroll wheel and then move your pointer up and down on the screen, automatically scrolling the web page as you go.</p>
<p>If this feature is disabled in your Firefox browser, you can enable it! Start by typing <strong>about:config</strong> in the address field, and hit enter. You may get an amusing warning, which you can feel free to dismiss. Look up <strong>general.autoScroll</strong> in the long list of settings, and switch its value from false to <strong>true</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mjs.cc/2010/01/22/enable-auto-scroll-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
