<?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>/home/todd &#187; hacks</title>
	<atom:link href="http://dropline.net/topics/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://dropline.net</link>
	<description>Musings, music, food and photography</description>
	<lastBuildDate>Fri, 17 Jun 2011 19:42:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Mapping Caps Lock to Control without Admin Access</title>
		<link>http://dropline.net/2009/05/mapping-caps-lock-to-control-without-admin-access/</link>
		<comments>http://dropline.net/2009/05/mapping-caps-lock-to-control-without-admin-access/#comments</comments>
		<pubDate>Tue, 19 May 2009 17:42:20 +0000</pubDate>
		<dc:creator>Todd Kulesza</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[caps lock]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[tech tips]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dropline.net/?p=389</guid>
		<description><![CDATA[Somewhere along the line, I picked up the habit of mapping the otherwise utterly useless caps lock key to act as another control key.  If you&#8217;re an Emacs user, this is sort of critical to avoid the wrist strain of constant pinky-stretches to the lower-left corner of the keyboard.  Its become second nature now, so [...]]]></description>
			<content:encoded><![CDATA[<p>Somewhere along the line, I picked up the habit of mapping the otherwise utterly useless caps lock key to act as another control key.  If you&#8217;re an Emacs user, this is sort of critical to avoid the wrist strain of constant pinky-stretches to the lower-left corner of the keyboard.  Its become second nature now, so when I recently found myself working on a Windows-based lab computer where caps lock actually performed as-advertised, the result was a lot of code THAT lOOKED LIKE thIS.  Unpleasant, to be sure.</p>
<p>Linux and Mac OS X make remapping this key extremely easy.  System Preferences on the Mac and the GNOME keyboard control panel on Linux include a simple option to enable.  Tada!  No more wasted space west of &#8216;A&#8217;.  Windows, of course, is a different beast.</p>
<p>The good news: there&#8217;s a very simple registry hack to remap caps to control.  Seriously, it&#8217;s floating <a href="http://www.traceback.org/2006/06/14/remap-caps-lock-and-left-control-on-windows-xp/">all</a> <a href="http://www.usnetizen.com/fix_capslock.php">over</a> <a href="http://c2.com/cgi/wiki?RemapCapsLock">the</a> <a href="http://www.jonlee.ca/remap-capslock-the-most-useless-key/">internet</a>.  Except, there&#8217;s a wrinkle&#8211;you need administrative access to edit the HKEY_LOCAL_MACHINE registry tree, which is what all of these hacks do.  For whatever reason, our school has decided computer science graduate students aren&#8217;t to be trusted with administrative access to their own computers [another rant for another time], so what&#8217;s a wrist-strained user to do?</p>
<p>Muck around in the Windows registry, of course!  It turned out to be pretty straight forward.  There&#8217;s a duplicate of the keyboard mapping registry key under HKEY_CURRENT_USER, which non-administrators <em>can</em> modify, and it appears to behave exactly like the key under HKEY_LOCAL_MACHINE.  So, for anyone in a similar position, here&#8217;s the registry key to modify:<br />
<code>
<pre>HKEY_CURRENT_USER\Keyboard Layout\Scancode Map =
hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00</pre>
<p></code><br />
You can download a registry update file <a href="http://dropline.net/wp-content/uploads/2009/05/caps_lock_to_control.reg">here</a>.  Save it to your computer, double-click it to update your registry, then reboot and enjoy your vastly-improved keyboard.</p>
]]></content:encoded>
			<wfw:commentRss>http://dropline.net/2009/05/mapping-caps-lock-to-control-without-admin-access/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

