CLI
-c: path to the configuration file
See the configuration section for more details. Defaults to no configuration. Example:
klunok -c ~/.config/klunok/config.lua
-w: path to a directory that should be monitored for edited files
Can be specified more than once. Files in subdirectories, subsubdirectories, etc. are also included. The directory will be bind-mounted to itself if it's not already a mount point, a detailed explanation of the mechanism is in the mounts section. Defaults to the current working directory. Example:
klunok -w /home/nazar -w /etc/nixos
-e: path to a directory that contains executable files
Klunok can recognize a text editor, office suite, vector graphics editor, and so on only if the executable file of the text editor (office suite, …) is within one of these directories (including subdirectories, subsubdirectories, …).
Can be specified more than once. The directory will be bind-mounted to itself if it's not already a mount point, a detailed explanation of the mechanism is in the mounts section.
Defaults to / and, if you have
installed Klunok with the Nix package manager, /nix/store.
Usually, Linux distributions place all the executable files in several well-known
directories, such as /bin or /usr/bin.
If you know for sure which directories contain executable files of text editors
(office suites, …), it's a good security practice to list them explicitly, as in the example:
klunok -e /usr/bin -e /nix/store
-d: path to a file or directory whose owner's identity will be used when running Klunok
Even though Klunok must be started as root to properly initialize, Klunok will not continue running as root after initializing. Instead, it will assume the identity of the owner of the provided file or directory. This way, most of the code of Klunok doesn't run as root, which is a good security practice.
Defaults to the current working directory. Example:
klunok -d /home/nazar
-f: path prefix for flush acknowledgements
≥ v2.0.0
Documentation for this feature is under construction.
-h: print help
Example:
klunok -h
Klunok 1.3.0, Lua 5.4.7, compiled with Nix support
Usage: klunok [-h | -v | -y | -c PATH | -d PATH | -w PATH | -e PATH | -f PREFIX]...
Use -y to display copyright and license information
User manual: https://klunok.org/
-v: print version
Example:
klunok -v
Klunok 1.3.0, Lua 5.4.7, compiled with Nix support
-y: print copyright and licenses
≥ v2.0.0
Example:
klunok -y
Klunok is Copyright (C) 2022-2026 Klunok authors
Licensed under GNU General Public License, version 3 (see below).
Source code for this release is available at https://github.com/Kharacternyk/klunok