<?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; dual screens</title>
	<atom:link href="http://maketecheasier.com/tag/dual-screens/feed" rel="self" type="application/rss+xml" />
	<link>http://maketecheasier.com</link>
	<description>Uncomplicating the complicated, making life easier</description>
	<lastBuildDate>Sun, 12 Feb 2012 15:58:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Run Fullscreen Games In Linux With Dual Monitors</title>
		<link>http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01</link>
		<comments>http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01#comments</comments>
		<pubDate>Mon, 01 Mar 2010 13:00:28 +0000</pubDate>
		<dc:creator>Tavis J. Hampton</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dual monitors]]></category>
		<category><![CDATA[dual screens]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[twinview]]></category>
		<category><![CDATA[wine]]></category>
		<category><![CDATA[xinerama]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=12999</guid>
		<description><![CDATA[As with all operating systems, the way a Linux game behaves on a computer is largely dependent on the design of the game, the graphics hardware and drivers the user has, and the settings one chooses. Native Linux games are typically better at supporting the computer&#8217;s default resolution without much tweaking, but the way it [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/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/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/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/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01&amp;title=How+to+Run+Fullscreen+Games+In+Linux+With+Dual+Monitors&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/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01">How to Run Fullscreen Games In Linux With Dual Monitors</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="alignnone size-full wp-image-13008" title="gaming-world-of-goo-nq8" src="http://imagecdn.maketecheasier.com/2010/03/gaming-world-of-goo-nq8.jpg" alt="world-of-goo-nq8" width="575" height="180" /></p>
<p>As with all operating systems, the way a Linux game behaves on a computer is largely dependent on the design of the game, the graphics hardware and drivers the user has, and the settings one chooses. Native Linux games are typically better at supporting the computer&#8217;s default resolution without much tweaking, but the way it handles fullscreen display on a a dual-monitor system depends on the game engine employed.</p>
<p>After about an hour of trying to configure all of your games, you might very well find yourself drowning in sea of techno-babble and configuration files. But have no fear, MakeTechEasier has come to your rescue yet again.<br />
<span id="more-12999"></span><br />
This brief guide to various types of games you can run in Linux on a dual-monitor system is based on my experience with an Nvidia 3D graphics card and the accompanying proprietary drivers. Nevertheless, most of it will apply to all 3D graphics cards. This guide also assumes that you already have your dual-monitor setup functioning by utilizing <a href="http://en.wikipedia.org/wiki/Xinerama">Xinerama</a>, TwinView, <a href="http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01">XRandR</a>, or some other method. This does not apply to dual-monitor setups that use separate Xorg instances for each monitor.</p>
<h3>The Problem</h3>
<p>When running a game, either as a native Linux application or through Wine, you have probably encountered one of these situations:</p>
<p>1. The game takes over both monitors and stretches the images over both.</p>
<p>2. One screen goes dark, and the other screen displays the game correctly. This may be found for many users.</p>
<p>3. The game maximizes on one screen, but it is not the screen you want to use.</p>
<h3>The Solutions</h3>
<p>Unfortunately, there is no one solution for all three situations, but there are a few ways to fix them, depending on your preferences.</p>
<p><strong>Windowed Play</strong></p>
<p>Although this may seem like more of a workaround, you can actually have a game run in a window and then turn that window into a fullscreen one. Follow these steps:</p>
<p>1. Configure the game to run in a window. For many Linux games, this might involve editing the configuration file, usually found in <em>~/.game-name/</em></p>
<p>2. Set the game&#8217;s resolution to your desktop&#8217;s exact resolution.</p>
<p>3. Start the game.</p>
<p>4. Use your window manager to make the window full screen (In KDE, right-click on the title bar, hover over &#8216;Advanced&#8217; and click &#8216;Fullscreen&#8217;. You can also use a shortcut key, if configured. In some games, the &#8216;Fullscreen&#8217; option will be unavailable. For these, choose &#8216;No Border&#8217;.)</p>
<p>As you might have noticed, Windowed Play has its disadvantages, particularly if your window manager does not have its own fullscreen feature. The biggest advantage is that, if you are like me and are supposed to be working rather than playing games, you can still at least have a business or work app open on the other screen to offer some semblance of efficiency.</p>
<p><img class="alignnone size-full wp-image-13001" title="yo-frankie" src="http://imagecdn.maketecheasier.com/2010/03/gaming-yo-frankie.jpg" alt="Yo Frankie played on a dual-monitor Linux system" width="575" height="180" /></p>
<p><strong>Single Full Screen</strong></p>
<p>On nearly all native Linux games that I have encountered, you can achieve true fullscreen results simply by configuring the game to use the resolution of one monitor. This, however, does not guarantee that it will be on the screen you want.</p>
<p>A universal method is to use xrandr to turn off one of the monitors. For example, you can run the following command in a terminal:</p>

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

<p>There are also graphical xrandr programs available, such as <em>krandtray</em> (Resize and Rotate) or <em>gnome-randr-applet</em> (Display Geometry Switcher). In either case, simply select the monitor you want to turn off and disable it, or in the case of a large virtual display (such as the kind with TwinView), select the smaller resolution.</p>
<p>For SDL games, you can setup an environment variable that will force it to use the screen you want, and this will dim the unused screen as long as you are playing.</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;">2</span></pre></div></div>

<p>The number indicates the display number of the monitor, so change it according to your needs. You can even plug this into the game&#8217;s startup script and make it all automatic.</p>
<p><img class="alignnone size-full wp-image-13002" title="maryo-nq8" src="http://imagecdn.maketecheasier.com/2010/03/gaming-maryo-nq8.jpg" alt="Secret Maryo Chronicles on a dual-monitor Linux system" width="575" height="180" /></p>
<p><strong>Windows Games in Wine</strong></p>
<p>There is an easy way to use a windowed mode in Wine:</p>
<p>1. Start Wine Configuration (winecfg)</p>
<p>2. Click on the &#8216;Graphics&#8217; tab</p>
<p>3. Check &#8216;Emulate a virtual desktop&#8217;</p>
<p>4. Next to &#8216;Desktop size&#8217; enter your exact screen resolution.</p>
<p><img class="alignnone size-full wp-image-13003" title="assassins-creed-nq8" src="http://imagecdn.maketecheasier.com/2010/03/gaming-assassins-creed-nq8.jpg" alt="Assassin's Creed in Wine on a dual-monitor Linux system" width="575" height="180" /></p>
<p>When you start Wine applications, it will have a Windows desktop in the background. When starting games, the games should go fullscreen with no window border.</p>
<p>This should prevent Windows games from stretching over both screens and give you a fullscreen experience.</p>
<p>There are other options available for fullscreen gaming on dual monitors, and the only way to find the best method for your setup is to experiment with different techniques.</p>
<p><!--adsense#468x60--></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/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/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/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/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01&amp;title=How+to+Run+Fullscreen+Games+In+Linux+With+Dual+Monitors&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/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01">How to Run Fullscreen Games In Linux With Dual Monitors</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/run-fullscreen-games-in-linux-with-dual-monitors/2010/03/01/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<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 steps to get started. Note: [...]<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--></p>
<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>

