Personal Notes File


Installation and Removal

The NOTEFILE package is distributed as a 7-Zip compressed archive and contains two folders. Use 7-Zip or your system’s unzip tools to uncompress the contents of the folder (windows64 or linux64) that corresponds to your system into an empty folder on your local computer.

Caution: While doing an upgrade by unzipping notefile.7z to a directory containing a previous version of NOTEFILE, take care not to overwrite the translit.txt, pscript.txt, and notefile.cmd files if you have already modified them.

If after following the steps below, you discover that your system cannot run the NOTEFILE executable, this may be because your operating system does not support 64-bit executables. In this case, you should contact me for a 32-bit version and extract its contents into the directory where you previously extracted the contents of the 64-bit version. Note that the *.txt files included in the packages are the same in all versions.

Windows Installation

Unzip the contents of the windows64 folder of the downloaded notefile.7z file into an empty directory, say C:\Notefile. Then create a shortcut for notefile.exe as shown below:

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 opening NOTEFILE and using the Save As... command from the File menu. This allows opening both 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 in Windows Explorer find one of your data (.ntf) files, right-click on it, and select Open with..., Choose default program..., select Always use the selected program to open this kind of file and browse for the notefile.exe executable file, click OK twice.

On Windows 10 you will have to click on More apps ↓ and scroll down to Look for another app on this PC, before selecting the right application. Please do not forget to select Always use this app to open .ntf files.

Linux Installation

Unzip the contents of the linux64 folder of the downloaded notefile.7z 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
$ 7z e ~/Downloads/notefile.7z linux64

Check that the created executable file notefile has execute bit set. Hint: Use the command ls -l notefile and if necessary the command chmod +x notefile in current directory.

Important: Please always keep in mind that most Linux file systems are 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;cmdfile;

[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

[Desktop Action cmdfile]
Name=Open notefile.cmd File
Exec=xdg-open notefile.cmd

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 stored in your $HOME/Documents directory. It must first be created by opening NOTEFILE 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 support environment variables or 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 spaces (strongly discouraged 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 refer to Add a custom MIME type for individual users.

Uninstalling NOTEFILE

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