<?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>Linux etc. &#187; Keyboard</title>
	<atom:link href="http://promberger.info/linux/category/keyboard/feed/" rel="self" type="application/rss+xml" />
	<link>http://promberger.info/linux</link>
	<description>my outsourced memory for your perusal</description>
	<lastBuildDate>Thu, 08 Sep 2011 11:06:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Setting up the compose key to type accented characters</title>
		<link>http://promberger.info/linux/2007/10/04/setting-up-the-compose-key-to-type-accented-characters/</link>
		<comments>http://promberger.info/linux/2007/10/04/setting-up-the-compose-key-to-type-accented-characters/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 17:11:12 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.promberger.info/linux/2007/10/04/setting-up-the-compose-key-to-type-accented-characters/</guid>
		<description><![CDATA[In /etc/X11/xorg.conf, in the keyboard section, I added the line: Option "XkbOptions" "compose:ralt" Now, I can type most accented characters and umlauts by first hitting the right ALT key. A few examples (key combinations below all preceded by right ALT key): ` e: &#232; (backtick followed by e) " u: &#252; , c: &#231; s [...]]]></description>
			<content:encoded><![CDATA[<p>In <code>/etc/X11/xorg.conf</code>, in the keyboard section, I added the line:</p>
<pre>Option   "XkbOptions" "compose:ralt"</pre>
<p>Now, I can type most accented characters and umlauts by first hitting the right <code>ALT</code> key. </p>
<p>A few examples (key combinations below all preceded by right <code>ALT</code> key):</p>
<ul>
<li><code>` e</code>: &egrave; (backtick followed by e)</li>
<li><code>" u</code>: &uuml;</li>
<li><code>, c</code>: &ccedil;</li>
<li><code>s s</code>: &szlig;</li>
</ul>
<h3>Addendum</h3>
<p>Changed this to the Caps Lock key with:</p>
<pre>Option   "XkbOptions" "compose:caps"</pre>
<p>in <code>xorg.conf</code></p>
<h3>Addendum 2</h3>
<p>In Jaunty (and maybe since Intrepid), this no longer works. The update manager comments out the entire keyboard section in xorg.conf, with the comment: </p>
<pre># commented out by update-manager, HAL is now used</pre>
<p> A temporary solution is to open a terminal and execute the command:</p>
<pre>setxkbmap -option compose:caps</pre>
<p>You&#8217;ll have to repeat this on each login. You could put this in a shell script and add that to the commands that get executed on startup.</p>
<h3>Addendum 3</h3>
<p>In Xubuntu Jaunty, you can edit the file <code>/etc/default/console-setup </code> to contain the line:</p>
<pre>XKBOPTIONS="compose:caps"</pre>
<p>to make this change permanent.</p>
<p>Thanks to foresto on the <a href="http://ubuntuforums.org/showthread.php?p=8147324">Ubuntu Forums</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2007/10/04/setting-up-the-compose-key-to-type-accented-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keyboard modification with ~/.Xmodmap</title>
		<link>http://promberger.info/linux/2007/10/04/keyboard-modification-with-xmodmap/</link>
		<comments>http://promberger.info/linux/2007/10/04/keyboard-modification-with-xmodmap/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 16:38:03 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.promberger.info/linux/2007/10/04/keyboard-modification-with-xmodmap/</guid>
		<description><![CDATA[In ~/.Xmodmap keycode 233 = F20 keycode 234 = F19 After changes, say: xmodmap ~/.Xmodmap This activates the keys that I have on the IBM X40 next to the up arrow key on the bottom right of the keyboard. Now, I can bind them to commands Xfce. Then, I found a nice article on using [...]]]></description>
			<content:encoded><![CDATA[<p>In <code>~/.Xmodmap</code></p>
<pre>
keycode 233 = F20
keycode 234 = F19
</pre>
<p>After changes, say: </p>
<pre>xmodmap ~/.Xmodmap</pre>
<p>This activates the keys that I have on the IBM X40 next to the up arrow key on the bottom right of the keyboard. Now, I can bind them to commands Xfce.</p>
<p>Then, I found a nice article on <a href="http://www.linux-user.de/ausgabe/2002/11/072-keyboard/index.html">using the CapsLock key to type German umlauts</a> and other special characters. </p>
<p>Basically, just add the following, and you can use <code>CapsLock+u</code> to give &uuml;, and so on for a handful of other characters. </p>
<pre>
keycode 66 = Mode_switch Multi_key
keycode 117 = Mode_switch Multi_key
keycode 39 = s S ssharp
keycode 38 = a A adiaeresis Adiaeresis
keycode 30 = u U udiaeresis Udiaeresis
keycode 32 = o O odiaeresis Odiaeresis
keycode 14 = 5 percent ssharp  degree
keycode 26 = e E egrave Egrave
keycode 28 = t T EuroSign EuroSign
keycode 27 = r R ecircumflex Ecircumflex
keycode 25 = w W eacute Eacute
keycode 31 = i I idiaeresis Idiaeresis
keycode 21 = equal plus plusminus notsign
keycode 57 = n N ntilde Ntilde
keycode 58 = m M Multi_key
keycode 15 = 6 asciicircum dead_acute  dead_circumflex
keycode 19 = 0 parenright degree masculine
keycode 10 = 1 exclam exclamdown onehalf
keycode 54 = c C ccedilla Ccedilla
keycode 24 = q Q copyright registered</pre>
<p>To see all the assigned keycodes:</p>
<pre>xmodmap -pke</pre>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2007/10/04/keyboard-modification-with-xmodmap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

