What should I do if I forget the lock password?
You can lock the WonderPen’s interface to prevent others from viewing or modifying your documents.
If you forget the password accidentally, you can delete the password in the following way.
Version 2.5.9 and later
Section titled “Version 2.5.9 and later”If you are using version 2.5.9 or later, you can delete the following files to reset the lock password:
-
Windows:
C:\Users\{USER_NAME}\AppData\Roaming\WonderPen\wp_lock.json -
macOS (Mac App Store version):
/Users/{USER_NAME}/Library/Containers/com.tominlab.wonderpen/Data/Library/Application Support/WonderPen/wp_lock.json -
macOS (official website download version):
/Users/{USER_NAME}/Library/Application Support/WonderPen/wp_lock.json -
Linux:
~/.config/WonderPen/wp_lock.json
Version 2.5.8 and before
Section titled “Version 2.5.8 and before”The method of resetting the lock password for versions 2.5.8 and earlier is a little more complicated and requires manual modification of the configuration file. Here are the specific steps:
-
Find the WonderPen configuration file.
If you are using Windows, this file is usually located at:
C:\Users\{USER_NAME}\AppData\Roaming\WonderPen\wp_data\{UID}\cfg_db\dict\cfg.jsonIf you are using macOS and downloaded and installed from the official website, this file is usually located at:
/Users/{USER_NAME}/Library/Application Support/WonderPen/wp_data/{UID}/cfg_db/dict/cfg.jsonIf you are using the Mac App Store version, this file is usually located at:
# 2.5.0 or later /Users/{USER_NAME}/Library/Containers/com.tominlab.wonderpen/Data/Library/Application Support/WonderPen/wp_data/{UID}/cfg_db/dict/cfg.json # 2.4.7 or earlier: /Users/{USER_NAME}/Library/Containers/im.type/Data/Library/Application Support/WonderPen/wp_data/{UID}/cfg_db/dict/cfg.jsonNote the variables above:
{USER_NAME}is your computer login username{UID}is the WonderPen user ID. If you are not currently logged in, this value is_local. If you are logged in, it is a random-looking string.
-
Open the
cfg.jsonfile with your favorite text editor. This file is a text file. If you don’t know what editor to use to open it, just use the Notepad that comes with the system.You can modify this
JSONfile directly, or you can first use third-party tools to format the JSON content for better reading. -
Look for the line where
auto_lockis located, as shown in the following image:
auto_lock If you have formatted this
JSONfile, you should see something like this:
auto_lock The content of this line is like:
"auto_lock": true, which is line 24 in the above figure. Note that each user’s personalized configuration content is different, so in your configuration file, this item may not be on line 24. -
Change the
truein the"auto_lock": truefound in the previous step tofalse, that is:"auto_lock": false, save it, and restart WonderPen, the automatic lock will be closed at this time, you can go to Settings to set a new password.
After the above steps, you should be able to turn off the automatic lock.
In addition, there is also a field called lock_password in the configuration, which stores the hashed value of the lock screen password, so even if your configuration file is seen by others, others cannot know your lock password.
You can also delete the lock_password field, or set its content to an empty string "", so that the lock screen password will be cleared. After restarting the application, click the unlock button directly on the lock screen to enter.