Personal Notes File


Installation and Removal

NOTEFILE package is distributed in 7-Zip compressed format and contains two folders. Use 7-Zip or your system’s unzip facilities to uncompress the contents of the folder (windows64 or linux64) that applies 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, be careful not to overwrite the translit.txt, pscript.txt, and notefile.cmd 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 directory 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 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 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 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..., select Always use the selected program to open this kind of file and browse for the notefile.exe executable file, click OK two times.

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 no 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

Important: Please, always keep in mind the fact 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=gedit 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 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 notefile.7z 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.