Linux Companion App (LNXlink)

So I’m a bit lost on which guide to follow on how to install/configure.

I find 3 different installation methods, pipx, pip3 and curl/sh.

Then do i need to edit the config.yaml, lnxlink.yaml or use the lnxlink -c config.yaml

The curl command will install all the side packages that are needed, so I would suggest using this.
It will create a config.yaml file which you can edit it to enable/disable modules or change any other settings you want. It is located at the directory you run the curl command.
It will also install LNXlink as a systemd service which will start it, when the OS boots.

Thanks, got it working but running into some errors:

2025-02-04 20:20:16,561 [6439:Thread-73.helpers.syscommand.35] [ERROR]  Error with command: xrandr --verbose --current  (Can't open display)

2025-02-04 20:25:15,350 [7086:paho-mqtt-client-.helpers.syscommand.35] [ERROR]  Error with command: xset -display None dpms force off (xset:  unable to open display "None")

Using shell command at the moment and ror turning on/off the screen i had to add :0.0 to get it working. Not sure if i can change this in lnxlink?

'xset -display :0.0 dpms force on' 
'xset -display :0.0 dpms force off' 

But don’t know why the status call isn’t working.

You will need to have the display_env module enabled for the screen_onoff to work.

1 Like