Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'More modmap settings' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
More modmap settings
Authored by: Hulot on Jul 28, '03 08:34:01AM
More .modmap files: Alt+Cmd for accents, Swap control and command ... please unset key equivalents under X11 in the Preferences in AppleX11Beta3.

Using the pico editor in Terminal.app from /Applications -> Utilities, save the script .xmodmap to your home folder, remove file to revert to default. Quit X11 and restart, start OpenOffice.org103.

A. Alt to access Menus, AppleCmd for accented letters etc.:
! Alt       -->  acess Menus with underscore
! AppleCMD  -->  type accented letters etc (was Alt)

clear Mod1
clear Mod2
keycode 63 = Mode_switch
keycode 66 = Alt_L
keycode 69 = Alt_R
add Mod1 = Alt_L
add Mod1 = Alt_R
add Mod2 = Mode_switch
B. Alt key for menus, Control type accents, AppleCmd is Modifier for shortcuts:
! -Modifier-   function   
! Alt          -->  access Menus with underscore
! AppleCmd     -->  for shortcuts (was control)
! Control      -->  type accents  (was alt)

clear control
clear Mod1
clear Mod2
keycode 63 = Control_L
keycode 66 = Alt_L
keycode 67 = Mode_switch
keycode 69 = Alt_R
keycode 70 = Mode_switch
add control = Mode_switch
add Mod1 = Alt_L
add Mod1 = Alt_R
add Mod2 = Control_L
There is one drawback with swaping Control with AppleCmd. The following keys still work in OOo and X11B3:
AppleCmd  +         H   Hide Applicaton
AppleCmd  + Alt   + H   hide others
AppleCmd  + Shift + 3   Screenshot
AppleCmd  + Shift + 4   Scrennshot window etc.
AppleCmd  + Alt   + D   show/hide Dock
AppleCmd  + Shift + Q   Logout
AppleCmd  + Alt   + F12 Sleep
Keep this in mind if you customize the keys in OpenOffice.org103. In OOo, the AppleCmd is called Mode_switch. Don't wonder, it's the correct key.

Warning: Use this .xmodmap to patch the keys only if OpenOffice is your only application in AppleX11Beta3!! The last version can cause strong behaviour in X11, because the control is the main modifier like AppleCMD in MacOS.

I recommand to use the Version A. I test it with X11Beta3. Maybe someone can test it with OrborOSX or XDarwin.

Hulot

[ Reply to This | # ]