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 .
--
Crow202 Blog:
http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss