<?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>Make Tech Easier&#187; ati</title>
	<atom:link href="http://maketecheasier.com/tag/ati/feed" rel="self" type="application/rss+xml" />
	<link>http://maketecheasier.com</link>
	<description>Uncomplicating the complicated, making life easier</description>
	<lastBuildDate>Fri, 25 May 2012 14:58:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How To Setup Dual Monitors With XRandR</title>
		<link>http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01</link>
		<comments>http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01#comments</comments>
		<pubDate>Mon, 01 Jun 2009 21:47:19 +0000</pubDate>
		<dc:creator>Tavis J. Hampton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[dual screens]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[monitors]]></category>
		<category><![CDATA[xorg]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=5053</guid>
		<description><![CDATA[Dual monitor setup in Linux has never been easier. While methods such as the xinerama extension sometimes drive people insane, using RandR (Resize and Rotate) is quick and painless. This will allow you to use both monitors as one big screen instead of two identical ones (cloning). Follow these simple... <p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01&amp;title=How+To+Setup+Dual+Monitors+With+XRandR&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01">How To Setup Dual Monitors With XRandR</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-5054" src="http://imagecdn.maketecheasier.com/2009/05/xrandr-screens-scaled.jpg" alt="xrandr-screens-scaled" width="570" height="178" /></p>
<p>Dual monitor setup in Linux has never been easier. While methods such as the xinerama extension sometimes drive people insane, using RandR (Resize and Rotate) is quick and painless. This will allow you to use both monitors as one big screen instead of two identical ones (cloning). Follow these simple steps to get started.</p>
<p><em>Note: This HOWTO assumes that you are using the opensource drivers for your video card (ATI or Intel). Nvidia and AMD proprietary drivers come with their dual screen components.</em><span id="more-5053"></span></p>
<p><strong>1. </strong>Setup your xorg.conf configuration file:</p>
<p>Edit it as root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gksudo gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf</pre></div></div>

<p>(in GNOME) or</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kdesudo kate <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf</pre></div></div>

<p>(in KDE)</p>
<p><strong>2.</strong> Create a subsection under the &#8220;Screen&#8221; section with the following.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">SubSection <span style="color: #ff0000;">&quot;Display&quot;</span>
Depth <span style="color: #000000;">24</span>
Modes <span style="color: #ff0000;">&quot;1440x900&quot;</span> <span style="color: #ff0000;">&quot;1440x900&quot;</span> <span style="color: #666666; font-style: italic;">#the resolutions of your monitors</span>
Virtual <span style="color: #000000;">2880</span> <span style="color: #000000;">800</span>
EndSubSection</pre></div></div>

<p>Xrandr will function without these xorg.conf lines, but it will limit the size of your desktop.</p>
<p>For my computer, I am using two monitors with 1440&#215;900 resolution. If you have a different resolution, put those resolutions under &#8220;modes&#8221; and then combine the width of both for &#8220;virtual&#8221;. In other words, if you have a 1280&#215;800 monitor, it would be &#8220;Virtual 2560 800&#8243;.</p>
<p><strong>3</strong>. Save your changes, exit and restart X.</p>
<p><strong>4</strong>. Now, you can setup your dual screens however you like. First find out some information about the screens. Open a terminal emulator and type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xrandr <span style="color: #660033;">-q</span></pre></div></div>

<p>It should tell you the name of each screen and its current resolution. On my computer, my screens are &#8220;DVI-0&#8243; and &#8220;DVI-1&#8243;.</p>
<p><strong>5</strong>. To make one large desktop including both screens, run this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xrandr <span style="color: #660033;">--auto</span> <span style="color: #660033;">--output</span> DVI-<span style="color: #000000;">0</span> <span style="color: #660033;">--mode</span> 1440x900 <span style="color: #660033;">--right-of</span> DVI-<span style="color: #000000;">1</span></pre></div></div>

<p>DVI-0 is on the right, and DVI-1 is on the left.</p>
<p><strong>6.</strong> Create a script called &#8220;startxrandr&#8221; to run this command whenever you want.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
xrandr <span style="color: #660033;">--auto</span> <span style="color: #660033;">--output</span> DVI-<span style="color: #000000;">0</span> <span style="color: #660033;">--mode</span> 1440x900 <span style="color: #660033;">--right-of</span> DVI-<span style="color: #000000;">1</span></pre></div></div>

<p><strong>7</strong>. Make sure to make the script executable</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> a+x startxrandr</pre></div></div>

<p>That is all it takes. You can play around with it and see all of xrandr&#8217;s commands by running &#8220;xrandr -help&#8221;.</p>
<p><strong>Notes:</strong></p>
<p>There are also a few GUI applications that allow you to control xrandr.  Check with your Linux distribution.</p>
<p>You can set xrandr to run when your display manager or desktop environment starts. See the its documentation for startup applications.</p>
<p>KDE and GNOME will automatically configure two screens correctly so that maximizing a window will only fill one of the screens. Some desktop environments do not yet have support for this. You will have to test the one you use. You should have no problems with Compiz.</p>
<p>You can have two monitors with different resolutions, which is useful if you are using a laptop connected to a larger monitor.</p>
<p>In KDE, each screen will automatically be a different activity, and you can apply different widgets on each.</p>
<p>Some applications, especially those that rely on SDL (like many Linux games), may not honor your xrandr settings. If you are lucky, it will just clone the game on both screens. For applications like Boxee, you will need to set the environment variable before starting it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">SDL_VIDEO_FULLSCREEN_HEAD</span>=<span style="color: #000000;">1</span></pre></div></div>

<p><!--adsense#468x60--><br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://maketecheasier.com/change-linux-displays-on-the-fly-with-disper/2010/12/22' title='How to Change Linux Displays on the Fly with Disper'>How to Change Linux Displays on the Fly with Disper</a></li>
<li><a href='http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01' title='How to Run Fullscreen Games In Linux With Dual Monitors'>How to Run Fullscreen Games In Linux With Dual Monitors</a></li>
<li><a href='http://maketecheasier.com/give-your-intel-or-ppc-mac-a-new-lease-of-life/2011/09/20' title='Give Your Intel Or PPC Mac A New Lease Of Life'>Give Your Intel Or PPC Mac A New Lease Of Life</a></li>
<li><a href='http://maketecheasier.com/idisplay-turn-your-android-devices-into-a-second-monitor/2011/04/29' title='iDisplay: Turn Your Android Devices Into A Second Monitor'>iDisplay: Turn Your Android Devices Into A Second Monitor</a></li>
</ul>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01&amp;title=How+To+Setup+Dual+Monitors+With+XRandR&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01">How To Setup Dual Monitors With XRandR</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: cdn.maketecheasier.com

Served from: maketecheasier.com @ 2012-05-25 14:25:10 -->
