On Mon, 10 Jan 2005 08:25:48 -0600
"David A. Ferguson" <[EMAIL PROTECTED]> wrote:

> The left Alt key works fine but the right Alt key is ignored.
> It is like the system doesn't recgonize it as a shifting key.
> 
> Mdk 10.0

You might have to do some man page reading (it's been awhile since
i set this up), but you can define keys with xmodmap.

In my .xinitrc i have this line:

xmodmap ~/.xmodmap

I am not sure where you put it if you are running KDE or some such.

The entire ~/.xmodmap is at the bottom, but here are the lines you
might need:

clear    mod1

keycode 64 = Alt_L              
keycode 113 = Alt_R
add mod1 = Alt_L   Alt_R

Hope this helps,
eric


~/.xmodmap
########################################
! see /usr/X11R6/lib/X11/etc/xmodmap.std
!     /usr/share/xmodmap/xmodmap.us_i.xmodm     ntl

!clear    shift
!clear    lock
!clear    control
clear    mod1
!clear    mod2
!clear    mod3
clear    mod4
!clear    mod5

keycode 64 = Alt_L              
keycode 113 = Alt_R
keycode 115 = Meta_L
keycode 116 = Meta_R

add mod4 = Meta_L  Meta_R 
add mod1 = Alt_L   Alt_R

! RESULT from running xmodmap with no args
! shift       Shift_L (0x32),  Shift_R (0x3e)
! lock        Caps_Lock (0x42)
! control     Control_L (0x25),  Control_R (0x6d)
! mod1        Alt_L (0x40),  Alt_R (0x71)
! mod2        Num_Lock (0x4d)
! mod3      
! mod4        Meta_R (0x74),  Meta_L (0x73)
! mod5      

-- 
Mandrake HowTo's & More:          http://twiki.mdklinuxfaq.org
eta_L (0x73),  Meta_R
(0x74),  Alt_L (0x40),  Alt_R(
0x71)  mod5  

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to