KJots/Gendan slettede KJots-bøger

From KDE Wiki Sandbox
Revision as of 10:19, 18 December 2010 by Claus chr (talk | contribs) (Importing a new version from external source)

Nogle gange kan en bruger komme til at slette en KJots-bog ved et uheld. Dette er upraktisk, men nu kan data genskabes.

KJots automatically saves backup files of your books each time it is closed down. When you delete a book, the backup files remain. Note that old backup files will be removed 7 days after the original book is deleted.

Note
This page relates to KJots in KDE SC 4.2 beta2 and later releases.


KJots data files and backup files are stored in your local kde data directory. Usually this is

~/.kde4/share/apps/kjots

Open that directory in Dolphin.

Note
If that directory does not exist on your system, try
dolphin `kde-config --localprefix`/share/apps/kjots
from the command line.


Use the Tools menu to open the find files dialog, and switch to the Content tab. Enter a phrase you know to be in the deleted book, and several backups of that book should be found. The name of the file is not relevant, but you can find the most up to date backup by looking at the last modified time of the files.

Simply copy the backup file to your home directory and open KJots. Use the file menu to import the backup book back into KJots.