<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Comic Sans MS"></font>Thanks for the help. I'm learning
something and I have a mystery to solve. I just found that the down
arrow key (not the one on the keypad) give me a ¢. Also the end key
gives me a £. The other arrow keys work as they should.<br>
<br>
On 11/12/2013 10:28 AM, Matt Graham wrote:<br>
<blockquote cite="mid:c24d8a488f759ae564af60fefb946407@crow202.org"
type="cite">On 2013-11-12 10:11, Derek Trotter wrote:
<br>
<blockquote type="cite">On 11/12/2013 09:14 AM, Matt Graham wrote:
<br>
<blockquote type="cite">In most keymaps, they're mapped to one
of the modifiers, usually
<br>
Super or Hyper. xmodmap is also only good for binding single
<br>
keys to other single keys (or to modifiers).
<br>
</blockquote>
delboy@ladmo:~$ xmodmap -pm
<br>
mod4 sterling (0x85), cent (0x86), Super_L (0xce),
Hyper_L (0xcf)
<br>
When I start xev and press one of the windoze keys, all that xev
does
<br>
is print the character.
<br>
</blockquote>
<br>
If you have a key bound to both a modifier and a keysym, you will
*not* get the things you want. This is not obvious from the man
page. You probably want to do something more like this:
<br>
<br>
xmodmap -e 'clear mod4'
<br>
// removes modifier table entries where 'Doze keys = Super_
<br>
xmodmap -e 'keycode 115 = sterling'
<br>
// maps left Windows key to the pound symbol
<br>
xmodmap -e 'keycode 116 = cent'
<br>
// maps right Windows key to the cent symbol
<br>
<br>
A better way of getting non-US-ASCII chars out of a US keyboard is
to map one unused key to Multi_key . Then you can get all kinds
of interesting things:
<br>
<br>
Multi_key + ' , next vowel you type will have an acute accent.
<br>
Multi_key + ` , next vowel you type will have a grave accent.
<br>
Multi_key + " , next vowel has an umlaut.
<br>
Multi_key + ~ , next vowel or n has a tilde.
<br>
Multi_key + s , type another s, get German es-tset (looks like a
beta)
<br>
Multi_key + C , type = , get Euro symbol
<br>
Multi_key + - , type L , get pound symbol
<br>
<br>
There are so many of these things that there's no way I can list
them all, but they're in /usr/share/X11/locale/en_US.UTF-8/Compose
.
<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
"I get my copy of the daily paper, look at the obituaries page, and if I’m not there, I carry on as usual."
Patrick Moore</pre>
</body>
</html>