NeoOffice Menu and Keyboard Shortcuts

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 04:12, 5 September 2005 (edit)
Sardisson (Talk | contribs)
m (Reverted edit of 123, changed back to last version by Sardisson)
← Previous diff
Revision as of 10:11, 3 October 2005 (edit) (undo)
Sardisson (Talk | contribs)
m (update URLs)
Next diff →
Line 5: Line 5:
Menu and keyboard configuration files to more closely approximate standard Mac OS X menu and keyboard shortcut settings can be found at Menu and keyboard configuration files to more closely approximate standard Mac OS X menu and keyboard shortcut settings can be found at
-http://homepage.mac.com/sardisson/neoj/neoj_men-kybd-cfgs.sit+http://www.mindspring.com/~sardisson/neoj/neoj_men-kybd-cfgs.sit
You can either apply these using Tools>Configure (be sure to select the appropriate radio button in the keyboard section, either for NeoOffice/J globally or for the appropriate module, when importing those settings) or by unzipping the exported settings files and dropping the .xml files in your <tt>~/Library/NeoOfficeJ-1.1/user/config/soffice.cfg</tt> folder (not sure this will work). You can either apply these using Tools>Configure (be sure to select the appropriate radio button in the keyboard section, either for NeoOffice/J globally or for the appropriate module, when importing those settings) or by unzipping the exported settings files and dropping the .xml files in your <tt>~/Library/NeoOfficeJ-1.1/user/config/soffice.cfg</tt> folder (not sure this will work).
Line 33: Line 33:
See the [[NeoOffice/J_Screenshots|screenshots]] for examples of NeoOffice/J with modified keyboard shortcuts and menus. See the [[NeoOffice/J_Screenshots|screenshots]] for examples of NeoOffice/J with modified keyboard shortcuts and menus.
-{{imageboxRight|[http://homepage.mac.com/sardisson/neoj/neoj11_quickstart_cust.jpg http://homepage.mac.com/sardisson/neoj/neoj11_quickstart_cust_th.gif]|"Quickstart" items assigned shortcuts<br>via System Preferences|Customized "Quickstart" Shortcuts}}+{{imageboxRight|[http://www.mindspring.com/~sardisson/neoj/neoj11_quickstart_cust.jpg http://www.mindspring.com/~sardisson/neoj/neoj11_quickstart_cust_th.gif]|"Quickstart" items assigned shortcuts<br>via System Preferences|Customized "Quickstart" Shortcuts}}
==== Adding shortcuts to the "Quickstart" menu items ==== ==== Adding shortcuts to the "Quickstart" menu items ====
[http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=9143#9143 A brief discussion of the issues]; more logical and streamlined answer to come :-) [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=9143#9143 A brief discussion of the issues]; more logical and streamlined answer to come :-)

Revision as of 10:11, 3 October 2005

Contents

Customizing the NeoOffice/J menus and keyboard shortcuts

Pre-Made Menu & Keyboard Configurations

Menu and keyboard configuration files to more closely approximate standard Mac OS X menu and keyboard shortcut settings can be found at

http://www.mindspring.com/~sardisson/neoj/neoj_men-kybd-cfgs.sit

You can either apply these using Tools>Configure (be sure to select the appropriate radio button in the keyboard section, either for NeoOffice/J globally or for the appropriate module, when importing those settings) or by unzipping the exported settings files and dropping the .xml files in your ~/Library/NeoOfficeJ-1.1/user/config/soffice.cfg folder (not sure this will work).

N.B. These are English-only; the underlying OpenOffice.org code apparently rewrites entire menus rather than just including the modifications, so English menu item text replaces the native menu item text.

You can create your own configurations by using the relevant Tools->Configure dialogues. Be aware that there is an OpenOffice.org bug where editing any keyboard shortcut causes Cmd-C to become unassigned from the Edit->Copy menu item. The work-around is to delete the [Copy] command assignment from the Copy and Cmd-Insert keystrokes in the NeoOffice/J (global) shortcuts (this has already been done in the premade shortcuts available here).

More about customizing NeoOffice/J keyboard shortcuts

From a post in the Trinity forums

In Tools->Configure->Keyboard, it appears that all the available keystrokes are pre-entered; one cannot add to them. Thus, one can't apply cmd-\ or cmd-< or to an action. Further, there are no optioned (alt-ed) modifiers available. I read in one of the other threads that there was a problem including the option/alt modifier because of Unicode confusion; however, I don't see how it could be any different than the shift modifier. But then, I'm not the programmer. Question: Any way to hack OOo or Neo/J to add more keystroke combinations?

There are a couple of things to address here.

First, about the option key. Other platforms use their "equivalent" of the option key ("alt" on Windows) as a "command-producing" key shortcut, i.e., they'd use opt-s for save (the Mozilla folks seem pretty bad about trying to assign opt-key as command shortcuts!). On the Mac, opt-key is reserved for keyboard entry (opt-s is ß)—sort of like shift, opt is only a modifier key, not a "command" key. Cmd-opt-key and Shift-cmd-opt-key *are* valid command shortcuts on the Mac, though.

I believe it was Ed who posted somewhere here on trinity that he had lobbied the OOo folks to allow Cmd-opt-key to be a valid command shortcut for the Mac and the OOo folks either ignored him or denied the request. The fact that the Mac allows ,><\ and all sorts of other keys to be valid shortcuts (when paired with cmd, of course), also seems to be lost on the OOo folks making these decisions.

Using System Preferences to add additional keystrokes

However, all is not lost for users of Neo/J (SOL with OOo/X11, though). Now that we have Aqua menus, you can use the OS's ability to customize keyboard shortcuts to assign other keys (as long as they don't conflict with existing shortcuts in OOo).

First, make sure NeoOffice/J is not running. Then open the "Keyboard & Mouse" pane of the System Preferences and click on the "Keyboard Shortcuts" tab. Click on the "Application Shortcuts" item in the box, and then the + button at the bottom left. Select Neo/J as your application, enter the name of the Neo/J menu item you want to assign a shortcut to and then the desired shortcut. (Be sure to match the spelling and ... or … exactly). Restart Neo/J and voilà!

See the for examples of NeoOffice/J with modified keyboard shortcuts and menus.

Customized "Quickstart" Shortcuts


http://www.mindspring.com/~sardisson/neoj/neoj11_quickstart_cust_th.gif
"Quickstart" items assigned shortcuts
via System Preferences

Adding shortcuts to the "Quickstart" menu items

A brief discussion of the issues; more logical and streamlined answer to come :-)

Issues:

  • Sharing/fighting over shortcut-command assignments
  • Context-sensitive Cmd-N
  • Hacking around "reserved" shortcuts
Personal tools