How do I copy my Nisus Writer preferences between Macs?

Moderator: faq-editor

Post Reply
User avatar
martin
Official Nisus Person
Posts: 4289
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

How do I copy my Nisus Writer preferences between Macs?

Post by martin » 2015-02-25 15:29:42

In older versions of Mac OS X, duplicating preferences from one Mac to another only required copying an application's preferences file. This file stored most of the settings you see in your Nisus Writer preferences window. However, things are now more complicated.

Starting with Mac OS X 10.9 Mavericks, the system caches application preferences in memory (RAM). This means that the preferences file on disk will be ignored after you turn on your Mac. Any changes to the preferences files while your Mac is turned on will also be ignored. To synchronize preferences between computers you will need to use the Terminal application.

How To Copy All Preferences Between Your Computers
To copy all of your Nisus Writer Pro (NWP) preferences between two Macs:
1. On the Mac which has the preferences you want to duplicate, quit NWP if it is running.
2. Launch Apple's Terminal utility application.
3. In the Terminal, at the command line prompt, paste the following command:

Code: Select all

defaults export com.nisus.NisusWriter ~/Desktop/NisusWriterPrefs.plist
4. Press the Return key to execute the command.
5. If the command was entered correctly, you should see a new file on your Desktop.
6. Copy the new NisusWriterPrefs.plist file to the destination Mac's Desktop.
7. On the destination Mac, quit NWP if it is running.
8. Still on the destination Mac, launch Terminal, and paste the following command:

Code: Select all

defaults import com.nisus.NisusWriter ~/Desktop/NisusWriterPrefs.plist
You should now be able to relaunch NWP on the destination Mac and see all of your preferences in effect.

NOTE: some application settings are stored outside of the preferences. For example, the Nisus New File template is a separate document that stores the settings used for new documents (eg: default font, window size, etc).


How To Copy Just Keyboard Shortcuts
If you only want to copy your keyboard shortcuts from one Mac to another, without affecting other preferences, you can use a modified list of steps to clone just that single preference:

1. On the Mac which has the keyboards shortcuts you want to duplicate, quit NWP if it is running.
2. Launch Apple's Terminal utility application.
3. In the Terminal, at the command line prompt, paste the following command:

Code: Select all

defaults write ~/Desktop/NisusKeys.plist 2:com.nisus.Menus.keyequivalents "$(defaults read com.nisus.NisusWriter 2:com.nisus.Menus.keyequivalents)"
4. Press the Return key to execute the command.
5. If the command was entered correctly, you should see a new file on your Desktop.
6. Copy the new NisusKeys.plist file to the destination Mac's Desktop.
7. On the destination Mac, quit NWP if it is running.
8. Still on the destination Mac, launch Terminal, and paste the following command:

Code: Select all

defaults import com.nisus.NisusWriter ~/Desktop/NisusKeys.plist
You should now be able to relaunch NWP on the destination Mac and see all of your keyboard shortcuts in effect.


How To Copy Other Settings Between Your Computers
Some settings in Nisus Writer are not stored by OSX's preferences, but instead reside in a special place on disk. These settings include customizations to languages, special characters, and the Document Manager. You can find the files that store these special settings inside Nisus Writer's sandbox container, located at:

Code: Select all

~/Library/Containers/com.nisus.NisusWriter/Data/Library/Application Support/Nisus Writer Pro
You can quit Nisus Writer, copy these files between your Macs, and then relaunch Nisus Writer to have it pick up the copied settings.

Post Reply