a.m.wink
May 23rd, 2012, 09:58 AM
Hi -
I have a US keyboard which produces a Euro sign (€) with the combination (Alt Gr)(5). When I try to implement the pound sign using xmodmap, it does not seem to work.
My current xmodmap setup is:
# xmodmap -pke | egrep 'dollar|Euro'
keycode 13 = 4 dollar 4 dollar
keycode 14 = 5 percent 5 percent EuroSign
So my thought was that the command
# xmodmap -e 'keycode 13 = 4 dollar 4 dollar sterling'
would do the trick.
Except that it doesn't -- and the problem seems to be with the (4) key not xmodmap, because when I do
# xmodmap -e 'keycode 14 = 5 percent 5 percent sterling'
I can get the (5) key to produce a pound sign
Does that mean that the (5) key has a special status that the other keys don't have? Is there a command that makes it possible to let the (4) key work with (Alt Gr) as well?
Attached are my xmodmap settings (the output of xmodmap -pke). I understand some codes but not all of them!
Thanks,
AM
I have a US keyboard which produces a Euro sign (€) with the combination (Alt Gr)(5). When I try to implement the pound sign using xmodmap, it does not seem to work.
My current xmodmap setup is:
# xmodmap -pke | egrep 'dollar|Euro'
keycode 13 = 4 dollar 4 dollar
keycode 14 = 5 percent 5 percent EuroSign
So my thought was that the command
# xmodmap -e 'keycode 13 = 4 dollar 4 dollar sterling'
would do the trick.
Except that it doesn't -- and the problem seems to be with the (4) key not xmodmap, because when I do
# xmodmap -e 'keycode 14 = 5 percent 5 percent sterling'
I can get the (5) key to produce a pound sign
Does that mean that the (5) key has a special status that the other keys don't have? Is there a command that makes it possible to let the (4) key work with (Alt Gr) as well?
Attached are my xmodmap settings (the output of xmodmap -pke). I understand some codes but not all of them!
Thanks,
AM