<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/assets/rss.xsl" type="text/xsl"?><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>Sacha Chua - tag - xorg</title>
	<atom:link href="https://sachachua.com/blog/tag/xorg/feed/index.xml" rel="self" type="application/rss+xml" />
	<atom:link href="https://sachachua.com/blog/tag/xorg" rel="alternate" type="text/html" />
	<link>https://sachachua.com/blog/tag/xorg/feed/index.xml</link>
	<description>Emacs, sketches, and life</description>
  
	<lastBuildDate>Wed, 13 May 2026 14:32:18 GMT</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>daily</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>11ty</generator>
  <item>
		<title>Two screens without rebooting, with xrandr</title>
		<link>https://sachachua.com/blog/2008/12/two-screens-without-rebooting-with-xrandr/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Tue, 30 Dec 2008 15:27:35 GMT</pubDate>
    <category>geek</category>
		<guid isPermaLink="false">https://sachachua.com/blog/?p=5510</guid>
		<description><![CDATA[<p><a href="https://research.microsoft.com/en-us/news/features/vibe.aspx">Dual screens can improve your productivity by up to 50%.</a> It&#8217;s one of the reasons why I like working at home &#8211; I can hook the desktop&#8217;s monitor up to my laptop for even more coding goodness. I could hook the Cintiq up if I ran X across a network connection, but three screens would just spoil me rotten. ;)</p>
<p>I used to switch my xorg.conf manually depending on whether I wanted a dual-screen or single-screen setup, but that required closing all my applications and restarting X. I wondered if there was a better way to do it. I came across <a href="http://ubuntuforums.org/archive/index.php/t-59650.html">Ubuntu Forums: Switch view modes (twinview) without leaving/reconfiguring X?</a>, which led me to <a href="http://ubuntuforums.org/showthread.php?p=4211618">HOWTO: YES! There IS an easy way of trying out Xorg.conf without reloading X</a>. The main post wasn&#8217;t helpful, but the segment &#8220;HOWTO: Make use of RandR 1.2 &#8211; or the ability to stick with one X configuration and dynamically add or remove screens and change display setups dynamically&#8221; was. I checked if xrandr was on my system, and it was. I removed the unnecessary lines from my xorg.conf and added the lines about <a href="http://wiki.debian.org/XStrikeForce/HowToRandR12">SubSection &#8220;Display&#8221;</a>&#8230; and it worked. Hooray!</p>
<p>For future reference, here&#8217;s the command I used to set up my dual-screen display:</p>
<pre>
xrandr &#45;&#45;output LVDS &#45;&#45;right-of VGA-0   
</pre>
<p>This rocks.</p>

<p>You can <a href="https://sachachua.com/blog/2008/12/two-screens-without-rebooting-with-xrandr/#comment">view 1 comment</a> or <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2008%2F12%2Ftwo-screens-without-rebooting-with-xrandr%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></description>
		</item>
	</channel>
</rss>