x11 xmodmap

hi everyone
i use a x11 programm (texmacs)
i want to reconfigure the mapping
- i have tried to save my xmodmap file in the home directory with names such as ".Xmodmap" or others, but in no case, x11 seemed to take this file in consideration automatically at the lauching; so i type in the commande line "xmodmap(space)" and i glide the icon of the file and it works but it is not comfortable
- my aim is: to affect the "C-" operator to the apple key, to affect the "mod1" operator to the control key, to let the alt key and the shift key make their work.
- with xev i have recognized the numbers of the keys
! 63 71 pomme
! 66 alt
! 67 ctrl
now i dont know what i have to type:
-- first possibility --
clear Mod1
keycode 63 = Meta_L
add Mod1 = Meta_L
-- second possibility --
clear Mod1
keycode 63 = Alt_L
add Mod1 = Alt_L
-- third possibility --
clear Mod1
keycode 63 = Mode_switch
add Mod1 = Mode_switch

is'nt there a quicker means to do this ?
can i not type for example
add Mod1 = keycode 67
add Control = keycode 63 ?

Vincent

imac intel, Mac OS X (10.5.7)

Posted on Nov 24, 2009 3:43 AM

Reply
1 reply

Nov 24, 2009 6:25 AM in response to imanuel

Do you have a .xinitrc, and does it invoke your xmodmap file?

If you do not have a .xinitrc, I would copy the one from /usr/X11/lib/X11/xinit/xinitrc and use that as your starting template (or at least on Leopard it is here).

It has been a long time since I played with .xinitrc (not to mention .xmodmap files), and Apple keeps changing the way X11 works, so I may be a bit rusty on where everything is stored and what needs to be done to get it invoked.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

x11 xmodmap

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.