<?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 - linux</title>
	<atom:link href="https://sachachua.com/blog/tag/linux/feed/index.xml" rel="self" type="application/rss+xml" />
	<atom:link href="https://sachachua.com/blog/tag/linux" rel="alternate" type="text/html" />
	<link>https://sachachua.com/blog/tag/linux/feed/index.xml</link>
	<description>Emacs, sketches, and life</description>
  
	<lastBuildDate>Wed, 13 May 2026 13:28:35 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><item>
		<title>Rough guide to getting an existing Windows XP partition to boot as a VMWare guest under Linux</title>
		<link>https://sachachua.com/blog/2008/02/rough-guide-to-getting-an-existing-windows-xp-partition-to-boot-as-a-vmware-guest-under-linux/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Mon, 11 Feb 2008 00:59:48 GMT</pubDate>
    <category>geek</category>
		<guid isPermaLink="false">https://sachachua.com/blog/?p=4748</guid>
		<description><![CDATA[<p>Because I might have to do this again someday&#8230;</p>
<ol>
<li> Install VMWare Server. Use the advanced config to create an image that uses your existing hard disk.</li>
<li> Boot Windows (physically). Back up the current hardware profile.</li>
<li> Boot Linux. Download the SCSI drivers from <a href="http://www.vmware.com/download/ws/index.html#drivers">http://www.vmware.com/download/ws/index.html#drivers .</a>.</li>
<li> Change your GRUB config so that it doesn&#8217;t time out. You do _not_ want to accidentally boot your Linux partition while inside Linux.</li>
<li> Start VMWare with your Windows image. Use the recovery console. Mount the SCSI drivers FLP as a floppy and copy the files to c:\windows\system32\drivers .</li>
<li> Boot Windows physically. Use the Control Panel &#8211; Add New Hardware dialog to add the VMWare SCSI driver. It might also be a good idea to disable ACPI for the computer</li>
<li> Boot to Linux. Use VMWare  to load the Windows image.</li>
</ol>
<p>The SATA drive complicated things a bit, but I eventually got stuff sorted out. Yay! Next step: Wonder if seamless is worth the trouble&#8230;</p>
<p class="poweredbyperformancing">Powered by <a href="http://scribefire.com/">ScribeFire</a>.</p>

<p>You can <a href="https://sachachua.com/blog/2008/02/rough-guide-to-getting-an-existing-windows-xp-partition-to-boot-as-a-vmware-guest-under-linux/#comment">view 3 comments</a> or <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2008%2F02%2Frough-guide-to-getting-an-existing-windows-xp-partition-to-boot-as-a-vmware-guest-under-linux%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>