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.

On 11/12/2013 10:28 AM, Matt Graham wrote:
On 2013-11-12 10:11, Derek Trotter wrote:
On 11/12/2013 09:14 AM, Matt Graham wrote:
In most keymaps, they're mapped to one of the modifiers, usually
Super or Hyper.  xmodmap is also only good for binding single
keys to other single keys (or to modifiers).
delboy@ladmo:~$ xmodmap -pm
mod4 sterling (0x85), cent (0x86), Super_L (0xce), Hyper_L (0xcf)
When I start xev and press one of the windoze keys, all that xev does
is print the character.

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:

xmodmap -e 'clear mod4'
// removes modifier table entries where 'Doze keys = Super_
xmodmap -e 'keycode 115 = sterling'
// maps left Windows key to the pound symbol
xmodmap -e 'keycode 116 = cent'
// maps right Windows key to the cent symbol

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:

Multi_key + ' , next vowel you type will have an acute accent.
Multi_key + ` , next vowel you type will have a grave accent.
Multi_key + " , next vowel has an umlaut.
Multi_key + ~ , next vowel or n has a tilde.
Multi_key + s , type another s, get German es-tset (looks like a beta)
Multi_key + C , type = , get Euro symbol
Multi_key + - , type L , get pound symbol

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 .


--
"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

---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to