📂Configuration

Config file location

Your config file is located at the directory you were when you first run LNXlink. This can be anything you write like of the config.yaml that I suggested. You can find where it is from the systemd service:

cat ~/.config/systemd/user/lnxlink.service | grep -i ExecStart

Modules

By default all modules are automatically loaded. This happens when the modules section is empty like this:

modules:

You should select the ones you want to load. All supported modules can be found here and the configuration should look like this:

modules:
- notify
- camera_used
- idle
- keep_alive
- shutdown
- brightness

Custom module

You can create custom modules and import them to your configuration with their full path. The name has to be unique so that it won't conflict with another python library.

Code examples can be found here and this is how to add the mytest module to your configuration.

custom_modules:
- /home/user/mytest.py

3rd party custom modules:

Exclude Modules

In case you have empty modules config which auto loads all the available modules, you can have this option that excludes modules from auto loading:

exclude:
- screenshot
- webcam

Last updated