<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Comments for page &quot;Frequently-Asked Questions&quot;</title>
		<link>http://capsoff.org/faq/comments/show</link>
		<description></description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://capsoff.org/faq/comments/show#post-215</guid>
				<title>Reconfiguration of the Caps Lock key on X.org/XFree</title>
				<link>http://capsoff.org/faq/comments/show#post-215</link>
				<description></description>
				<pubDate>Sat, 26 Aug 2006 14:02:56 +0000</pubDate>
				<wikidot:authorName>Cru</wikidot:authorName>				<wikidot:authorUserId>210</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <h2> How to deactivate the Caps Lock key on X.org/XFree? </h2> <p> To deactivate the irksome Caps Lock key on X.org, XFree and presumably other X11 servers, the <tt>xmodmap</tt> utility is used to remove the <tt>Caps_Lock</tt> keysym from the <tt>lock</tt> modifier class:<br /> <tt>xmodmap -e "remove lock = Caps_Lock"</tt><br /> The xmodmap utility unbinds the Caps Lock key from the lock modifier class temporarily, thus it needs to be executed every time you restart your X session.<br /> To save the changes permanently as the global default, append the xmodmap expression to your global Xmodmap file (usually <tt>/etc/X11/Xmodmap</tt>). To save them only for your own user, append the expression to your <tt>~/.xmodmaprc</tt> file. </p> <h2> How to reconfigure the Caps Lock key on X.org/XFree to do [insert action here]? </h2> <p> There are several actions people would like the Caps Lock key to perform instead of doing the Caps Lock, suggested are (among others) another Ctrl key (Happy Hacker layout) or a second Backspace or Enter key. We assume you already unbound your Caps Lock key from the <tt>lock</tt> modifier class as described above ("How to deactivate the Caps Lock key on X.org/XFree?").<br /> The key can easily be transformed to another Ctrl key by adding it to the <tt>control</tt> modifier class: <tt>xmodmap -e "add control = Caps_Lock"</tt><br /> To transform it to a second Enter/Return key, overwrite the Caps Lock key's keycode with the <tt>Return</tt> keysym (keycode 66 on common keyboard layouts): <tt>xmodmap -e "keycode 66 = Return"</tt><br /> If you want it to become a second Backspace key instead, replace the <tt>Return</tt> keysym name in the example above by <tt>BackSpace</tt>.<br /> See also "How to deactivate the Caps Lock key on X.org/XFree?" on how to make changes permanent. </p>
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>