More OSX directory for preference files

_____________________________

IF YOU INSTALL MAC-OSX AMAYA AND HAVBE PREVIOUSLY USED AMAYA YOU MUST  
REMOVE ANY ~amaya/amaya.keyboard files as even though they are not  
amaya.kb-mac files, they seem to affect Amaya, and override the  
default files in eth application such as
/Applications/Amaya.app/Contents/MacOS/Amaya-9.3/config ~/.amaya

This is why I was missing a lot of shortcuts.

Where ARE the preference files for OSX?
What is the algorithm for keyboard files?
Are they merged, so can one just override with a few lines in a  
personal file?
What is looked for in the home directory?
Can I keep separate files for different operating systems?

My amaya.keyboard has
Shift Alt <Key>L:                  LinkToPreviousTarget()
Shift Ctrl <Key>L:                 CreateOrChangeLink()
Shift Ctrl <Key>D:                 DeleteAnchor()
Shift Ctrl <Key>T:                 CreateTarget()

but these are not available, Shift Ctrl L opens a split screen  
display of the links in the document.  Ahh... in
/Applications/Amaya.app/Contents/MacOS/Amaya-9.3/config
there is a file amaya.kb-mac

This says

"# - Each specific shortcut contains only one key in
# combination with one or several Modifier key(s)."

# Unlike Windows and Linux versions, shortcuts
# for Mac OSX are not managed by the application
# but by the toolkit (wxWidgets in this case)
# So, the syntax to define user's specific shortcuts
# has to follow some rules :
# - The Modifier key 'Command' (with the Apple
# logo) is named 'Ctrl'.
# - The Modifier key 'Option' is named 'Alt'.
# - Each specific shortcut contains only one key in
# combination with one or several Modifier key(s).

However, for example link is Ctrl/l Ctrl/l
The line:
	Ctrl <Key>w:                       AmayaCloseWindow()
seems to map Command/w onto close window OK.

Maybe two-key sequences use Control key and 1 char use Command key??
What is the story here?

It also says:

# Some shortcuts are also used by the operating systems
# Refer to 'Keyboard Shortcuts Quick Reference'
# http://developer.apple.com/documentation/UserExperience/Conceptual/ 
OSXHIGuidelines
# before to define your own shortcuts.

True. Good link.

Tim

Received on Sunday, 29 January 2006 00:21:53 UTC