<?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>The World Of Gavin &#187; synergy2</title>
	<atom:link href="http://www.gavinwillingham.com/tag/synergy2/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gavinwillingham.com</link>
	<description>My opinions on things I have opinions on</description>
	<lastBuildDate>Fri, 28 Jan 2011 17:08:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Linux on W500</title>
		<link>http://www.gavinwillingham.com/linux-on-w500.html</link>
		<comments>http://www.gavinwillingham.com/linux-on-w500.html#comments</comments>
		<pubDate>Mon, 22 Feb 2010 18:36:43 +0000</pubDate>
		<dc:creator>gavin</dc:creator>
				<category><![CDATA[Content]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[rsa]]></category>
		<category><![CDATA[synergy2]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[w500]]></category>
		<category><![CDATA[xgamma]]></category>
		<category><![CDATA[xorg.conf]]></category>

		<guid isPermaLink="false">http://www.gavinwillingham.com/?p=729</guid>
		<description><![CDATA[I recently got my IBM thinkpad, a T60p, replaced with a new Lenovo model; the W500. Here are some notes on my experiences. For explanations of commands such as !$, see this page. 64-bit or 32-bit I originally assumed I&#8217;d have to install 64-bit Linux, as the laptop came with 4GB of RAM and it [...]]]></description>
			<content:encoded><![CDATA[<p>I recently got my IBM thinkpad, a T60p, replaced with a new Lenovo model; the W500. Here are some notes on my experiences. For explanations of commands such as !$, see <a title="Linux shell commands" href="linux-shell-commands.html">this page</a>.</p>
<h2>64-bit or 32-bit</h2>
<p>I originally assumed I&#8217;d have to install 64-bit Linux, as the laptop came with 4GB of RAM and it seemed a waste to only have 3 usable. It seems that this issue has been solved now, however, with the PAE kernel. The standard install CD of <a title="Ubuntu 9.10 (Karmic Koala)" href="http://releases.ubuntu.com/karmic/">Ubuntu Karmic</a> will detect a system with &gt;3GB RAM and automatically install the PAE kernel. Nice.</p>
<h2>Graphics</h2>
<p>When Ubuntu Karmic first started up, I was presented with an option to install some proprietary graphics drivers for my card. I elected to do this initially, but found I couldn&#8217;t sleep or hibernate the system. Editing <code>/etc/X11/xorg.conf</code></p>
<blockquote>
<pre>Section "Device"
 Identifier    "Default Device"
##    Driver    "fglrx"
 Driver "radeon"
EndSection</pre>
</blockquote>
<p>commenting out <code>fglrx</code> and adding the <code>radeon</code> line. This didn&#8217;t seem to help much either. Switched back to proprietary and  sleep/hibernate working&#8230;</p>
<p>The W500 comes with 2 graphics chipsets; 1 on-board (intel), 1 a separate card (ati). Linux can&#8217;t cope with this. In the BIOS, you can choose between integrated (intel) and discrete (ati). If you want to use multi-monitor, you have to use the discrete graphics. Also remember to set the &#8220;OS Detection for Switchable Graphics&#8221; option to disabled.</p>
<h3>Compiz</h3>
<p>Compiz, would not work with the <code>radeon</code> driver for me, so if you want pretty effects/3D, you need to use the proprietary driver or have more luck than I.</p>
<h4>Comments on this issue:</h4>
<blockquote><p><img style="float: left;" src="http://purl.org/net/spiurl/oldmanuk" alt="oldmanuk" />@gavinwillingham thinking about it, it may be that the OS driver shipped with karmic doesn&#8217;t support 3d-accel on the W500s new adapter.</p>
<p><a title="Link to twitter post" href="http://twitter.com/oldmanuk/status/10865045981"><em>@oldmanuk via twitter</em></a></p></blockquote>
<blockquote><p><img style="float: left;" src="http://purl.org/net/spiurl/planetf1" alt="planetf1" />@oldmanuk @gavinwillingham On Fedora 12 you needed to add the mesa-dri-drivers-experimental package. Look for similar in ubuntu</p>
<p><a title="Link to twitter post" href="http://twitter.com/planetf1/status/10865147456"><em>@planetf1 via twitter</em></a></p></blockquote>
<p>To get the cube effect running, you need to install the compiz settings manager:</p>
<blockquote>
<pre>[gavin@pc]: sudo aptitude install compizconfig-settings-manager</pre>
</blockquote>
<p>This new utility appears in <code>System-&gt;Preferences-&gt;CompizConfig Settings Manager.</code></p>
<p>Compiz does make window resizing ludicrously slow; I disabled it in the config manager (&#8220;resize window&#8221; in settings manager). It re-enabled itself. I can&#8217;t currently get it to disable <img src='http://www.gavinwillingham.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<h3>Monitors</h3>
<p>The screen on the W500 is much worse than that of the T60p &#8211; the viewing angle is atrocious. The colours are also very washed out, but this can be addressed. Using a utility called <code>xgamma</code>, you can tweak the colour levels to a more sensible level. I&#8217;m currently using the following settings.</p>
<pre>xgamma -rgamma 0.9 -ggamma 0.8 -bgamma 0.65</pre>
<p>This command unfortunately affects both monitors (laptop and external). If using the proprietary drivers you can configure on a per-monitor basis, but I&#8217;ve not got that far yet.</p>
<h2>Synergy</h2>
<p><a title="Synergy2" href="http://synergy2.sourceforge.net/">Synergy2</a> is, quite possibly, the single most useful utility in the world. It&#8217;s like a software KVM, in that it allows a mouse and keyboard to be shared across multiple computers, the beauty being that it is seamless; move the mouse past the edge of one screen and it appears on the next.</p>
<p>Synergy is in the apt repository, so is quick to install with a simple</p>
<blockquote>
<pre>[gavin@pc]: apt-get install synergy</pre>
</blockquote>
<p>Unfortunately, with my install I could not get a client to connect to my server (run <code>synergys --daemon</code>), until I opened the port with iptables:</p>
<blockquote>
<pre>[gavin@pc]: iptables -I INPUT 1 -p tcp --dport 24800 -j ACCEPT</pre>
</blockquote>
<h2>Mouse</h2>
<p>In firefox, to get the middle button to scroll with the trackball, set auto-scroll in advanced prefs to on.</p>
<h2>Rational Software Architect</h2>
<p>When installing RSA with the embedded version of WAS, the install will fail during the setup phase trying to create a new profile. You can complete the install by electing not to create a profile, but will still not be able to create one as usual. This is caused by <code>/bin/sh</code> being linked to dash in Ubuntu, not bash. This is easily fixed as follows</p>
<blockquote>
<pre>[gavin@pc]: unlink /bin/sh
[gavin@pc]: ln -s /bin/bash /bin/sh
</pre>
</blockquote>
<h4>Comments on this approach</h4>
<blockquote><p><img style="float: left;" src="http://purl.org/net/spiurl/oldmanuk" alt="oldmanuk" />@gavinwillingham a) you should use dpkg-reconfigure, not unlink and b) you&#8217;re increasing your boot speed &#8211; <a href="http://j.mp/m0wU">http://j.mp/m0wU</a></p>
<p><a title="Link to twitter post" href="http://twitter.com/oldmanuk/status/10865085211"><em>@oldmanuk via twitter</em></a></p></blockquote>
<p>When running the Install Manager, and once installed when running RSA, I encountered a strange issue where clicking on a button didn&#8217;t have any effect other than to select the button. I was sent a link to<a title="Eclipse buttons in Ubuntu" href="http://www.norio.be/blog/2009/10/problems-eclipse-buttons-ubuntu-910"> the solution,</a> which basically involves setting an environment variable, <code>GDK_NATIVE_WINDOWS</code> to <code>1</code></p>
<h2>Flash on Chrome</h2>
<p>When you download the Flash installer for Linux and unpack/run it, it will offer to install the plugin into firefox. Which is nice if you use firefox. I chop and change between firefox and chrome. To install the Flash plugin into chrome, first create a plugins directory (if it doesn&#8217;t already exist, then copy the plugin into it).</p>
<blockquote>
<pre>[gavin@pc]: cd ~/Downloads/wherever_i_unpacked_flash_to
[gavin@pc]: mkdir /opt/google/chrome/plugins
[gavin@pc]: cp ./libflashplayer.so !$</pre>
</blockquote>
<p>You&#8217;ll have to restart chrome for this to take effect.</p>
<h2>Remote Desktop</h2>
<p>I currently use my desktop Windows machine extensively as my main development machine. I use Remote Desktop when working from home, so I needed an equivalent in Linux. It&#8217;s called &#8220;Terminal Server Client&#8221; and can be found in <code>Applications-&gt;Internet</code>.</p>
<p>Using the default settings, I was able to quickly connect to my box. Annoyingly, the clipboard mirroring feature did not work though. By switching the protocol from <code>RDP</code> to <code>RDPv5</code>, this started to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinwillingham.com/linux-on-w500.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

