<?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>Martin Notes &#187; Multiple monitors</title>
	<atom:link href="http://martinnotes.com/tag/multiple-monitors/feed/" rel="self" type="application/rss+xml" />
	<link>http://martinnotes.com</link>
	<description>Open source in real life</description>
	<lastBuildDate>Tue, 17 Aug 2010 14:44:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Less is more?</title>
		<link>http://martinnotes.com/2008/08/03/less-is-more/</link>
		<comments>http://martinnotes.com/2008/08/03/less-is-more/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 20:33:51 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[GUI]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Compiz]]></category>
		<category><![CDATA[Multiple monitors]]></category>

		<guid isPermaLink="false">http://martinnotes.com/?p=31</guid>
		<description><![CDATA[Ok, so I spend another day configuring my Ubuntu&#8230; My girlfriend was out all day and we had rain in Amsterdam, what else is there to do then reconfigure everything you&#8217;ve configured a thousand times before? So I set of to figure out if I could get my desktop to work without Compiz. I wanted [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://martinnotes.com/wp-content/uploads/2008/08/images.jpeg"><img class="alignleft alignnone size-medium wp-image-34" style="float: left;" title="Third Eye" src="http://martinnotes.com/wp-content/uploads/2008/08/images.jpeg" alt="" width="86" height="127" /></a>Ok, so I spend another day configuring my Ubuntu&#8230; My girlfriend was out all day and we had rain in Amsterdam, what else is there to do then reconfigure everything you&#8217;ve configured a thousand times before?</p>
<p>So I set of to figure out if I could get my desktop to work without Compiz. I wanted this because Compiz wants your virtual desktop to be smaller then 2048 pixels, which sucks. The thing keeping me from just turning Compiz off was, please don&#8217;t kick me, Google Gadgets. I really love that little app, but it looks like total crap without a compositing window manager.</p>
<p>Then I remembered that Gnome 2.22 (the default in Ubuntu 8.04) has &#8216;some&#8217; compositing features. Some searching gave me this:<a href="http://library.gnome.org/misc/release-notes/2.22/#sect:metacity">http://library.gnome.org/misc/release-notes/2.22/#sect:metacity</a>. That works just fine, Google apps does still have a transparent background.</p>
<p>Cool! So now I can disable Compiz (Appearance -&gt; Visual Effects &#8211;&gt; none). With my setup that also killed the &lt;Alt&gt;Tab &#8211; windows switch. That is solvable in the Keyboard Shortcuts under the remarkable name of: &#8220;Move between windows with popup&#8221;. It took me 30 minutes to find that&#8230;</p>
<p>With that done, I wanted to have the fn-f7 of my Sony to work as it was meant to. It should switch through the different monitor settings possible: internal, external, both, mirrored&#8230; I found a script that does this perfectly: <a href="http://www.thinkwiki.org/wiki/Sample_Fn-F7_script">http://www.thinkwiki.org/wiki/Sample_Fn-F7_script</a></p>
<p>Having that script it was easy to add a acpi key event that calls the script. I created two scripts:</p>
<ul>
<li><a href="http://martinnotes.com/wp-content/uploads/2008/08/sonyvideoswitch.sh">sonyvideoswitch</a> (download)</li>
</ul>
<p>Download sonyvideoswitch.sh and move it to /etc/acpi</p>
<ul>
<li>sony-videoswitch:</li>
</ul>
<pre># /etc/acpi/events/sony-brightness-up
event=sony/hotkey SPIC 00000001 00000012
action=/etc/acpi/sonyvideoswitch.sh toggle</pre>
<p>Create sony-videoswitch in /etc/acpi/events/.</p>
<p>NOTE: don&#8217;t forget to add the <a href="http://www.howtoforge.com/dual-monitor-setup-on-ubuntu7.10">Virtual</a> to your SubSection &#8220;Display&#8221; in /etc/X11/xorg.conf. This should contain the maximum virtual desktop.</p>
]]></content:encoded>
			<wfw:commentRss>http://martinnotes.com/2008/08/03/less-is-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

