NeoOffice Menu and Keyboard Shortcuts

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 09:08, 2 January 2005 (edit)
Waldo ( | contribs)
(in from old wiki)
← Previous diff
Revision as of 07:38, 21 January 2005 (edit) (undo)
Sardisson (Talk | contribs)
(update the menu/kybd configs page)
Next diff →
Line 1: Line 1:
== Customizing the NeoOffice/J menus and keyboard shortcuts == == Customizing the NeoOffice/J menus and keyboard shortcuts ==
- 
-=== Use a Mac-like Font === 
- 
-# From the '''Tools''' menu, choose '''Options'''. 
-# In the left-hand column, if the box next to '''NeoOffice/J''' is a plus sign (+), click it once to reveal its sub-categories. 
-# Select the '''Fonts''' sub-category. 
-# On the right portion of the window, check the box next to '''Apply Replacement Table''' if it is not already checked. 
-# Use the pull-down menus to replace '''Andale Sans UI''' with '''Lucida Grande'''. 
-# Click the check box to the right. 
-# Press '''OK''' at the bottom of the window. 
- 
-=== Use a Mac-like Background Color === 
- 
-# From the '''Tools''' menu, choose '''Options'''. 
-# In the left-hand column, if the box next to '''NeoOffice/J''' is a plus sign (+), click it once to reveal its sub-categories. 
-# Select the '''Appearance''' sub-category. 
-# Under '''Application Background''', change to '''Grey 10%'''. 
-# 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 === === Pre-Made Menu & Keyboard Configurations ===
Line 27: Line 7:
http://homepage.mac.com/sardisson/neoj/neoj_men-kybd-cfgs.sit 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 {{~/Library/NeoOfficeJ-1.1/user/config/soffice.cfg}} 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 Neo/J or for Writer, 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).
 + 
These are English-only and Writer & "Neo/J global" only—nothing for Calc, Impress, Draw, etc. 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.
-You can create your own configurations, or those for the other application modules, by using the relevant Tools>Configure dialogues.+=== More about customizing [[NeoJInfo|NeoOffice/J]] keyboard shortcuts ===
- +
-=== More about customizing NeoOffice/J keyboard shortcuts ===+
''From a post in the [http://trinity.neooffice.org/modules.php?name=Forums Trinity forums]'' ''From a post in the [http://trinity.neooffice.org/modules.php?name=Forums 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?+* 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. 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.+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 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. 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.
Line 50: Line 29:
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à! 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 [[NeoJScreenshots|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 {{NSUserKeyEquivalents}} key in the {{~/Library/Preferences/org.neooffice.neooffice.java.plist}} to remove the shift ($) reference.+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 [[NeoJScreenshots|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 <tt>NSUserKeyEquivalents</tt> key in the <tt>~/Library/Preferences/org.neooffice.neooffice.java.plist</tt> to remove the shift ($) reference.

Revision as of 07:38, 21 January 2005

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://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 ~/Library/NeoOfficeJ-1.1/user/config/soffice.cfg 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 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 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 NSUserKeyEquivalents key in the ~/Library/Preferences/org.neooffice.neooffice.java.plist to remove the shift ($) reference.

Personal tools