Hidden preferences

There are a few settings in DEVONthink not available through the application Settings. Most of them are intended to facilitate customer support but they might be interesting for you as well.

How to use the hidden preferences

You can toggle or set values for hidden preferences using the defaults command in the Terminal application or clicking the special ON and OFF links for the desired setting. When setting these preferences via the Terminal, DEVONthink should not not be running or the changes may not be preserved when quitting.

To set a preference using the Terminal, noting the commands are case-sensitive, they are written like this (excluding the parentheses): defaults write com.devon-technologies.think (the preference name) (the preference type) (the value). For example, the following command enables the preference by setting a -bool (boolean type) to TRUE:

Terminal
defaults write com.devon-technologies.think ShouldScaleAttachedImages -bool TRUE

Some hidden preferences require you to specify a numeric value, e.g., CounterDigits. These types of preferences also need to be set via a Terminal command. Use the -int (integer) type before specifying the number, like so:

Terminal
defaults write com.devon-technologies.think CounterDigits -int 3

Other preferences use a -string type. For example, there is a preference to allow DEVONthink to detect other plain text formats as plain text, AdditionalPlainTextExtensions. As this command replaces the existing list of additional plain text extensions, we recommend that you first read the current list (empty by default) before adding your own to them.

Terminal
defaults read com.devon-technologies.think AdditionalPlainTextExtensions2014-07-31 08:25:27.101 defaults[21950:3312262] The domain/default pair of (/Users/eb/Library/Preferences/com.devon-technologies.think AdditionalPlainTextExtensions) does not exist# This "error" shows there are no additional formats specified.defaults write com.devon-technologies.think AdditionalPlainTextExtensions -string .otl.todotxtdefaults read com.devon-technologies.think AdditionalPlainTextExtensions.otl.todotxt

Available hidden preferences keys

Here is a list of the available hidden preferences. Each one includes a description, its data type, and an example value: