Personal Notes File


Installation and Removal

NOTEFILE package is distributed in compressed format. Use 7-Zip or your system’s unzip facilities to unzip it.

Caution: While doing an upgrade by unzipping notefile.zip or notefile.tgz to a folder containing a previous version of NOTEFILE, be careful not to overwrite the translit.txt and pscript.txt file which you may have already updated.

If after following the steps below, you discover that your system cannot run the NOTEFILE executable, this may be due to not having an operating system supporting 64-bit executables. In this case, you should contact me for a 32-bit version and extract its contents onto the folder where you previously had extracted the contents of the 64-bit version. Note that the *.txt files coming with the packages are the same in all versions.

Windows Installation

Unzip the downloaded notefile.zip file into an empty directory, say C:\Notefile. Then create a shortcut for notefile.exe like this:

Name: My Personal Notes File
Target: C:\Notefile\notefile.exe C:\Notefile\mynotes.ntf
Start in: C:\Notefile\
Run: Normal window

Here mynotes.ntf is your data file. It must first be created by notefile.exe by opening the program and using the Save As... command from the File menu. This way, you will be able to open the program and your data file in one step.

You can create another shortcut for the readme.txt file as follows:

Name: Read Me
Target: C:\Notefile\notefile.exe C:\Notefile\readme.txt
Start in: C:\Notefile\
Run: Normal window

If the directory or file name contains special characters or spaces, please enclose the file names in double quotes. For example:

Target: "C:\Program Files\Notefile\notefile.exe" "C:\John's Files\My Notes.ntf"

If you want to associate the .ntf extension with the notefile.exe program, in other words, if you want to open an .ntf file by double clicking on it, use the following method:

While on Windows Explorer find one of your data (.ntf) files, right click on it, and select Open with..., Choose default program..., choose Always use the selected program to open this kind of file and browse for the notefile.exe executable file, click OK two times.

Linux Installation

Unzip the downloaded notefile.tgz file into an empty directory, say $HOME/Notefile. If you prefer command line, open a terminal and use these commands as appropriate:

mkdir ~/Notefile
cd ~/Notefile
tar -xvf ~/Downloads/notefile.tgz

Important: Please, keep always in mind the fact that Linux is case-sensitive!

To create a shortcut for the notefile executable, create a new file named $HOME/.local/share/applications/notefile.desktop with the following contents:

[Desktop Entry]
Version=1.1
Type=Application
MimeType=application/x-notefile
Name=Personal Notes File
Comment=Help: https://notefile.kadifeli.com/
Icon=/home/your_user/Notefile/notefile-d48x48.png
Exec=/home/your_user/Notefile/notefile %f
Path=/home/your_user/Notefile
Keywords=.NTF .CSV .CRD CardFile AddrFile NoteFile
Actions=readme;pscript;translit;

[Desktop Action readme]
Name=Open readme.txt File
Exec=/home/your_user/Notefile/notefile readme.txt

[Desktop Action pscript]
Name=Open pscript.txt File
Exec=/home/your_user/Notefile/notefile pscript.txt

[Desktop Action translit]
Name=Open translit.txt File
Exec=/home/your_user/Notefile/notefile translit.txt

To open your NOTEFILE document together with the notefile program, you can create another .desktop file called, for example, $HOME/.local/share/applications/notefile-mynotes.desktop with the following contents:

[Desktop Entry]
Version=1.1
Type=Application
Name=My Personal Notes File
Icon=/home/your_user/Notefile/notefile-d48x48.png
Exec=/home/your_user/Notefile/notefile /home/your_user/Documents/mynotes.ntf
Path=/home/your_user/Documents

Here mynotes.ntf is your data file stoted in your $HOME/Documents directory. It must first be created by notefile by opening the program and using the Save As... command from the File menu. Using this .desktop shortcut, you will be able to open the program and your data file in one step.

Please, note that Linux .desktop files do not accept environment variables and relative paths. So, you have to fully specify the locations of the executable and the data files. In the examples above, replace the strings /home/your_user/ with the full path of your $HOME directory. Also, if any parts of an executable path or data file name contain blank characters (something not recommended in Linux), you have to quote them in the Exec= line. For example:

Exec="/home/your_user/Notefile Program/notefile" "/home/your_user/Documents/My Notes.ntf"

To associate the .ntf (and .crd) extension with the notefile program, in other words, to open an .ntf (or .crd) file by double clicking on it, create a file called $HOME/.local/share/mime/packages/application-x-notefile.xml with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/x-notefile">
    <comment>Personal Notes File Document</comment>
    <glob pattern="*.ntf" />
    <glob pattern="*.crd" />
  </mime-type>
</mime-info>

You may have to run mkdir -p $HOME/.local/share/mime/packages/ before creating the above file. After that, run the following two commands:

update-mime-database ~/.local/share/mime
update-desktop-database ~/.local/share/applications

For more information, please look at add a custom MIME type for individual users.

Uninstalling NOTEFILE

To uninstall this program, delete the files mentioned under the zip / tgz File Contents (in the introductory topic) from the directory you created during the installation phase above (e.g., the directory C:\Notefile\ or $HOME/Notefile) and delete any created shortcuts as described above and user configuration data. You may also wish to delete any .ntf and/or .txt files you created by using this program.