NeoOffice Menu and Keyboard Shortcuts

From NeoWiki

(Difference between revisions)
Jump to: navigation, search

Waldo ( | contribs)
(in from old wiki)
Next diff →

Revision as of 09:08, 2 January 2005

Contents

Customizing the NeoOffice/J menus and keyboard shortcuts

Use a Mac-like Font

  1. From the Tools menu, choose Options.
  2. In the left-hand column, if the box next to NeoOffice/J is a plus sign (+), click it once to reveal its sub-categories.
  3. Select the Fonts sub-category.
  4. On the right portion of the window, check the box next to Apply Replacement Table if it is not already checked.
  5. Use the pull-down menus to replace Andale Sans UI with Lucida Grande.
  6. Click the check box to the right.
  7. Press OK at the bottom of the window.

Use a Mac-like Background Color

  1. From the Tools menu, choose Options.
  2. In the left-hand column, if the box next to NeoOffice/J is a plus sign (+), click it once to reveal its sub-categories.
  3. Select the Appearance sub-category.
  4. Under Application Background, change to Grey 10%.
  5. Press OK at the bottom of the window.

This makes the blank areas in a window look far, far less Win95.

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://homepage.mac.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 Neo/J or for Writer, when importing those settings) or by unzipping the exported settings files and dropping the .xml files in your folder (not sure this will work).

These are English-only and Writer & "Neo/J global" only—nothing for Calc, Impress, Draw, etc.


You can create your own configurations, or those for the other application modules, by using the relevant Tools>Configure dialogues.

More about customizing NeoOffice/J keyboard shortcuts

From a post in the Trinity forums

  • In 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 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 and Shift-cmd-opt *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.

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). 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à!

Using the combination of the OOo-native menu editing and the System Preferences method (plus a little hack), I was able to add a "Preferences…" item to my Neo/J Edit menu (Mac OS 7/8/9 style is better than Windows!) and assign it the standard cmd-, shortcut. (See the screenshots.) The hack is because that keystroke is assigned by default in Mac OS X (to Preferences…), the OS won't let me assign it to prevent conflicts! You can assign it to something eles (shift-cmd-,) and then edit the appropriate key in the to remove the shift ($) reference.

Personal tools