<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/assets/atom.xsl" type="text/xsl"?><feed
	xmlns="http://www.w3.org/2005/Atom"
	xmlns:thr="http://purl.org/syndication/thread/1.0"
	xml:lang="en-US"
	><title>Sacha Chua - tag - xorg</title>
	<subtitle>Emacs, sketches, and life</subtitle>
	<link rel="self" type="application/atom+xml" href="https://sachachua.com/blog/tag/xorg/feed/atom/index.xml" />
  <link rel="alternate" type="text/html" href="https://sachachua.com/blog/tag/xorg" />
  <id>https://sachachua.com/blog/tag/xorg/feed/atom/index.xml</id>
  <generator uri="https://11ty.dev">11ty</generator>
	<updated>2008-12-30T15:27:35Z</updated>
<entry>
		<title type="html">Two screens without rebooting, with xrandr</title>
		<link rel="alternate" type="text/html" href="https://sachachua.com/blog/2008/12/two-screens-without-rebooting-with-xrandr/"/>
		<author><name><![CDATA[Sacha Chua]]></name></author>
		<updated>2008-12-30T20:27:35Z</updated>
    <published>2008-12-30T15:27:35Z</published>
    <category term="geek" />
		<id>https://sachachua.com/blog/?p=5510</id>
		<content type="html"><![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>]]></content>
		</entry>
</feed>