<?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>David Underhill &#187; Linux</title>
	<atom:link href="http://dound.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://dound.com</link>
	<description>dound&#039;s space on the web</description>
	<lastBuildDate>Tue, 31 Jan 2012 10:57:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Overcoming Linux Screen Resolution Limitations (EDID)</title>
		<link>http://dound.com/2010/01/overcoming-linux-screen-resolution-limitations/</link>
		<comments>http://dound.com/2010/01/overcoming-linux-screen-resolution-limitations/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 02:23:15 +0000</pubDate>
		<dc:creator>David Underhill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[EDID]]></category>
		<category><![CDATA[modeline]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[X11]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">http://dound.com/?p=244</guid>
		<description><![CDATA[A little while ago I picked up a 26&#8243; monitor (NEC MultiSync LCD2690WUXi). Unfortunately, I found that when I connected the monitor to my Ubuntu Linux box that I could only use up to 1280&#215;1028 &#8212; even though the monitor&#8217;s native resolution was 1920&#215;1080! I also had this problem on my Windows and SuSE machines, [...]]]></description>
			<content:encoded><![CDATA[<p>A little while ago I picked up a 26&#8243; monitor (<a href="http://www.necdisplay.com/Products/Product/?product=1713e080-c8e3-4aab-9447-73dacb301b84">NEC MultiSync LCD2690WUXi</a>).  Unfortunately, I found that when I connected the monitor to my <a href="http://www.ubuntu.com/">Ubuntu</a> <a href="http://www.linux.org/">Linux</a> box that I could only use up to 1280&#215;1028 &#8212; even though the monitor&#8217;s native resolution was 1920&#215;1080!  I also had this problem on my <a href="http://www.microsoft.com/WINDOWS/">Windows</a> and <a href="http://www.opensuse.org/">SuSE</a> machines, so I suspect the monitor is not properly reporting its maximum resolution via <a href="http://en.wikipedia.org/wiki/EDID">EDID</a>.</p>
<p>I used the command-line utility <a href="http://www.thinkwiki.org/wiki/Xorg_RandR_1.2">xrandr</a> to fix the problem.  Running the tool with no arguments prints a list of displays and available display modes for each.  This is handy since you need the name assigned to your display by your OS for the next step.  Next, use the &#8220;&#8211;newmode&#8221; option with xrandr and specify the <a href="http://en.wikipedia.org/wiki/XFree86_Modeline">modeline</a> which describes the display configuration you wish to use.  This <a href="http://xtiming.sourceforge.net/cgi-bin/xtiming.pl">modeline generator</a> might help you create the modeline you need.  Once you create the new mode, use the &#8220;&#8211;addmode&#8221; option to add it to the list of modes supported by your monitor.</p>
<p>Finally, add this command to your <code>~/.xprofile</code> file (or something similar) so that when you start your machine the new mode is automatically added and available (this way Ubuntu automatically reselects it too).  This is what I ended up adding to my <code>~/.xprofile</code> file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xrandr <span style="color: #660033;">--newmode</span> <span style="color: #ff0000;">&quot;1920x1200_50Hz&quot;</span> <span style="color: #000000;">128</span>,<span style="color: #000000;">300</span> <span style="color: #000000;">1920</span> <span style="color: #000000;">1968</span> <span style="color: #000000;">2000</span> <span style="color: #000000;">2079</span> <span style="color: #000000;">1200</span> <span style="color: #000000;">1203</span> <span style="color: #000000;">1209</span> <span style="color: #000000;">1234</span> +hsync <span style="color: #660033;">-vsync</span>
xrandr <span style="color: #660033;">--addmode</span> HDMI-<span style="color: #000000;">0</span> <span style="color: #ff0000;">&quot;1920x1200_50Hz&quot;</span></pre></div></div>

<p>Note: If you set your <a href="http://en.wikipedia.org/wiki/Refresh_rate">refresh rate</a> too high, your monitor will probably flicker occasionally.  If this happens, try lowering the refresh rate by lowering the pixel clock value (the first number in the modeline).</p>
]]></content:encoded>
			<wfw:commentRss>http://dound.com/2010/01/overcoming-linux-screen-resolution-limitations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sshfs</title>
		<link>http://dound.com/2009/02/sshfs/</link>
		<comments>http://dound.com/2009/02/sshfs/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 11:10:08 +0000</pubDate>
		<dc:creator>David Underhill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshfs]]></category>

		<guid isPermaLink="false">http://dound.com/?p=82</guid>
		<description><![CDATA[I recently decided I was fed up with maintaining the files on my web host&#8217;s server via FTP. It is just a very unnatural and inconvenient way to update remote files &#8211; especially when making lots of small tweaks. What I really wanted was the normal file system abstraction. It seemed like mounting the remote [...]]]></description>
			<content:encoded><![CDATA[<p>I recently decided I was fed up with maintaining the files on my web host&#8217;s server via FTP.  It is just a very unnatural and inconvenient way to update remote files &#8211; especially when making lots of small tweaks.  What I really wanted was the normal file system abstraction.  It seemed like mounting the remote file system as a folder in my local filesystem over <a href="http://en.wikipedia.org/wiki/Secure_Shell">SSH</a>/<a href="http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol">SFTP</a> would be ideal.  Luckily, Miklos Szeredi (the author of <a href="http://fuse.sourceforge.net/">FUSE</a>) already did the hard work of implementing a little program called <a href="http://fuse.sourceforge.net/sshfs.html">sshfs</a> which does just that.</p>
<p>It was a piece of cake to install on my <a href="http://www.kernel.org/">Linux</a> box, and it looks like Mac&#8217;s have an implementation of <a href="http://fuse.sourceforge.net/">FUSE</a> available too.  Once you have installed the tool you can mount a remote file system just like this:</p>
<blockquote><p>
    <b>format:</b> <code>sshfs <span class="red">username</span>@<span class="red">host</span>: <span class="red">folder_to_mount_in</span></code><br />
    <b>example:</b> <code>sshfs dound@myhost.com: wwwdound</code>
</p></blockquote>
<p>I now use <a href="http://fuse.sourceforge.net/sshfs.html">sshfs</a> to mount folders from a variety of remote machines on my local machine &#8212; it is much better-suited to many tasks than FTP, and for some tasks it beats SSH too.  It is also handy when I want to <code>grep</code> remote files on a server I only have FTP access to.  The only downside is that while you are in a terminal whose current working directory is within the remotely mounted directory <em>all</em> commands experience a slowdown &#8211; while I expected file-related commands like to run slower, I did not expect commands like <code>clear</code> to experience a noticeable latency.  It is not clear to me whether this is an issue with <a href="http://fuse.sourceforge.net/sshfs.html">sshfs</a>, <a href="http://fuse.sourceforge.net/">FUSE</a>, or mounted file systems on <a href="http://www.kernel.org/">Linux</a> in general, but maybe I will look into it later.  Regardless, I highly recommend <a href="http://fuse.sourceforge.net/sshfs.html">sshfs</a> &#8212; it is a very handy utility and much better than the alternatives.</p>
]]></content:encoded>
			<wfw:commentRss>http://dound.com/2009/02/sshfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

