|
|
#1 |
|
Triple-A Player
Join Date: Jan 2002
Posts: 63
|
XDarwin and Option Key as Meta?
Hi.
In XDarwin, the Comand Key (aka Apple Key) acts as the Meta Key for emacs (X version). I would like to use the Option key as Meta, and was wondering if someone has any suggestions on how to switch 'em (short of hacking the source code). -Pie |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
EatingPie,
This is something you have to fix with xmodmap. You can put xmodmap commands into your .xinitrc file or create a file .Xmodmap in your home directory and then make sure it is read at startup of XDarwin. Try by writing an ~/.Xmodmap file with one (a or b) of the following lines: Code:
a) If you want to set the Meta key to Alt:
!Right Alt key is used to Meta key
keysym Mode_switch = Escape
keysym Meta_R = Escape
Code:
b) if you want the alt key to work as the meta key:
keysym Mode_switch = Escape
Code:
xmodmap $HOME/.Xmodmap Cheers... Last edited by sao; 12-05-2002 at 10:48 AM. |
|
|
|
|
|
#3 |
|
Triple-A Player
Join Date: Jan 2002
Posts: 63
|
Thanks! That works.
The obvious solution, though I have never been good at Keymapping, and certainly NEVER would have figgered it out myself. -Pie |
|
|
|
![]() |
|
|