keyboard keymap modification



I recently upgraded from RH9 to FC2 and the keyboard mapping seems to have changed. Specifically the Alt_L key no longer functions as the Meta key in my favorite editor (Code Crusader). If I execute xmodmap -e "keysym Alt_L = Meta_L", the problem is fixed. I'd like to have this mod done at login. After reading the GDM configuration documentation, I followed /etc/X11/gdm/Sessions/GNOME to /etc/X11/xdm/Xsessions which indicated it would execute 'xmodmap ~/.Xmodmap' if nothing caused XKB_IN_USE to be set. But adding ~/.Xmodmap gave a warning on login: 'You have a keyboard remapping file ... whose contents will now be ignored.' The menu preferences->keyboard does not offer the mod I need. I see that xmodmap use is deprecated in favor of the XKB extension but I haven't been able to find documentation about out how to use setxkbmap to make this change. I know I could just put an xmodmap command in .bashrc or something but I'd like to know if there is a recommended way to get this done on login.

Thanks for any help,
Barry




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]